Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Hyper-threading - need to ask
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
greg32
Apprentice
Apprentice


Joined: 26 Mar 2003
Posts: 259
Location: Australia

PostPosted: Fri Jun 06, 2003 10:01 pm    Post subject: Hyper-threading - need to ask Reply with quote

Hi,
using a 2.6c processor. Running the 2.5.70 kernel. This is my first hyperthreaded chip. Can someone please tell me if all I need to do is enable smp in the kernel? Will this enable hyperthreading, and control it? I have enabled smp in the kernel, but when I run TOP, I can't see any mention of two cpu's. How do I confirm that h/t has been enabled and is working????

regards Greg
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Sat Jun 07, 2003 12:04 am    Post subject: Reply with quote

Hmmm.
This is an HT enabled P4?
Have you enabled HT in your BIOS setup?
You need to enable SMP and APIC support.

Run dmesg after booting to see all the boot messages and it should indicate that it starts up cpu0 and cpu1.

Also do cat /proc/cpuinfo, this should show 2 cpu's

Erik
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
idl
Retired Dev
Retired Dev


Joined: 24 Dec 2002
Posts: 1728
Location: Nottingham, UK

PostPosted: Sat Jun 07, 2003 12:45 am    Post subject: Reply with quote

Then edit /etc/make.conf and change MAKEOPTS to -j3
_________________
a.k.a port001
Found a bug? Please report it: Gentoo Bugzilla
Back to top
View user's profile Send private message
greg32
Apprentice
Apprentice


Joined: 26 Mar 2003
Posts: 259
Location: Australia

PostPosted: Sat Jun 07, 2003 10:44 am    Post subject: Reply with quote

Yeah, it is a h/threaded chip. All c class processors are h/t. It is definately enabled in the bios, and windows xp recognises it. In the kernel, you can not enable smp, and apic. If you enable smp, apic dissapears. I am currently running with the kernel smp enabled. I tried disabling smp, and enabling apic, but this made no difference. cat /proc/cpuinfo only shows the one cpu.
Looking at the output of dmesg, it shows that it only detects 1 processor. Strange!
what else could be the problem here???

regards Greg
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum