From owner-freebsd-current@FreeBSD.ORG Mon Oct 9 01:29:48 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C22816A40F; Mon, 9 Oct 2006 01:29:48 +0000 (UTC) (envelope-from kmacy@fsmware.com) Received: from demos.bsdclusters.com (demos.bsdclusters.com [69.55.225.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5E0143D53; Mon, 9 Oct 2006 01:29:47 +0000 (GMT) (envelope-from kmacy@fsmware.com) Received: from demos.bsdclusters.com (demos [69.55.225.36]) by demos.bsdclusters.com (8.12.8p1/8.12.8) with ESMTP id k991TjlZ073847; Sun, 8 Oct 2006 18:29:45 -0700 (PDT) (envelope-from kmacy@fsmware.com) Received: from localhost (kmacy@localhost) by demos.bsdclusters.com (8.12.8p1/8.12.8/Submit) with ESMTP id k991TjgE073843; Sun, 8 Oct 2006 18:29:45 -0700 (PDT) X-Authentication-Warning: demos.bsdclusters.com: kmacy owned process doing -bs Date: Sun, 8 Oct 2006 18:29:45 -0700 (PDT) From: Kip Macy X-X-Sender: kmacy@demos.bsdclusters.com To: Paul Allen In-Reply-To: <20061009012323.GD3467@riyal.ugcs.caltech.edu> Message-ID: <20061008182521.U69745@demos.bsdclusters.com> References: <2fd864e0610080423q7ba6bdeal656a223e662a5d@mail.gmail.com> <20061008135031.G83537@demos.bsdclusters.com> <4529667D.8070108@fer.hr> <200610090634.31297.davidxu@freebsd.org> <20061008225150.GK793@funkthat.com> <3bbf2fe10610081555r67265368sf7f12edbf35bff0d@mail.gmail.com> <20061008155817.G29803@demos.bsdclusters.com> <20061009002200.GM793@funkthat.com> <20061009012323.GD3467@riyal.ugcs.caltech.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Attilio Rao , freebsd-current@freebsd.org, David Xu , Ivan Voras Subject: Re: [PATCH] MAXCPU alterable in kernel config - needs testers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2006 01:29:48 -0000 > > AFAIK, the linux kernel has generally favored the per-cpu approach. In > that respect, relative underperformance of FreeBSD vs. Linux is an indicator > that per-cpu approaches deserve more weight in the FreeBSD world. As early as 2002 Linux scaled cleanly to 32-way on a powerpc machine. This is, as far as I can tell, a testament to IBM's investment in Linux. FreeBSD is just now moving past subsystem locking. A per-cpu approach will only make sense when finer grained locking is more consistently used throughout the kernel. Ideally in so doing we'll be more consistent about the granularity of locking across subsystems than we have been in the past. -Kip