Messages in this thread | | | Date | Thu, 28 Oct 2010 12:05:32 +0900 | From | KAMEZAWA Hiroyuki <> | Subject | Re: Tweaking swap algorithm under constrained memory usage |
| |
On Wed, 27 Oct 2010 19:58:00 -0700 Pawan Singh <pawan@pinger.org> wrote:
> > > > Recent kernel (2.6.28-) has splited LRUs as > > - active/inactive ANON > > - active/inactive FILE > > - LOCKED (UNEVICTABLE) ---(new) > > Thanks for the reply. Does that mean that in 2.6.28 kernel, kswapd > will modify its thresholds so that it only looks at active/inactive > ANON? >
kswapd's threshold is not modifled. But because UNEVICTABLE LRU is not scanned by kswapd, time consumption of kswapd is dramatically reduced.
About kswapd trigger, IIUC, /proc/sys/vm/min_free_kbytes is one.
Thanks, -Kame
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |