Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Pentium 4 HT?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Sat Jun 24, 2006 7:49 pm    Post subject: Pentium 4 HT? Reply with quote

I've recently acquired a Pentium 4 2.4 GHz, and was wondering if it has HyperThreading support. In lshw, one of the capabilities listed is 'ht'. Is this it?
_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Back to top
View user's profile Send private message
eroyf
Retired Dev
Retired Dev


Joined: 03 May 2004
Posts: 82

PostPosted: Sat Jun 24, 2006 7:52 pm    Post subject: Reply with quote

Yes it is. Just enable SMP and the HT thing which pops up when you enable SMP in the kernel :)
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Sat Jun 24, 2006 7:56 pm    Post subject: Reply with quote

iirc ht support depends on FSB frequency.
I do have a P4-2.4 here too - it has the ht flag listed but is definately *not* ht-capable.
If yours has FSB400 then (most probably, as mine) no, if FSB533 then yes.
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
eroyf
Retired Dev
Retired Dev


Joined: 03 May 2004
Posts: 82

PostPosted: Sat Jun 24, 2006 8:02 pm    Post subject: Reply with quote

asfaik started Intel with HT in their 2.4Ghz CPU's and above. My laptop didn't have ht and didn't have the "ht" flag in /proc/cpuinfo

Im not sure that FSB has anything to do with it? But not sure o_O
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Sat Jun 24, 2006 8:10 pm    Post subject: Reply with quote

i stand corrected, it's not exactly dependand on the FSB but the core used.
Willamette: no HT
Northwood: partly (revision C and 3.066GHz) - thats mine with 2.4GHz, rev A
Prescott: mostly

reference (among others): http://en.wikipedia.org/wiki/Pentium_4
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Sat Jun 24, 2006 8:18 pm    Post subject: Reply with quote

I got this CPU from a friend, and it wasn't in its original box; where would I find information on the FSB after the multiplier? lshw says it's at 147 MHz.
_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Back to top
View user's profile Send private message
eroyf
Retired Dev
Retired Dev


Joined: 03 May 2004
Posts: 82

PostPosted: Sat Jun 24, 2006 8:30 pm    Post subject: Reply with quote

Try build a kernel with SMP and HT. Then you can see two CPU's in /proc/cpuinfo

Here is output from my workstation which has HT enabled.

Code:
workstation% cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Pentium(R) 4 CPU 2.60GHz
stepping        : 9
cpu MHz         : 2606.387
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dt
s acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips        : 5220.75

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Pentium(R) 4 CPU 2.60GHz
stepping        : 9
cpu MHz         : 2606.387
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dt
s acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips        : 5212.29
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Sat Jun 24, 2006 8:34 pm    Post subject: Reply with quote

Well, it looks as though there isn't HT support; I have it enabled in my kernel and nothing is different. Back to the non-SMP kernel.
_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Back to top
View user's profile Send private message
eroyf
Retired Dev
Retired Dev


Joined: 03 May 2004
Posts: 82

PostPosted: Sat Jun 24, 2006 8:36 pm    Post subject: Reply with quote

I need to enably my HT support in the BIOS. Did you have a look there?
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Sat Jun 24, 2006 8:49 pm    Post subject: Reply with quote

Nothing of HT was in the BIOS configuration.
_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Back to top
View user's profile Send private message
rhill
Retired Dev
Retired Dev


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Mon Jun 26, 2006 4:03 am    Post subject: Reply with quote

ht will appear in /proc/cpuinfo for a lot of P4 and greater processors that don't actively support it. the architecture supports it, but for whatever reason (technical or financial :wink: ) Intel has disabled it in that model/stepping. I have three different P4's here, all of which have an ht flag in cpuinfo, but only one actually supports it.
_________________
by design, by neglect
for a fact or just for effect
Back to top
View user's profile Send private message
bollucks
l33t
l33t


Joined: 27 Oct 2004
Posts: 606

PostPosted: Mon Jun 26, 2006 11:53 pm    Post subject: Reply with quote

The HT flag tells you that the cpu architecture supports hyperthreading. It does not tell you if there is a logical 2nd threading unit to have 2 cpus. The sibling count gives you that. In /proc/cpuinfo:
flags : 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 ht tm pbe cid xtpr

has ht

but

siblings : 2

tells you that there are 2 logical cpus. If your cpuinfo reads 1 there you don't have hypethreading.

and

cpu cores : 1

tells you there is one physical cpu

Only more recent kernels give you the sibling count. Prior to that you had to query the cpu with other tools
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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