I also didn't found KSM to be big memory saver, I guess that preforking nature of uWSGI already provides big savings - interpreter memory is already deduplicated since fork() is handled by copy-on-write under linux.
2014-06-13 23:20 GMT+02:00 Igor Katson <[email protected]>: > Hi, > > I hoped KSM could severely reduce the memory consumption, as lots of > vassals are using the same codebase. > > But after launching multiple vassals with ksm=10, the value > of /sys/kernel/mm/ksm/pages_shared is around 300, which means roughly 1 > megabyte of shared memory, while the apps themselves just after loading > occupy more than 100MB. > > What may the reason be, of such a low percentage of deduplicatable memory? > > Thanks! > > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi > > -- Łukasz Mierzwa
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
