[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101028120532.bf48b3f0.kamezawa.hiroyu@jp.fujitsu.com>
Date: Thu, 28 Oct 2010 12:05:32 +0900
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To: Pawan Singh <pawan@...ger.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: Tweaking swap algorithm under constrained memory usage
On Wed, 27 Oct 2010 19:58:00 -0700
Pawan Singh <pawan@...ger.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists