Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] RYZEN 5: Hyperthreading or no hyperthreading...
Date: Fri, 27 Mar 2020 16:20:42
Message-Id: 20200327162033.byecoqtuk7e7a2ns@solfire
1 Hi,
2
3 still not 100% sure, whether I configured the kernel correctlu:
4
5 Running an AMD RYZEN 5 3600...
6
7 lscpu displays:
8 Architecture: x86_64
9 CPU op-mode(s): 32-bit, 64-bit
10 Byte Order: Little Endian
11 Address sizes: 43 bits physical, 48 bits virtual
12 CPU(s): 6
13 On-line CPU(s) list: 0-5
14 Thread(s) per core: 1 <<<<<<
15 Core(s) per socket: 6
16 Socket(s): 1
17 Vendor ID: AuthenticAMD
18 CPU family: 23
19 Model: 113
20 Model name: AMD Ryzen 5 3600 6-Core Processor
21 Stepping: 0
22 ...
23
24 The accoring part of lshw shows:
25
26 *-cpu
27 description: CPU
28 product: AMD Ryzen 5 3600 6-Core Processor
29 vendor: Advanced Micro Devices [AMD]
30 physical id: 15
31 bus info: cpu@0
32 version: AMD Ryzen 5 3600 6-Core Processor
33 serial: Unknown
34 slot: AM4
35 size: 3649MHz
36 capacity: 4200MHz
37 width: 64 bits
38 clock: 100MHz
39 capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate sme ssbd mba sev ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif umip rdpid overflow_recov succor smca cpufreq
40 configuration: cores=6 enabledcores=6 threads=12
41 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
42 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
43
44
45 I set (beside other things) these kernel configurations:
46
47 Processor type and features --->
48 [*] Symmetric multi-processing support
49 [*] AMD ACPI2Platform devices support
50 [*] Supported processor vendors --->
51 [*] Support AMD processors
52 [*] SMT (Hyperthreading) scheduler support
53 [*] Multi-core scheduler support
54 Preemption Model (Preemptible Kernel (Low-Latency Desktop)) --->
55 [*] Machine Check / overheating reporting
56 [*] AMD MCE features
57 Performance monitoring --->
58 <*> AMD Processor Power Reporting Mechanism
59 [*] AMD microcode loading support
60 Power management and ACPI options --->
61 CPU Frequency scaling --->
62 <*> AMD Opteron/Athlon64 PowerNow!
63 <*> AMD frequency sensitivity feedback powersave bias
64 Device Drivers --->
65 [*] IOMMU Hardware Support --->
66 [*] AMD IOMMU support
67 <*> AMD IOMMU Version 2 driver
68
69 htop shows six cores.
70
71 Does my CPU hyperthread?
72
73 Cheers
74 Meino

Replies

Subject Author
Re: [gentoo-user] RYZEN 5: Hyperthreading or no hyperthreading... Andrea Conti <alyf@××××.net>
Re: [gentoo-user] RYZEN 5: Hyperthreading or no hyperthreading... Jack <ostroffjh@×××××××××××××××××.net>