[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

hyperthreading not working (?)... /proc/cpuinfo shows 2 cpus



HI
I have just spent hours trying to figure this out, through google
but no luck. I have a single pentium 4 w/ hyperthreading and am
running kernel 2.6.13. I built my own kernel and enabled HT and
the system seems to recognize two processors.

Here is /proc/cpuinfo:

/----------------------\
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 15
model		: 2
model name	: Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping	: 9
cpu MHz		: 3000.571
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 dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips	: 6008.35

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 15
model		: 2
model name	: Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping	: 9
cpu MHz		: 3000.571
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 dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips	: 6000.59
\------------------------/

But I can't find any sign that HT is working properly. Here is my
/proc/interrupts file showing only one processor doing anything:

/------------------------\
           CPU0       CPU1
  0:     830982          0    IO-APIC-edge  timer
  1:       2976            0    IO-APIC-edge  i8042
  2:          0               0          XT-PIC  cascade
 12:       2119           0    IO-APIC-edge  i8042
 14:      10163          0    IO-APIC-edge  ide0
 15:      29646          0    IO-APIC-edge  ide1
 16:     236276         0   IO-APIC-level  uhci_hcd:usb1, uhci_hcd:usb4
 17:          0              0   IO-APIC-level  Intel ICH5, Intel ICH5 Modem
 18:          0              0   IO-APIC-level  uhci_hcd:usb3
 19:          0              0   IO-APIC-level  uhci_hcd:usb2
 21:          3              0   IO-APIC-level  ohci1394
 22:      70223          0   IO-APIC-level  eth0
 23:          2              0   IO-APIC-level  ehci_hcd:usb5
NMI:          0             0
LOC:     830932     830931
ERR:          0
MIS:          0
\-------------------------------/

I believe I have all the necessary kernel options enabled
but I may be doing something wrong. I saw some posts
about including 'acpismp=force' to the boot parameters
but I think these were for old 2.4 kernels.

Thanks for your help,
Brandon



Reply to: