Top only showing one active CPU on HTT system

Kirk Strauser kirk at strauser.com
Tue May 24 08:53:51 PDT 2005


I'm running a 5.4-STABLE system (updated as of May 16).  My kernel is 
basically GENERIC with a few small tweaks, like commenting out extraneous 
"cpu" lines and adding "options SMP".

My problem is that although dmesg shows every sign of having launched both 
logical CPUs:

$ dmesg | grep -i cpu
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.05-MHz 686-class CPU)
  Hyperthreading: 2 logical CPUs
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!

... running "top" only shows "0" in the CPU column for every task.  I don't 
see anything out of place in sysctl:

$ sysctl -a | grep -i hlt
machdep.cpu_idle_hlt: 1
machdep.hlt_cpus: 2
machdep.hlt_logical_cpus: 0

and /boot/loader.conf is all but empty.  Honestly, I don't really know how 
long this has been going on.  top used to show both 0 and 1 in the C column 
and I'm not exactly sure when it stopped.  Any ideas?
-- 
Kirk Strauser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050524/57ba0d43/attachment.bin


More information about the freebsd-questions mailing list