Re: journaling & VM (was: Re: reiserfs being part of the kernel: it'snot just the code)

From: Hans Reiser (hans@reiser.to)
Date: Wed Jun 07 2000 - 16:29:25 EST


"Stephen C. Tweedie" wrote:
>
> Hi,
>
> On Wed, Jun 07, 2000 at 01:16:04PM -0700, Hans Reiser wrote:
>
> > "Quintela Carreira Juan J." wrote:
> > > If you need pages in the LRU cache only for getting notifications,
> > > then change the system to send notifications each time that we are
> > > short of memory.
> >
> > I think the right thing is for the filesystems to use the LRU code as templates
> > from which they may vary or not from in implementing their subcaches with their
> > own lists. I say this for intuitive not concrete reasons.
>
> Every time we have tried to keep the caches completely separate, we
> have ended up losing the ability to balance the various caches against
> each other. The major advantage of a common set of LRU lists is that
> it gives us a basis for a balanced VM.
>
> Cheers,
> Stephen

If I understand Juan correctly, they fixed this issue. Aging 1/64th of the
cache for every cache evenly at every round of trying to free pages should be an
excellent fix. It should do just fine at the task of handling a system with
both ext3 and reiserfs running.

Was this Juan's code that did this? If so, kudos to him.

Hans

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:15 EST