Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2001 04:44:11 -0500
From:      Alfred Perlstein <bright@mu.org>
To:        Vladimir Dozen <vladimir-dozen@mail.ru>
Cc:        Matt Dillon <dillon@earth.backplane.com>, Wilko Bulte <wkb@freebie.xs4all.nl>, hackers@FreeBSD.ORG
Subject:   Re: VM: dynamic swap remapping (patch)
Message-ID:  <20010930044411.I59854@elvis.mu.org>
In-Reply-To: <20010930134437.B284@eix.do-labs.spb.ru>; from vladimir-dozen@mail.ru on Sun, Sep 30, 2001 at 01:44:37PM %2B0000
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>

next in thread | previous in thread | raw e-mail | index | archive | help
* Vladimir Dozen <vladimir-dozen@mail.ru> [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




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