From owner-freebsd-arch@FreeBSD.ORG Wed Aug 10 20:57:49 2005 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3229616A429; Wed, 10 Aug 2005 20:57:49 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2C9C43D48; Wed, 10 Aug 2005 20:57:48 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from [10.50.40.201] (Not Verified[65.202.103.25]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Wed, 10 Aug 2005 17:12:26 -0400 From: John Baldwin To: frank@exit.com Date: Wed, 10 Aug 2005 16:38:25 -0400 User-Agent: KMail/1.8 References: <42F9ECF2.8080809@freebsd.org> <200508100911.50004.jhb@FreeBSD.org> <1123704605.54957.8.camel@realtime.exit.com> In-Reply-To: <1123704605.54957.8.camel@realtime.exit.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508101638.27087.jhb@FreeBSD.org> Cc: Andre Oppermann , freebsd-arch@freebsd.org Subject: Re: Special schedulers, one CPU only kernel, one only userland X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2005 20:57:49 -0000 On Wednesday 10 August 2005 04:10 pm, Frank Mayhar wrote: > On Wed, 2005-08-10 at 09:11 -0400, John Baldwin wrote: > > I think this is the model that BSD/OS employed > > for SMP in its 4.x series before they did their version of SMPng. > > I didn't grunge around in the scheduler (much), but as far as I'm aware > BSD/OS 4.x used the Big Giant Lock mechanism just as FreeBSD did, and > for the same reason. I believe that at some point during the 4.x series they added a scheduler lock that covered just enough to allow threads that weren't asleep in the kernel to be switched to without require the big giant lock and that it was a pretty decent performance win over the earlier single BGL ala FreeBSD 4.x. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org