[lkml]   [2001]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] dcache 2nd chance replacement
On Wed, 3 Jan 2001, Andrea Arcangeli wrote:
> On Wed, Jan 03, 2001 at 04:59:16PM -0200, Rik van Riel wrote:
> > I know this probably isn't of any help under very low
> > and very high loads, but it should provide a nice
> > improvement under medium loads...
> It should provide an improvement under high VFS load (lots of
> files lookedup and not kept referenced all the time).

Not really. Under very high VFS loads we'd just scan
through the list twice and free the entries anyway.

The only time when this scanning is an improvement is
when we have something like a "working set" for the
dentry cache *and* the refill/scan rate is constant
enough that that "working set" doesn't get flooded out
by the new dentry pages.

Note that creating a new dentry doesn't set the
referenced bit exactly to avoid this from happening.


Hollywood goes for world dumbination,
Trailer at 11.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:52    [W:0.090 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site