Subject: Re: Limiting memory usage of bufcache?
To: Curt Sampson <firstname.lastname@example.org>
From: Wojciech Puchar <email@example.com>
Date: 08/24/2001 08:30:06
> > in RAM, anyway, because it is only accessed once and then deleted ;)
> Solaris deals with this by detecting that a file is being used purely
> sequentially, and changing the way it decides what to discard when
> new memory is needed. I don't know the exact details of how it works,
using time needed to read the block as priority should do it
> but even a very simple-minded version of this (one bit to tell you if
> an open file has ever been accessed non-sequentially) would fix the
> problem you have, and improve various other common operations as well.
> (Making MP3s, playing back audio or video, etc.)
> Curt Sampson <firstname.lastname@example.org> +81 3 5778 0123 http://www.netbsd.org
> Don't you know, in this new Dark Age, we're all light. --XTC