Subject: Re: Simple thought...
To: Greywolf <email@example.com>
From: Andrew Gillham <firstname.lastname@example.org>
Date: 06/07/2002 16:17:24
On Fri, Jun 07, 2002 at 10:59:31AM -0700, Greywolf wrote:
> I know this is also going to seem silly to some people, but I welcome
> constructive criticism; i.e. if this does NOT seem like a win for some
> reason (I happen to have the extra 160MB to spare for this, so it
> seems like a good idea at the time...), fill me in.
I think it would be cool to have a utility that allows you to hardwire an
executable into the buffer cache. e.g. "ubcfreeze /usr/bin/* /usr/sbin/*"
Or maybe "ubcfreeze /usr/pkg/bin/mozilla" :-)
So basically you could load the executable into cache, and never free that
cache. So shells, sshd, apache, browsers, perl, compiler, whatever could
be frozen in the cache.
I don't mean a "don't page this program out" flag, but a "don't remove this
from the buffer cache" flag instead.
This seems like it could be cleaner than a mfs setup, but it might be
impossible to implement. :-)