From owner-freebsd-current Tue Jan 28 1:51:11 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 E5F0E37B401 for ; Tue, 28 Jan 2003 01:51:10 -0800 (PST) Received: from rhadamanth.submonkey.net (pc1-cdif2-5-cust47.cdif.cable.ntl.com [81.101.150.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FB7F43F85 for ; Tue, 28 Jan 2003 01:51:09 -0800 (PST) (envelope-from setantae@submonkey.net) Received: from setantae by rhadamanth.submonkey.net with local (Exim 4.12) id 18dSOa-0000kB-00; Tue, 28 Jan 2003 09:51:08 +0000 Date: Tue, 28 Jan 2003 09:51:07 +0000 From: Ceri Davies To: Adam Migus Cc: current@FreeBSD.org Subject: Re: Force 1 CPU on SMP kernel? Message-ID: <20030128095107.GA2628@submonkey.net> Mail-Followup-To: Ceri Davies , Adam Migus , current@FreeBSD.org References: <49857.192.168.4.2.1043728382.squirrel@mail.migus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49857.192.168.4.2.1043728382.squirrel@mail.migus.org> X-message-flag: All your linuxconf-configured redhat are belong to us. X-message-flag-attribution: suresh, sdm. User-Agent: Mutt/1.5.3i 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 Mon, Jan 27, 2003 at 11:33:02PM -0500, Adam Migus wrote: > Hi, > I'm doing some performance analysis on FreeBSD. I would like to > be able to make an SMP kernel use only one CPU. Of course I > realize running GENERIC would only use 1 CPU but the concern is > that the overhead assoicated with SMP will skew the statistics. > So my question is what would be the 'best' way to make an SMP > kernel only start/use CPU0? Yank the others ? Ceri -- Happiness is having a scratch for every itch. -- Ogden Nash To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message