Re: Large slab cache in 2.6.1
From: Linus Torvalds
Date: Sat Feb 21 2004 - 22:00:45 EST
On Sat, 21 Feb 2004, Chris Wedgwood wrote:
>
> Forcing paging will push this down to acceptable levels but it's a
> really irritating solution --- I'm still trying to think of a better
> way to stop the dentries from using such a disproportionate amount of
> memory.
Why?
It's quite likely that especially on a fairly idle machine, the dentry
cache really _should_ be the biggest single memory user.
Why? Because an idle machine tends to largely be dominated by things like
"updatedb" and friends running. If there isn't any other real activity,
there's no reason for a big page cache, nor is there anything that would
put memory pressure on the dentries, so they grow as much as they can.
Do you see any actual bad behaviour from this?
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/