lkml.org 
[lkml]   [2010]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2010-10-28 05:13    [W:0.108 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site