public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] RYZEN 5: Hyperthreading or no hyperthreading...
@ 2020-03-27 16:20 tuxic
  2020-03-27 17:04 ` Andrea Conti
  2020-03-27 18:02 ` Jack
  0 siblings, 2 replies; 10+ messages in thread
From: tuxic @ 2020-03-27 16:20 UTC (permalink / raw
  To: Gentoo

Hi,

still not 100% sure, whether I configured the kernel correctlu:

Running an AMD RYZEN 5 3600...

lscpu displays:
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   43 bits physical, 48 bits virtual
CPU(s):                          6
On-line CPU(s) list:             0-5
Thread(s) per core:              1 <<<<<<
Core(s) per socket:              6
Socket(s):                       1
Vendor ID:                       AuthenticAMD
CPU family:                      23
Model:                           113
Model name:                      AMD Ryzen 5 3600 6-Core Processor
Stepping:                        0
...

The accoring part of lshw shows:

     *-cpu
          description: CPU
          product: AMD Ryzen 5 3600 6-Core Processor
          vendor: Advanced Micro Devices [AMD]
          physical id: 15
          bus info: cpu@0
          version: AMD Ryzen 5 3600 6-Core Processor
          serial: Unknown
          slot: AM4
          size: 3649MHz
          capacity: 4200MHz
          width: 64 bits
          clock: 100MHz
          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
          configuration: cores=6 enabledcores=6 threads=12
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


I set (beside other things) these kernel configurations:

Processor type and features  --->
  [*] Symmetric multi-processing support
  [*] AMD ACPI2Platform devices support
  [*] Supported processor vendors  --->
    [*]   Support AMD processors
  [*] SMT (Hyperthreading) scheduler support
  [*] Multi-core scheduler support
      Preemption Model (Preemptible Kernel (Low-Latency Desktop))  --->
  [*] Machine Check / overheating reporting
  [*]   AMD MCE features
  Performance monitoring  --->
    <*> AMD Processor Power Reporting Mechanism
  [*]   AMD microcode loading support
Power management and ACPI options  --->
  CPU Frequency scaling  --->
    <*>   AMD Opteron/Athlon64 PowerNow!
    <*>   AMD frequency sensitivity feedback powersave bias
Device Drivers  --->
  [*] IOMMU Hardware Support  --->
    [*]   AMD IOMMU support
    <*>     AMD IOMMU Version 2 driver

htop shows six cores.

Does my CPU hyperthread? 

Cheers
Meino









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

end of thread, other threads:[~2020-03-31  3:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-27 16:20 [gentoo-user] RYZEN 5: Hyperthreading or no hyperthreading tuxic
2020-03-27 17:04 ` Andrea Conti
2020-03-27 18:11   ` tuxic
2020-03-27 18:51     ` Mark Knecht
2020-03-28  5:57       ` tuxic
2020-03-28 12:59         ` Mark Knecht
2020-03-28 13:24           ` tuxic
2020-03-30 22:17             ` james
2020-03-31  3:15               ` tuxic
2020-03-27 18:02 ` Jack

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