Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jul 2001 21:06:07 -0700 (PDT)
From:      Matt Dillon <dillon@earth.backplane.com>
To:        Alfred Perlstein <bright@sneakerz.org>
Cc:        Greg Lehey <grog@FreeBSD.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:  <200107080406.f68467f82907@earth.backplane.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

:...
:
: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




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