[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, Jan 03, 2001 at 05:47:39PM -0200, Rik van Riel wrote:
> Not really. Under very high VFS loads we'd just scan
> through the list twice and free the entries anyway.

You're obviously wrong.

The higher was the load, the faster your working set was getting dropped from
the dcache. (with the patch the working set will have a chance to remains in
cache also with polluting going on instead, that's the whole point of aging:
to find out if something is worthwhile to keep in cache or not)

So the higher the VFS load definitely the higher improvement you will get.

The example with only pollution in the cache doesn't make sense, if you want to
optimize that case then remove the dcache in first place since it's only
overhead for such case.

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.061 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site