5.3 & SMP How do I know my 2 CPUs are used?
Robert Watson
rwatson at freebsd.org
Thu Oct 28 15:15:31 PDT 2004
On Thu, 28 Oct 2004, Rob wrote:
> I have tried to create a kernel for my dual CPU motherboard:
> Intel Pentium III (801.82-MHz 686-class CPU)
My person favorite way is to view the kern.smp sysctl hierarchy:
My notebook:
paprika:~> sysctl kern.smp
kern.smp.maxcpus: 1
kern.smp.active: 0
kern.smp.disabled: 0
kern.smp.cpus: 1
An SMP box:
hippy# sysctl kern.smp
kern.smp.maxcpus: 16
kern.smp.active: 1
kern.smp.disabled: 0
kern.smp.cpus: 4
kern.smp.forward_signal_enabled: 1
kern.smp.forward_roundrobin_enabled: 1
As pointed out, there are a number of other tell-tale signs, such as the
processor launch messages, additional CPUs listed in top, and so on.
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert at fledge.watson.org Principal Research Scientist, McAfee Research
More information about the freebsd-current
mailing list