Skip site navigation (1)Skip section navigation (2)
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
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigC8D75864FCF47486FD70E502
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Pietro Cerutti wrote:

> This is the expected result, and also the result I get from my single
> CPU Pentium 3, running 6.3-RELEASE:
>=20
> kern.smp.cpus: 1
> kern.smp.active: 0
> kern.smp.maxcpus: 1
>=20
> From my single CPU sparc64, running 7.0-PRERELEASE, I get:
>=20
> 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.


--------------enigC8D75864FCF47486FD70E502
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHmJaAldnAQVacBcgRAlBkAKCXEg8EbCCtyFUCfkNyNZak7mxPEACg6rzf
u6+OMQJ5AWqXQT5KrLXDRac=
=L4JJ
-----END PGP SIGNATURE-----

--------------enigC8D75864FCF47486FD70E502--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fna4pq$bhv$1>