Re: [PATCH] kswapd fully sysctl tunable

Rik van Riel (H.H.vanRiel@phys.uu.nl)
Sat, 2 May 1998 16:08:03 +0200 (MET DST)


On Sat, 2 May 1998, MOLNAR Ingo wrote:
> On Sat, 2 May 1998, Rik van Riel wrote:
>
> > +dcache_agressive This option can be used when the dcache
> > + is taking up too much memory. This usually
> > + only happens on machines with less than 16
> > + megabytes of RAM. Increasing this value makes
> > + kswapd prune the dcache more agressively, but
> > + it makes name cacheing less effective, causing
> > + more disk reads and decreased performance.
> > + Use this when you need to, but use with care!
>
> not nitpicking, but i'm wondering wether this option just hides the real
> problem. Shouldnt the dcache notice such low-mem situations automagically?

It probably should limit the dcache size to some percentage
of memory, when memory is tight.
I'll maybe take a look at it...

Rik.
+-------------------------------------------+--------------------------+
| Linux: - LinuxHQ MM-patches page | Scouting webmaster |
| - kswapd ask-him & complain-to guy | Vries cubscout leader |
| http://www.phys.uu.nl/~riel/ | <H.H.vanRiel@phys.uu.nl> |
+-------------------------------------------+--------------------------+

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu