second cpu not used on smp platform

LI Xin delphij at delphij.net
Thu Jan 25 21:19:24 UTC 2007


Oles Hnatkevych wrote:
> Hello!
> 
> Just cvsup-ed and upgraded to 6.2-STABLE.
> 
> The box has hyperthreading processor:
> 
> # more /var/run/dmesg.boot |grep -i cpu
> CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3000.37-MHz 686-class CPU)
>   Logical CPUs per core: 2
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  1
> cpu0: <ACPI CPU> on acpi0
> cpu1: <ACPI CPU> on acpi0
> SMP: AP CPU #1 Launched!
[...]
> What it can be????

This is done intentionally on all -STABLE branches, see
http://security.freebsd.org/advisories/FreeBSD-SA-05:09.htt.asc for details.

Note that it is possible to re-enable htt if you know what you are
doing, by setting machdep.hyperthreading_allowed.  Please note that
enabling hyperthreading does hurt performance for many cases, so you
will want to evaluate if you really want it, or to disable it from BIOS.

Cheers,
-- 
Xin LI <delphij at delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20070125/b27456fc/signature.pgp


More information about the freebsd-stable mailing list