Re: [CFT][PATCH] Latest -rmap15 stuff against 2.4.20-rc2-ac2

From: Andrew Morton (akpm@digeo.com)
Date: Fri Nov 22 2002 - 12:32:31 EST


Ingo Oeser wrote:
>
> On Fri, Nov 22, 2002 at 01:55:07AM +0300, Paul P Komkoff Jr wrote:
> > ChangeSet@1.695.1.6, 2002-11-21 16:42:17-02:00, riel@duckman.distro.conectiva
> > first stab at fine-tuning arjan's O(1) VM
> [...]
> > - preferentially deactivate file cache pages, if there are many
> > of those
>
> You guys don't know, how much admins have dared to get this
> behavior (back).
>
> We will make a lot of admins very happy with that.
>

This is what /proc/sys/vm/swappiness does in 2.5, actually. It defines
the kernel's preference for pagecache over mapped memory.

Setting it to 100 (percent) makes it treat both types of memory equally.

Setting it to zero makes the kernel very much prefer to reclaim plain
pagecache rather than mapped-into-pagetables memory.
-
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/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:40 EST