Re: journaling & VM

Neil Schemenauer
2000-06-08T01:11:38Z

[recipient list brutally slashed]

On Wed, Jun 07, 2000 at 02:52:10PM -0700, Hans Reiser wrote:
> Caches have a declining marginal utility. It is a good idea to
> keep at least a little bit of each cache around. The classic
> problem is when you switch usage patterns back and forth, and
> one of the caches has been completely flushed by, say, a large
> file read. If just 3% of the amount of cache remained from when
> it was being used that 3% might give you a lot of speedup when
> the usage pattern flipped back.

I'm not sure about this. The problem is that things like file
reads break the LRU heuristic. If the new pages read will be
accessed sooner than the cache pages (instead of being just
accessed once) then the cache pages should be paged out. Am I
missing something?

Neil

--
Real Life? I played that game. The plot sucks but the graphics are
awesome.