lkml.org 
[lkml]   [2004]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Large slab cache in 2.6.1


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@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: 2009-11-18 23:46    [W:0.056 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site