public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: HT not active
@ 2006-08-14 12:06 Mikael Pettersson
  2006-08-14 12:47 ` Jan Engelhardt
  0 siblings, 1 reply; 18+ messages in thread
From: Mikael Pettersson @ 2006-08-14 12:06 UTC (permalink / raw)
  To: jengelh, linux-kernel

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.

^ permalink raw reply	[flat|nested] 18+ messages in thread
* HT not active
@ 2006-08-14 11:38 Jan Engelhardt
  2006-08-14 11:46 ` Michal Piotrowski
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Jan Engelhardt @ 2006-08-14 11:38 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Hello list,



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 */                 

so I installed an SMP kernel, which has
CONFIG_SMP=y
CONFIG_SUSPEND_SMP=y
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_SCHED_SMT=y
CONFIG_X86_HT=y

yet it shows the 'up' flag in cpuinfo
#define X86_FEATURE_UP          (3*32+ 9) /* smp kernel running on up */

What could be missing? Some BIOS option perhaps?
Thanks for any hints.


Jan Engelhardt
-- 

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2006-08-15 17:47 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <fa.YLv8m2Uw0It/GRKxQHnEfBS+Dao@ifi.uio.no>
2006-08-14 14:23 ` HT not active Robert Hancock
2006-08-14 14:51   ` linux-os (Dick Johnson)
2006-08-14 15:32     ` Lennart Sorensen
2006-08-14 16:02       ` linux-os (Dick Johnson)
2006-08-14 17:11         ` Lennart Sorensen
2006-08-14 17:51           ` Jan Engelhardt
2006-08-15 17:47             ` H. Peter Anvin
2006-08-14 12:06 Mikael Pettersson
2006-08-14 12:47 ` Jan Engelhardt
  -- strict thread matches above, loose matches on Subject: below --
2006-08-14 11:38 Jan Engelhardt
2006-08-14 11:46 ` Michal Piotrowski
2006-08-14 11:55   ` Jan Engelhardt
2006-08-14 12:10 ` Keith Owens
2006-08-14 16:19   ` Len Brown
2006-08-14 12:36 ` Alan Cox
2006-08-15 14:39   ` Mark Lord
2006-08-14 15:19 ` Arjan van de Ven
2006-08-14 15:23   ` Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox