From owner-freebsd-current Mon Jan 27 20:33:10 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 E5BF137B401 for ; Mon, 27 Jan 2003 20:33:09 -0800 (PST) Received: from garple.migus.org (pcp243391pcs.howard01.md.comcast.net [68.55.83.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1110C43F3F for ; Mon, 27 Jan 2003 20:33:04 -0800 (PST) (envelope-from adam@migus.org) Received: from migus.org (txs8n0oy59zctdip@garple.migus.org [192.168.4.4]) by garple.migus.org (8.12.6/8.12.6) with SMTP id h0S4X2Vq036178 for ; Mon, 27 Jan 2003 23:33:02 -0500 (EST) (envelope-from adam@migus.org) Received: from 192.168.4.2 (SquirrelMail authenticated user adam) by mail.migus.org with HTTP; Mon, 27 Jan 2003 23:33:02 -0500 (EST) Message-ID: <49857.192.168.4.2.1043728382.squirrel@mail.migus.org> Date: Mon, 27 Jan 2003 23:33:02 -0500 (EST) Subject: Force 1 CPU on SMP kernel? From: "Adam Migus" To: X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.8) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Status: No, hits=-1.7 required=5.7 tests=AWL,SPAM_PHRASE_00_01 version=2.41 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 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? -- Adam Migus - Research Scientist Network Associates Laboratories (http://www.nailabs.com) TrustedBSD (http://www.trustedbsd.org) FreeBSD (http://www.freebsd.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message