From owner-freebsd-current Tue Jan 28 9:33: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 5F54B37B401 for ; Tue, 28 Jan 2003 09:33:40 -0800 (PST) Received: from alpha.siliconlandmark.com (alpha.siliconlandmark.com [209.69.98.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 501D343E4A for ; Tue, 28 Jan 2003 09:33:39 -0800 (PST) (envelope-from andy@siliconlandmark.com) Received: from alpha.siliconlandmark.com (localhost [127.0.0.1]) by alpha.siliconlandmark.com (8.12.6/8.12.6) with ESMTP id h0SHXcPT019343; Tue, 28 Jan 2003 12:33:38 -0500 (EST) (envelope-from andy@siliconlandmark.com) Received: from localhost (andy@localhost) by alpha.siliconlandmark.com (8.12.6/8.12.6/Submit) with ESMTP id h0SHXWLC019340; Tue, 28 Jan 2003 12:33:33 -0500 (EST) (envelope-from andy@siliconlandmark.com) X-Authentication-Warning: alpha.siliconlandmark.com: andy owned process doing -bs Date: Tue, 28 Jan 2003 12:33:32 -0500 (EST) From: Andre Guibert de Bruet To: Adam Migus Cc: current@FreeBSD.ORG Subject: Re: Force 1 CPU on SMP kernel? In-Reply-To: <49491.192.168.4.2.1043774271.squirrel@mail.migus.org> Message-ID: <20030128122234.F66869@alpha.siliconlandmark.com> 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> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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, 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). Regards, > Andre Guibert de Bruet | Enterprise Software Consultant > > Silicon Landmark, LLC. | http://siliconlandmark.com/ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message