Dual core CPU's, but only 2 CPU's in-use?

Kris Kennaway kris at FreeBSD.org
Sun Feb 24 14:59:52 UTC 2008


Tigger wrote:
> On Sun, 24 Feb 2008 12:46:23 +0100
> Dominic Fandrey <kamikaze at bsdforen.de> wrote:
> 
>> Tigger wrote:
>>> Hello. I have a Xeon system with 2 CPU's installed (dual-cores).
>>> Under FreeBSD 6.2, a systat reported 4 CPUs in use and so did
>>> dmesg. 
>>>
>>> Under FreeBSD 6.3, dmesg is reporting the 4 CPUs, but systat is only
>>> reporting 2 CPUs (CPU 0 and CPU 2). 
>>>
>>> How do I enabled the second cores on the CPU's or are they really
>>> running but systat is not reporting the CPU load across the cores?
>> You can run 'top -S' to check how many idle processes exist. If there
>> are four, everything is fine.
>>
> 
> 
> Sadly, no luck. Only cpu0 and cpu2 are reported:
> 
>   PID USERNAME  THR PRI NICE   SIZE    RES STATE  C   TIME   WCPU
> COMMAND 11 root        1 171   52     0K     8K CPU2   2 143:43 92.38%
> idle: cpu2 13 root        1 171   52     0K     8K RUN    0 142:33
> 92.04% idle: cpu0

Are your CPUs really dual-core, or single core + hyperthreaded?

Kris



More information about the freebsd-questions mailing list