From owner-freebsd-current Tue Jan 28 2: 1:24 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 765B037B401 for ; Tue, 28 Jan 2003 02:01:23 -0800 (PST) Received: from seed.net.tw (sn14.seed.net.tw [139.175.54.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F32343F3F for ; Tue, 28 Jan 2003 02:01:17 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [211.74.129.30] (port=49562 helo=leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:3) id 18dSYO-000B2e-00 for freebsd-current@freebsd.org; Tue, 28 Jan 2003 18:01:16 +0800 Received: from leafy.idv.tw (nobody@localhost [127.0.0.1]) by leafy.idv.tw (8.12.6/8.12.6) with ESMTP id h0SA1Fl0014597 for ; Tue, 28 Jan 2003 18:01:16 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.6/8.12.6/Submit) id h0SA1F56014596 for freebsd-current@freebsd.org; Tue, 28 Jan 2003 18:01:15 +0800 (CST) Date: Tue, 28 Jan 2003 18:01:15 +0800 From: leafy To: freebsd-current@freebsd.org Subject: Re: Force 1 CPU on SMP kernel? Message-ID: <20030128100115.GA14554@leafy.idv.tw> Mail-Followup-To: freebsd-current@freebsd.org References: <49857.192.168.4.2.1043728382.squirrel@mail.migus.org> <20030128095107.GA2628@submonkey.net> <20030128095349.GK36536@ns2.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <20030128095349.GK36536@ns2.wananchi.com> 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 Tue, Jan 28, 2003 at 12:53:49PM +0300, Odhiambo Washington wrote: > > > 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 Unless I read him wrong, but I think he wants a SMP kernel to run on a single CPU. Besides pulling the thing out of the box, is it possible to disable one of them via BIOS? Jiawei Ye -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message