![]() |
Detecting hyper threading
How do I detect if hyper threading is enabled in the BIOS from within Linux ?
Many thanks |
The "top" command will show you how many processors are running. If it's twice the actual number of processors, then hyper-threading is enabled and working.
John |
This does'nt help. Say you don't know how many processors the box has without physically checking.
That was the point of the question, I don't want to physically check. Does anyone know ? Thanks anyway for the reply. |
look somewhere in the /proc FS i think?, i know i remember reading something that said "linux can detect hyper threading while windows only thinks theres 2 processors" (this was before windows become hyper threading compatible), but i never tried to see how to detect it
|
You could look at the output from dmesg. My system has the following close to the start of the dmeg output...
cpu_sibling_map[0] = 1 cpu_sibling_map[1] = 0 cpu_sibling_map[2] = 3 cpu_sibling_map[3] = 2 I, perhaps wrongly, interpret this as output from the system as it enables hyper-threading. Although this still wouldn't help you if the BIOS enabled hyperthreading but the kernel didn't. John |
what about enabling hyperthreading if it's disabled in the BIOS, or am I pushing my luck? My laptop BIOS is so basic there is no mention of it, but I presume every P4 2800 has this capability. Does anyone know of any software or HOWTO which discusses this?
|
| All times are GMT -5. The time now is 01:04 AM. |