Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2003 12:53:49 +0300
From:      Odhiambo Washington <wash@wananchi.com>
To:        Ceri Davies <setantae@submonkey.net>
Cc:        Adam Migus <adam@migus.org>, current@FreeBSD.org
Subject:   Re: Force 1 CPU on SMP kernel?
Message-ID:  <20030128095349.GK36536@ns2.wananchi.com>
In-Reply-To: <20030128095107.GA2628@submonkey.net>
References:  <49857.192.168.4.2.1043728382.squirrel@mail.migus.org> <20030128095107.GA2628@submonkey.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Ceri Davies <setantae@submonkey.net> [20030128 12:50]: wrote:
> 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 ?
> 

What about building two kernels, one SMP, the other non-SMP, then
just boot wheichever kernel you want? Doesn't it server same purpose?
Better than Ceri's idea ;)


-Wash

-- 
Odhiambo Washington   <wash@wananchi.com>  "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com      Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922         so I installed FreeBSD."   
GSM: +254 72 743223   +254 733 744121       This sig is McQ!  :-)


"I'd love to go out with you, but I'm converting my calendar watch from
Julian to Gregorian."

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030128095349.GK36536>