From owner-freebsd-hackers Sat Sep 29 11:39:23 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from netbank.com.br (garrincha.netbank.com.br [200.203.199.88]) by hub.freebsd.org (Postfix) with ESMTP id 26C2237B403 for ; Sat, 29 Sep 2001 11:39:14 -0700 (PDT) Received: from 1-011.ctame701-1.telepar.net.br (1-011.ctame701-1.telepar.net.br [200.181.137.11]) by netbank.com.br (Postfix) with ESMTP id 617F84680C; Sat, 29 Sep 2001 15:34:15 -0300 (BRST) Received: (from localhost user: 'riel', uid#500) by imladris.surriel.com with ESMTP id ; Sat, 29 Sep 2001 15:38:28 -0300 Date: Sat, 29 Sep 2001 15:38:23 -0300 (BRST) From: Rik van Riel X-X-Sender: To: Vladimir Dozen Cc: Subject: Re: VM: dynamic swap remapping (patch) In-Reply-To: <20010929155941.A291@eix.do-labs.spb.ru> Message-ID: X-spambait: aardvark@kernelnewbies.org X-spammeplease: aardvark@nl.linux.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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