Disabling CPUs at boot (was: Re: CPU hotplug)

From: Robert Watson <rwatson_at_FreeBSD.org>
Date: Tue, 7 Apr 2009 13:48:49 +0100 (BST)
On Tue, 7 Apr 2009, 崔岩ccuiyyan_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
Received on Tue Apr 07 2009 - 10:48:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:45 UTC