From owner-freebsd-smp Wed Aug 27 07:14:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA05744 for smp-outgoing; Wed, 27 Aug 1997 07:14:46 -0700 (PDT) Received: from icicle.winternet.com (adm@icicle.winternet.com [198.174.169.13]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA05731 for ; Wed, 27 Aug 1997 07:14:42 -0700 (PDT) Received: (from adm@localhost) by icicle.winternet.com (8.8.7/8.8.6) id JAA27782; Wed, 27 Aug 1997 09:14:30 -0500 (CDT) Received: from tundra.winternet.com(198.174.169.11) by icicle.winternet.com via smap (V2.0) id xma027717; Wed, 27 Aug 97 09:14:09 -0500 Received: from localhost (mestery@localhost) by tundra.winternet.com (8.8.4/8.8.4) with SMTP id JAA07708; Wed, 27 Aug 1997 09:14:08 -0500 (CDT) X-Authentication-Warning: tundra.winternet.com: mestery owned process doing -bs Date: Wed, 27 Aug 1997 09:14:08 -0500 (CDT) From: Kyle Mestery To: Christopher Petrilli cc: Peter Stubbs , smp@FreeBSD.ORG Subject: Re: A how does it work question. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 27 Aug 1997, Christopher Petrilli wrote: > Because of this, wouldn't it be appropriate to say that FreeBSD is an > Assymetric MP, not Symmetric? Symmetric means that the kernel runs on > each processor, and there is no "one processor" which controls exclusivity > to the hardware. > The symmetric/assymetric refers to the hardware. This is from Curt Schimmel's book on Cacheing and MP systems: "To be considered an SMP system, all of the CPUs in the system must be connected to a single bus and share a common pool of memory and share access to all I/O devices. Each CPU must also have equal access to the memory and bus, and some form of bus arbitration must be considered. The bus arbitration is usually entirely up to the hardware." In other words, an assymetric-MP system would be a system where each CPU had it's own memory, own bus, etc. Kyle Mestery StorageTek's Network Systems Group 7600 Boone Ave. N., Brooklyn Park, MN 55428 mesteka@anubis.network.com, mestery@winternet.com > Chris > > On Wed, 27 Aug 1997, Kyle Mestery wrote: > > > On Wed, 27 Aug 1997, Peter Stubbs wrote: > > > > > I've been forced to sell my soul lately by doing a couple of MS Win > > > NT courses ( mouths to feed etc.. ). It seems that NT runs a > > > seperate instance of the kernel on each CPU present to provide it's > > > SMP support. > > > > > > Is this the way FBSD smp does it? > > > > As far as I know, no. There is only one copy of the kernel running. At > > present, access to the kernel is only allowed for one CPU (except for a > > few areas), Steve has been working on making it reentrant. > > > > > Is this the only way to do it? > > > > No. Having the kernel be reentrant is another way. This requires the > > correct lock "pushdown" into the kernel. Instead of one giant lock, > > subsystems can each have their own lock, allowing multiple processors to > > be in different sections of the kernel. This allows for increased > > parallelism. > > > > > Doesn't this mean that lots more memory would be used keeping data > > > for 2 kernels? > > > > > I would assume so, but I dont know for sure. > > > > Kyle Mestery > > StorageTek's Network Systems Group > > 7600 Boone Ave. N., Brooklyn Park, MN 55428 > > mesteka@anubis.network.com, mestery@winternet.com > > > > > > >