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