From owner-freebsd-current Tue Apr 17 18: 6:38 2001 Delivered-To: freebsd-current@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 1BBD437B423 for ; Tue, 17 Apr 2001 18:06:36 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f3I16Ji02507; Tue, 17 Apr 2001 18:06:19 -0700 (PDT) Date: Tue, 17 Apr 2001 18:06:18 -0700 From: Alfred Perlstein To: Greg Lehey Cc: Matt Dillon , "Justin T. Gibbs" , Doug Barton , "current @ freebsd . org" Subject: Re: Kernel preemption, yes or no? (was: Filesystem gets a huge performance boost) Message-ID: <20010417180618.Z976@fw.wintelcom.net> References: <200104160259.f3G2xqs06321@aslan.scsiguy.com> <200104160616.f3G6GI973782@earth.backplane.com> <20010417011957.W976@fw.wintelcom.net> <20010418093212.A80877@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010418093212.A80877@wantadilla.lemis.com>; from grog@lemis.com on Wed, Apr 18, 2001 at 09:32:12AM +0930 X-all-your-base: are belong to us. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Greg Lehey [010417 17:02] wrote: > On Tuesday, 17 April 2001 at 1:19:57 -0700, Alfred Perlstein wrote: > > * Matt Dillon [010415 23:16] wrote: > >> > >> For example, all this work on a preemptive > >> kernel is just insane. Our entire kernel is built on the concept of > >> not being preemptable except by interrupts. We virtually guarentee > >> years of instability and bugs leaking out of the woodwork by trying to > >> make it preemptable, and the performance gain we get for that pain > >> is going to be zilch. Nada. Nothing. > > > > Pre-emption is mearly a side effect of a mutex'd kernel. > > > > The actual gains are in terms of parallel execution internally. > > Meaning if we happen to copyin() a 4 meg buffer we can allow more > > than one process to be completing some sort of work inside the > > kernel other than spinning on the giant lock. > > *sigh* Couldn't you have changed the subject line when discussing > something of this importance? I wasn't discussing, I was explaining. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] Represent yourself, show up at BABUG http://www.babug.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message