Disabling CPUs at boot (was: Re: CPU hotplug)
Robert Watson
rwatson at FreeBSD.org
Tue Apr 7 05:48:52 PDT 2009
On Tue, 7 Apr 2009, $BVC4d(Jccuiyyan at sina.com wrote:
> Are there any methods to control the number of CPUs online or CPU
> hotplug in FreeBSD?
>
> I want to shutdown some CPUs in the experiments.
Hi Yah:
Currently, we really only support fully disabling CPUs at boot-time by forcing
the CPU's local APIC not to probe:
hint.lapic.X.disabled=1
Replace X with the CPU ID, I believe. And don't apply it to the boot
processor. :-)
Robert N M Watson
Computer Laboratory
University of Cambridge
More information about the freebsd-current
mailing list