Re: SMP in machine/params.h

From: Ivan Voras <ivoras_at_freebsd.org>
Date: Thu, 24 Jan 2008 14:45:36 +0100
Pietro Cerutti wrote:

> This is the expected result, and also the result I get from my single
> CPU Pentium 3, running 6.3-RELEASE:
> 
> kern.smp.cpus: 1
> kern.smp.active: 0
> kern.smp.maxcpus: 1
> 
> From my single CPU sparc64, running 7.0-PRERELEASE, I get:
> 
> kern.smp.cpus: 1
> kern.smp.active: 0
> kern.smp.maxcpus: 16 <-- why not 1??

maxcpus is the maximum number of CPUs supported by the kernel. I.e. if
the kernel is UP, maxcpus is 1, if the kernel is SMP, maxcpus is 16.
This means (though you probably won't care) that if you have a 32-CPU
machine, ony 16 of them will be used by the SMP kernel.


Received on Thu Jan 24 2008 - 12:45:50 UTC

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