Date: Tue, 28 Jan 2003 14:23:48 -0500 (EST) From: "Adam Migus" <adam@migus.org> To: <andy@siliconlandmark.com> Cc: <adam@migus.org>, <current@FreeBSD.ORG> Subject: Re: Force 1 CPU on SMP kernel? Message-ID: <49567.192.168.4.2.1043781828.squirrel@mail.migus.org>
next in thread | raw e-mail | index | archive | help
<quote who="Andre Guibert de Bruet"> > > > 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). I tend to agree but things like warrenties and flakey boards preclude removal of CPU(s). All the same I think the ability to turn on/off AP's at boot would be useful in general. -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49567.192.168.4.2.1043781828.squirrel>
