Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 1999 13:01:23 +0900
From:      "Daniel C. Sobral" <dcs@newsguy.com>
To:        Sergey Babkin <babkin@bellatlantic.net>
Cc:        freebsd-hackers@FreeBSD.ORG, tech-userlevel@netbsd.org
Subject:   Re: Swap overcommit (was Re: Replacement for grep(1) (part 2))
Message-ID:  <378D5D13.EA7AD97D@newsguy.com>
References:  <199907132346.TAA13780@bikini.ihack.net> <v04011702b3b275648c0f@[128.113.24.47]> <378D2682.DA0D38A0@bellatlantic.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Sergey Babkin wrote:
> 
> > It would be nice to have a way to indicate that, a la SIGDANGER.
> 
> Another option may be to add something like "importance classes".
> Suppose we assign an one-byte "importance level" to each process.
> When we get out of swap we start killing processes with the lowest
> importance level. This seems to be both easy to implement and
> a rather robust solution.

This is as easy to do as setting limits, which has the added benefit
of not having any process killed.

--
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?"



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?378D5D13.EA7AD97D>