Top only showing one active CPU on HTT system

Kris Kennaway kris at obsecurity.org
Tue May 24 08:58:31 PDT 2005


On Tue, May 24, 2005 at 10:53:29AM -0500, Kirk Strauser wrote:
> 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?

Read the security advisories issued for FreeBSD.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050524/aac5b363/attachment.bin


More information about the freebsd-questions mailing list