Re: Ext2 Directory Index - Delete Performance

Daniel Phillips (phillips@nl.linux.org)
Thu, 19 Apr 2001 12:42:07 +0200


Rik van Riel wrote:

> On Thu, 19 Apr 2001, Daniel Phillips wrote:
>
> > OK, now I know what's happening, the next question is, what should be
> > dones about it. If anything.
>
> [ discovered by alexey on #kernelnewbies ]
>
> One thing we should do is make sure the buffer cache code sets
> the referenced bit on pages, so we don't recycle buffer cache
> pages early.
>
> This should leave more space for the buffercache and lead to us
> reclaiming the (now unused) space in the dentry cache instead...

Yes, absolutely, that one should have been on my list. The closer we get to
perfect cache balancing and perfect LRU, the higher the theshhold for
thrashing and the more gently it will degrade.

--
Daniel
-
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/