Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2005 11:58:25 -0400
From:      "Jonathan M. Slivko" <freebsd-lists@slivko.org>
To:        Kirk Strauser <kirk@strauser.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Top only showing one active CPU on HTT system
Message-ID:  <42934F21.7040606@slivko.org>
In-Reply-To: <200505241053.36377.kirk@strauser.com>
References:  <200505241053.36377.kirk@strauser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Actually, I have a similar issue on a Pentium 4 box that's supposedly HT:

CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2410.53-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>

By the fact that HTT is there in the features, I'm assuming that HT 
support is actually present. Though when I compile my kernel with SMP 
support, it doesn't show up. I've had the box checked in the BIOS for HT 
settings,  but apparently there are none.

Any ideas?

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?

-- 
  Jonathan M. Slivko - jonathan@slivko.org
"Linux: The Choice for the GNU Generation"
          - http://www.linux.org/ -

Don't fear the penguin.
          .^.
          /V\
        /(   )\
         ^^-^^
   He's here to help.



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