From owner-cvs-all Sat Jul 7 22: 1:37 2001 Delivered-To: cvs-all@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 3ECCF37B401; Sat, 7 Jul 2001 22:01:26 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id E67226ACC1; Sun, 8 Jul 2001 14:31:24 +0930 (CST) Date: Sun, 8 Jul 2001 14:31:24 +0930 From: Greg Lehey To: Matt Dillon Cc: Alfred Perlstein , "Justin T. Gibbs" , John Baldwin , Jake Burkholder , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, Matthew Jacob , Doug Rabson Subject: Re: cvs commit: src/sys/sys systm.h condvar.h src/sys/kern kern_ Message-ID: <20010708143124.Y80862@wantadilla.lemis.com> References: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200107080406.f68467f82907@earth.backplane.com>; from dillon@earth.backplane.com on Sat, Jul 07, 2001 at 09:06:07PM -0700 Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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