Charles-François Natali <neolo...@free.fr> added the comment: > With this patch in place the inactive memory on my system stays (low) > and flat, without it it rises until it maxes out all available memory > and then starts paging.
It's often a desired behaviour: paging out unused memory makes room for a bigger page cache, which yields better performance. Also, it's a simple heuristic to know which pages are actually in use. Linux has a systcl that can be used to tune the swap tendency (vm.swappiness). Anyway, since it seems to improve performance under some workloads and it's just a constant, I've applied your patch. Thanks! ---------- nosy: +neologix resolution: -> fixed stage: -> committed/rejected status: open -> closed type: resource usage -> behavior versions: +Python 3.3 -Python 2.6, Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13324> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com