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

next in thread | previous in thread | raw e-mail | index | archive | help
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).

> 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

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?20010930134437.B284>