Subject: Re: Swap overcommit (was Re: Replacement for grep(1) (part 2))
To: Brian F. Feldman <green@FreeBSD.org>
From: Daniel C. Sobral <dcs@newsguy.com>
List: tech-userlevel
Date: 07/15/1999 02:10:11
"Brian F. Feldman" wrote:
>
> > In which case the program that consumed all memory will be killed.
> > The program killed is +NOT+ the one demanding memory, it's the one
> > with most of it.
>
> So why don't we do something else: when we're down to a certain amount of
> backing store, start collecting statistics. When we're out, we check the
> statistics and find what process has been allocating most of it. We kill
> that process.
Because it's not only equally arbitrary but also takes more
resources to implement?
--
Daniel C. Sobral (8-DCS)
dcs@newsguy.com
dcs@freebsd.org
"Would you like to go out with me?"
"I'd love to."
"Oh, well, n... err... would you?... ahh... huh... what do I do
next?"