Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2005 10:53:29 -0500
From:      Kirk Strauser <kirk@strauser.com>
To:        freebsd-questions@freebsd.org
Subject:   Top only showing one active CPU on HTT system
Message-ID:  <200505241053.36377.kirk@strauser.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iD8DBQBCk04A5sRg+Y0CpvERAvpuAJ9ql1V9ERG5v/9c00ZGXKgVxydamwCghQwM
7QW6tch2kWs9ELv/Jb1BsP4=
=A3J3
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505241053.36377.kirk>