LWN.net Logo

Better active/inactive list balancing

Better active/inactive list balancing

Posted May 4, 2012 8:40 UTC (Fri) by hnaz (subscriber, #67104)
In reply to: Better active/inactive list balancing by geuder
Parent article: Better active/inactive list balancing

You can get the list sizes more easily:

nassau:~$ grep active /proc/vmstat
nr_inactive_anon 267
nr_active_anon 392461
nr_inactive_file 258286
nr_active_file 416048

Or even more detailed from /proc/zoneinfo, as each memory zone has its own set of lists.

The inactive > active rule is only enforced during reclaim, we don't mind the list sizes on idle systems.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds