> On Sat, 16 Jan 1999, Nimrod Zimerman wrote:
>
> > Personally, I don't like the way the pager works. It is too magical. Change
> > 'priority', and it might work better. Why? Because. I much preferred the old
> > approach, of being able to simply tell the cache (and buffers, though I
> > don't see this unless I explicitly try to enlarge it) to *never*, *ever* grow
> > over some arbitrary limit. This is far better for smaller machines, at
> > least as far as I can currently see.
>
> Setting an high limit for the cache when we are low memory is easy doable.
> Comments from other mm guys?
Please try out arca-vm-22. You can set the percentage of the cache
(buffer+filecache+swapcache) that your system will get close when you'll
be low on memory. The cache percentage is tunable via the second number in
the sysctl `.../sys/vm/pager`.
ftp://e-mind.com/pub/linux/kernel-patches/2.2.0-pre7-arca-VM-22
Let me know if it's what you like.
Andrea Arcangeli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/