Date: Thu, 24 Jan 2008 14:45:36 +0100 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-current@freebsd.org Cc: freebsd-hackers@freebsd.org Subject: Re: SMP in machine/params.h Message-ID: <fna4pq$bhv$1@ger.gmane.org> In-Reply-To: <479894BA.2010403@gahr.ch> References: <479886CF.7040506@gahr.ch> <479894BA.2010403@gahr.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHmJaAldnAQVacBcgRAlBkAKCXEg8EbCCtyFUCfkNyNZak7mxPEACg6rzf u6+OMQJ5AWqXQT5KrLXDRac= =L4JJ -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fna4pq$bhv$1>
