How to determine if Hypter threading is enabled

Asked by Paul Manners

How does one conclusively determine that hyperthreading is enabled and running?

I'm running the current generic-pae kernel with SMP support (for ubuntu 10.04), but looking at /proc/cpuinfo reveals that there are only two cpus on my core 2 duo - I would have expected 4 for HT? However if I look at dmesg I see that it reports there are two cpus and two hot plug cpus - it says that it only brings up two CPUs though. When I add acpismp=force and ht=on to the kernel boot parameters I see no change to this information. Is this right or am I missing something?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

Look at the cores, it may show 2 cores per CPU which would nidicate i is active and in use

Revision history for this message
Paul Manners (paulmanners) said :
#2

Thanks actionparsnip, that solved my question.