Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Jul 2001 00:26:38 -0700
From:      Peter Wemm <peter@wemm.org>
To:        Greg Lehey <grog@FreeBSD.org>
Cc:        Alfred Perlstein <bright@sneakerz.org>, Matt Dillon <dillon@earth.backplane.com>, "Justin T. Gibbs" <gibbs@scsiguy.com>, John Baldwin <jhb@FreeBSD.org>, Jake Burkholder <jake@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, Matthew Jacob <mjacob@feral.com>, Doug Rabson <dfr@nlsystems.com>
Subject:   Re: cvs commit: src/sys/sys systm.h condvar.h src/sys/kern kern_ 
Message-ID:  <20010708072638.64AED380F@overcee.netplex.com.au>
In-Reply-To: <20010708143050.X80862@wantadilla.lemis.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lehey wrote:
> On Saturday,  7 July 2001 at 21:13:44 -0500, Alfred Perlstein wrote:
[..]
> > 2) any processes it comes across that are swapped out are woken
> >    up.  this is to avoid letting processes die, however it makes
> >    for a rude suprise especially when you have dozens of apache
> >    processes swapped out waiting on thier listening socket, it
> >    effectively causes much pain as thrashing starts and the
> >    machine goes down in a firery death.
> >    the solution is to implement a max on the number of swapped
> >    out processes that wakeup_one will swap in, and keep it somewhat
> >    low.
> 
> Hmm.  I hadn't noticed that before.

We had run into it at work on a number of occasions.  This is why we use
wakeup_just_one() at Yahoo and dont use the broken freebsd wakeup_one() at
all.

Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
"All of this is for nothing if we don't go to the stars" - JMS/B5


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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