看板 FB_hackers 關於我們 聯絡資訊
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig95A38527E4CA9E8B469F7535 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Some more interesting findings in this field lead me to another related question: what is the relation between kern.smp.cpus, kern.smp.active and kern.smp.maxcpus? To my understanding, it should be: If the machine has more than one CPU, and SMP and apic are enabled in the config file, then kern.smp.cpus =3D nof cpus in the system kern.smp.active =3D 1 kern.smp.maxcpus =3D 16 else kern.smp.cpus =3D 1 kern.smp.active =3D 0 kern.smp.maxcpus =3D 1 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 =46rom 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?? =46rom my Core2Due, running 8.0-CURRENT, I get: kern.smp.cpus: 2 kern.smp.active: 1 kern.smp.maxcpus: 16 which is OK, but nevertheless SMP is not defined in sys/param.h (see previous posts). Thanks for any insight, --=20 Pietro Cerutti PGP Public Key: http://gahr.ch/pgp --------------enig95A38527E4CA9E8B469F7535 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.7 (FreeBSD) iD8DBQFHmJS+wMJqmJVx944RCjAZAJ9QE5o4sP8ZwwoIthm4HGYyC7iBnQCgj/uv wVIiPcIXFv2u2f43VagTuE8= =lvQt -----END PGP SIGNATURE----- --------------enig95A38527E4CA9E8B469F7535--