Re: HT not active

From: Mikael Pettersson
Date: Mon Aug 14 2006 - 08:04:31 EST


On Mon, 14 Aug 2006 13:38:22 +0200 (MEST), Jan Engelhardt wrote:
> I cannot get HT to be used on some machine:
>
> w04a# cat /proc/cpuinfo
> processor : 0
> vendor_id : GenuineIntel
> cpu family : 15
> model : 0
> model name : Intel(R) Pentium(R) 4 CPU 1700MHz
> stepping : 10
> cpu MHz : 1694.890
> cache size : 256 KB
> 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 dts acpi mmx fxsr sse sse2 ss ht tm up
> bogomips : 3393.46
>
> 'ht' indicates:
> #define X86_FEATURE_HT (0*32+28) /* Hyper-Threading */
...
> What could be missing? Some BIOS option perhaps?

The HT cpuid capability flag does not imply that HT actually is present.
You also have to count #siblings. See Intel's IA32 SDM Vol3 for details.

There are often BIOS options to enable or disable HT. However, your model 0
P4 is quite old and probably doesn't have HT.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/