From owner-freebsd-current Tue Jan 28 10:35:41 2003 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 5DA2237B401 for ; Tue, 28 Jan 2003 10:35:40 -0800 (PST) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 365EE43F75 for ; Tue, 28 Jan 2003 10:35:39 -0800 (PST) (envelope-from wkb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.6/8.12.6) with ESMTP id h0SIZb1F039318; Tue, 28 Jan 2003 19:35:37 +0100 (CET) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.6/8.12.6/Submit) id h0SIZbdp039317; Tue, 28 Jan 2003 19:35:37 +0100 (CET) Date: Tue, 28 Jan 2003 19:35:37 +0100 From: Wilko Bulte To: Andre Guibert de Bruet Cc: Adam Migus , current@FreeBSD.ORG Subject: Re: Force 1 CPU on SMP kernel? Message-ID: <20030128193537.B39244@freebie.xs4all.nl> References: <49857.192.168.4.2.1043728382.squirrel@mail.migus.org> <20030128095107.GA2628@submonkey.net> <20030128095349.GK36536@ns2.wananchi.com> <20030128030248.B45041@FreeBSD.org> <49491.192.168.4.2.1043774271.squirrel@mail.migus.org> <20030128122234.F66869@alpha.siliconlandmark.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030128122234.F66869@alpha.siliconlandmark.com>; from andy@siliconlandmark.com on Tue, Jan 28, 2003 at 12:33:32PM -0500 X-OS: FreeBSD 4.7-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jan 28, 2003 at 12:33:32PM -0500, Andre Guibert de Bruet wrote: > > > On Tue, 28 Jan 2003, Adam Migus wrote: > > > Yes, just to be more explicit. What I want to do is get the > > 'real' difference a second processor makes. ie. If I run > > GENERIC I'm not incurring the overhead associated with SMP/APIC. > > I want to use the same kernel making as small a change as > > nessessary to have the machine start/use just one CPU. > > I'm not aware of any hacks to disable APs through loader.conf. If you're > trying to benchmark the system's performance with 1 vs N CPUs, you're best > off pulling all but the BSP CPU out of the machine. For such a benchmark > to be accurate, you shouldn't make any software changes (kernel, daemons > or startup configs). VOlunteers to implement psradm maybe? W/ -- | / o / /_ _ wilko@freebie.xs4all.nl |/|/ / / /( (_) Bulte To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message