From owner-freebsd-hackers Sun Sep 30 2:44:15 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id 7F4EA37B40C for ; Sun, 30 Sep 2001 02:44:11 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id 70C0A81D06; Sun, 30 Sep 2001 04:44:11 -0500 (CDT) Date: Sun, 30 Sep 2001 04:44:11 -0500 From: Alfred Perlstein To: Vladimir Dozen Cc: Matt Dillon , Wilko Bulte , hackers@FreeBSD.ORG Subject: Re: VM: dynamic swap remapping (patch) Message-ID: <20010930044411.I59854@elvis.mu.org> References: <20010929155941.A291@eix.do-labs.spb.ru> <20010929071024.Q59854@elvis.mu.org> <20010929141349.A80876@freebie.xs4all.nl> <200109291653.f8TGrRR37689@earth.backplane.com> <20010929232953.B341@eix.do-labs.spb.ru> <20010929175653.Z59854@elvis.mu.org> <20010930120328.A534@eix.do-labs.spb.ru> <20010930035529.G59854@elvis.mu.org> <20010930134437.B284@eix.do-labs.spb.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010930134437.B284@eix.do-labs.spb.ru>; from vladimir-dozen@mail.ru on Sun, Sep 30, 2001 at 01:44:37PM +0000 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 * Vladimir Dozen [010930 04:41] wrote: > ehlo. > > > You're still thinking of the combined solution, just think of a > > system where all you have right now is the signals I mentioned. > > Yah, now I think I got it. Well, actually, signal(s) is all > I need. The remapping was just a bonus. To be more precise, > I need the only signal -- at low mark passed. Some other > application might be interested in second -- hi mark -- > signal, but my doesn't. > > SIGDANGER is the signal from Irix, AFAIR? > > So, how about to accept this name (just to not increase entropy > of the Universe) and send it to all processes when nswap_lowat > reached? > > The only point -- I prefer to have ability to set nswap_lowat > via sysctl since I cannot predict what amount of memory can > be consumed while freeing memory ;) (e.g., throwing exception > in C++ may eat memory due to creating exception object; logging > may eat memory also). You want to submit a patch? If not I can take a look at it, but it's been a bit since I've looked at the vm system. > > > Just think what happens if your filesystems are full and you run > > out of swap... > > The same that happens today -- killproc() will kill me. > The situation doesn't becomes worse with remapping, it just > ... mmm... prolonges. > > -- > dozen @ home -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message