Re: page aging for _BUFFER_ cache?

Rik van Riel (H.H.vanRiel@fys.ruu.nl)
Mon, 30 Mar 1998 17:03:50 +0200 (MET DST)


On Fri, 27 Mar 1998, Linus Torvalds wrote:

> On Fri, 27 Mar 1998, Rik van Riel wrote:
> >
> > The thought just occurred to me that disk thrashing is mainly
> > due to SEEK time, so we should cache metadata more agressively.
>
> Yes. Essentially, we shouldn't cache meta-data more aggressively, but we
> should be _extremely_ aggressive at throwing out pages that we used for
> data writes..
>
> I don't think we really want buffer aging, I think we need to just have
> some way of getting rid of data buffers..

Aging could be the way to do it. Written-out data buffers
won't be used again and will have reached 0-age in no time,
while used directory buffers won't be swapped out on the
first whim.

Rik.
+-------------------------------------------+--------------------------+
| Linux: - LinuxHQ MM-patches page | Scouting webmaster |
| - kswapd ask-him & complain-to guy | Vries cubscout leader |
| http://www.fys.ruu.nl/~riel/ | <H.H.vanRiel@fys.ruu.nl> |
+-------------------------------------------+--------------------------+

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu