1 |
I've been having trouble determining if my processor has hyper-threading. I'm thinking that it does. I know that it isn't |
2 |
a dual-core. |
3 |
|
4 |
If it is a hyper-thread processor, I can't seem to figure out exactly how to enable the hyper-thread under linux. |
5 |
|
6 |
First, here's the CPU info from /proc/cpuinfo |
7 |
|
8 |
processor : 0 |
9 |
vendor_id : AuthenticAMD |
10 |
cpu family : 15 |
11 |
model : 95 |
12 |
model name : AMD Athlon(tm) 64 Processor 3800+ |
13 |
stepping : 2 |
14 |
cpu MHz : 1000.000 |
15 |
cache size : 512 KB |
16 |
fpu : yes |
17 |
fpu_exception : yes |
18 |
cpuid level : 1 |
19 |
wp : yes |
20 |
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow up rep_good pni cx16 lahf_lm svm extapic cr8_legacy |
21 |
bogomips : 2009.87 |
22 |
TLB size : 1024 4K pages |
23 |
clflush size : 64 |
24 |
cache_alignment : 64 |
25 |
address sizes : 40 bits physical, 48 bits virtual |
26 |
power management: ts fid vid ttp tm stc |
27 |
|
28 |
|
29 |
I have the gentoo genkernel sources version 2.6.28-r5 currently installed. |
30 |
The > processor section looks like this: |
31 |
. . [*] Tickless System (Dynamic Ticks) . . |
32 |
. . [*] High Resolution Timer Support . . |
33 |
. . [*] Symmetric multi-processing support . . |
34 |
. . [*] Enable MPS table . . |
35 |
. . Subarchitecture Type (PC-compatible) ---> . . |
36 |
. . [ ] Paravirtualized guest support ---> . . |
37 |
. . [ ] Memtest . . |
38 |
. . Processor family (Opteron/Athlon64/Hammer/K8) ---> . . |
39 |
. . [ ] Supported processor vendors ---> . . |
40 |
. . [*] Enable DMI scanning . . |
41 |
. . [*] GART IOMMU support . . |
42 |
. . [*] IBM Calgary IOMMU support . . |
43 |
. . [*] Should Calgary be enabled by default? . . |
44 |
. . [*] AMD IOMMU support . . |
45 |
. . (32) Maximum number of CPUs (2-512) . . |
46 |
. . [*] SMT (Hyperthreading) scheduler support . . |
47 |
. . [*] Multi-core scheduler support . . |
48 |
. . Preemption Model (Preemptible Kernel (Low-Latency Desktop)) ---> . . |
49 |
. . [ ] Preemptible RCU . . |
50 |
. . [*] Machine Check Exception . . |
51 |
. . [*] Intel MCE features . . |
52 |
. . [*] AMD MCE features . . |
53 |
. . < > Dell laptop support . . |
54 |
. . <M> /dev/cpu/microcode - microcode support . . |
55 |
. . [*] Intel microcode patch loading support . . |
56 |
. . [*] AMD microcode patch loading support . . |
57 |
. . <*> /dev/cpu/*/msr - Model-specific register support . . |
58 |
. . <*> /dev/cpu/*/cpuid - CPU information support . . |
59 |
. . [ ] Numa Memory Allocation and Scheduler Support (EXPERIMENTAL) . . |
60 |
. . Memory model (Sparse Memory) ---> . . |
61 |
. . [*] Sparse Memory virtual memmap . . |
62 |
. . *** Memory hotplug is currently incompatible with Software Suspend *** . . |
63 |
. . [*] Add LRU list to track non-evictable pages . . |
64 |
. . [ ] Check for low memory corruption . . |
65 |
. . [*] Reserve low 64K of RAM on AMI/Phoenix BIOSen . . |
66 |
. . [*] MTRR (Memory Type Range Register) support . . |
67 |
. . [*] MTRR cleanup support . . |
68 |
. . (0) MTRR cleanup enable value (0-1) . . |
69 |
. . (1) MTRR cleanup spare reg num (0-7) . . |
70 |
. . [ ] x86 PAT support . . |
71 |
. . [ ] EFI runtime service support . . |
72 |
. . [*] Enable seccomp to safely compute untrusted bytecode . . |
73 |
. . Timer frequency (300 HZ) ---> . . |
74 |
. . [*] kexec system call . . |
75 |
. . [ ] kernel crash dumps . . |
76 |
. . (0x200000) Physical address where the kernel is loaded . . |
77 |
. . [ ] Build a relocatable kernel (EXPERIMENTAL) . . |
78 |
. . -*- Support for hot-pluggable CPUs . . |
79 |
. . [*] Compat VDSO support . . |
80 |
. . [ ] Built-in kernel command line . . |
81 |
. ......................... |
82 |
|
83 |
I'm sure there are things that should be left out of my kernel as my AMD probably doesn't support them or need them, but I |
84 |
have left various things enabled where I wasn't sure. |
85 |
|
86 |
Any suggestions or thoughts are welcome. Like I said, I'm pretty sure it should have hyperthreading, but it doesn't show |
87 |
it in the current configuration and all searches have yielded unhelpful results. |