Skip to contentSkip to conversation

HyperThreading, kernel 2.6.10, 1 logical CPU idle !!

DISCUSSION Robert Hancock 3 participants 4 messages Apr 30, 2005 – May 1, 2005 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 9 lines · Boris Fersing

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) :

Quoted 8 lines

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?

Signature · 3 lines
Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from [email protected]
Home Page: http://www.roberthancock.com/
#2 lore raw
Quoted 16 lines · Robert Hancock
Quoted 14 lines · Boris Fersing

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

Quoted 6 lines
Quoted 2 lines

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.

#3 lore raw

I disabled SMT in the kernel config and yet it seems to work ...

Boris.

Quoted 36 lines · Boris Fersing
Quoted 16 lines · Robert Hancock
Quoted 14 lines · Boris Fersing

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

Quoted 6 lines
Quoted 2 lines

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#4 lore raw

It seems the problem was already solved.Try the latest mm tree: 2.6.12-rc3-mm2.

FYI:
sched2-fix-smt-scheduling-problems-fix.patch
sched2-fix-smt-scheduling-problems.patch

Quoted 36 lines · Boris Fersing

I disabled SMT in the kernel config and yet it seems to work ...

Boris.

Quoted 31 lines · Boris Fersing
Quoted 16 lines · Robert Hancock
Quoted 14 lines · Boris Fersing

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

Quoted 6 lines
Quoted 2 lines

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.

Signature · 2 lines
Coywolf Qi Hunt
http://sosdg.org/~coywolf/