From owner-cvs-all Sat Jul 7 21: 6:16 2001 Delivered-To: cvs-all@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id D1E7A37B405; Sat, 7 Jul 2001 21:06:12 -0700 (PDT) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.3/8.11.2) id f68467f82907; Sat, 7 Jul 2001 21:06:07 -0700 (PDT) (envelope-from dillon) Date: Sat, 7 Jul 2001 21:06:07 -0700 (PDT) From: Matt Dillon Message-Id: <200107080406.f68467f82907@earth.backplane.com> To: Alfred Perlstein Cc: Greg Lehey , "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_ References: <200107052228.f65MSeU64741@aslan.scsiguy.com> <20010705174135.A79818@sneakerz.org> <200107060214.f662ElT61708@earth.backplane.com> <20010708110449.E75626@wantadilla.lemis.com> <20010707211344.I88962@sneakerz.org> 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 :... : :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. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message