Skip site navigation (1)Skip section navigation (2)
From:      Rik van Riel <riel@conectiva.com.br>
To:        Vladimir Dozen <vladimir-dozen@mail.ru>
Cc:        <hackers@FreeBSD.org>
Subject:   Re: VM: dynamic swap remapping (patch)
Message-ID:  <Pine.LNX.4.33L.0109291535260.19147-100000@imladris.rielhome.conectiva>
In-Reply-To: <20010929155941.A291@eix.do-labs.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 29 Sep 2001, Vladimir Dozen wrote:

>   I have wrote a patch that modifies behaivour (have I spelled this
>   word right? ;) of VM when we are out of memory. Instead of killing
>   largest process, we remap parts of it's address space onto temporal
>   files (exactly as HP-UX does when swapping into dir turned on).

This is not instead of killing, this is just a way to
delay the killing of processes longer. Once your disk
is full you'd still run into the choice between a
deadlock and a kill...

It's an awesome way of delaying the out of memory
problem, though, because a suspended application won't
be able to allocate anything more, giving the system a
better chance to let the running apps run to completion.

Alternatively, the one leaky application is suspended
and the rest of the system continues to run without any
problems.

In short, I like it ;)

regards,

Rik
-- 
IA64: a worthy successor to i860.

http://www.surriel.com/		http://distro.conectiva.com/

Send all your spam to aardvark@nl.linux.org (spam digging piggy)


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?Pine.LNX.4.33L.0109291535260.19147-100000>