Date: Sun, 8 Jul 2001 14:31:24 +0930 From: Greg Lehey <grog@FreeBSD.org> To: Matt Dillon <dillon@earth.backplane.com> Cc: Alfred Perlstein <bright@sneakerz.org>, "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: <20010708143124.Y80862@wantadilla.lemis.com> In-Reply-To: <200107080406.f68467f82907@earth.backplane.com>; from dillon@earth.backplane.com on Sat, Jul 07, 2001 at 09:06:07PM -0700 References: <XFMail.010705123747.jhb@FreeBSD.org> <200107052228.f65MSeU64741@aslan.scsiguy.com> <20010705174135.A79818@sneakerz.org> <200107060214.f662ElT61708@earth.backplane.com> <20010708110449.E75626@wantadilla.lemis.com> <20010707211344.I88962@sneakerz.org> <200107080406.f68467f82907@earth.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday, 7 July 2001 at 21:06:07 -0700, Matt Dillon wrote: > >> ... >> >> Problems: >> 1) it doesn't wakeup the highest priority process, this can be >> easily fixed. >> 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. >> >> -- >> -Alfred Perlstein [alfred@freebsd.org] > > The solution is to not mess with unregulated wakeup routines > like wakeup-one hoping they'd ever do the right thing. I will > personally bop anyone who tries to 'fix' wakeup-one with a > clue-bat. Agreed. There's no way to fix wakeup_one with a clue-bat. Greg -- See complete headers for address and phone numbers 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?20010708143124.Y80862>