Re: HyperThreading, kernel 2.6.10, 1 logical CPU idle !!

From: Boris Fersing
Date: Sat Apr 30 2005 - 16:38:50 EST


Robert Hancock a Ãcrit :

> Boris Fersing wrote:
>
>> Hi there,
>> I've a p4 HT 3,06Ghz, I've HT enabled in the BIOS and in the kernel :
>>
>> Linux electron 2.6.10-cj5 #6 SMP Fri Mar 4 02:18:08 CET 2005 i686 Mobile
>> Intel(R) Pentium(R) 4 CPU 3.06GHz GenuineIntel GNU/Linux .
>>
>> But it seems that one of my cpus is idle (gkrellm monitor or top) :
>>
>> Cpu0 : 88.0% us, 12.0% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi,
>> 0.0% si
>> Cpu1 : 0.0% us, 0.3% sy, 0.0% ni, 99.7% id, 0.0% wa, 0.0% hi,
>> 0.0% si
>>
>>
>> I'm actually compiling thunderbird with MAKEOPTS="-j3", so , the second
>> should be used, shouldn't it ?
>
>
> Are you sure that it is actually compiling multiple files at once?
>
Yes I'm sure, Even if I launch more than 1 gcc, or for example, start a
compilation + video encoding (mencoder) + ... the second CPU won't work
(idle 100% or sometimes 99,9%).

Regards,

Boris.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/