Got AMD Ryzen Threadripper 2970WX 24-Core Processor (on X399-AORUS-XTREME-rev-10 mainboard) to my workstation for a C++ project compilation, but even being super-multi-threaded - it is worse then my 5yrs old i7.
$ lscpu
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): 48
On-line CPU(s) list: 0-47
Thread(s) per core: 2
Core(s) per socket: 24
Socket(s): 1
NUMA node(s): 4
Vendor ID: AuthenticAMD
CPU family: 23
Model: 8
Model name: AMD Ryzen Threadripper 2970WX 24-Core Processor
Stepping: 2
CPU MHz: 548.955 <-??
CPU max MHz: 4200.0000
CPU min MHz: 2200.0000
BogoMIPS: 8384.14
Virtualization: AMD-V
L1d cache: 32K
L1i cache: 64K
L2 cache: 512K
L3 cache: 8192K
NUMA node0 CPU(s): 0-11
NUMA node1 CPU(s): 24-35
NUMA node2 CPU(s): 12-23
NUMA node3 CPU(s): 36-47
Now, even when running compilation, which simply grabs 100% for all available cores, no core is not getting over 550Mhz.
$ watch -n0.2 'cat /proc/cpuinfo | grep MHz'
cpu MHz : 548.904
cpu MHz : 548.598
.... many more like that ...
OS (Ubuntu 19.04) performance on its own feels like from a past.
Additional info: OS storage is achieved through 2 SSD M2s in ZFS. 32GB RAM DDR4 on 3200 MT/s. Mainboard is on the latest BIOS F5j.
Any idea what's wrong?
==================================================================
Tried: for file in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do echo "performance" > $file; done
-> Problem persist
==================================================================
Intermezzo:
Several restarts and random BIOS changes, I've ended up in a state where /sys/devices/system/cpu/cpu*/cpufreq doesn't exist anymore. Doing more research on this, found following link where similar problem was solved by updating BIOS to the latest.
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/351159
Checking BIOS version it most probably downgraded back to F4 version. So did another update to the latest F5h and options re-appeared.
-> Still the original problem persist
==================================================================
cpufrequtils
orcpufreqd
installed? the former can be used to set the governor manually (or on boot). and the latter monitors the system and selects "the most appropriate" governor. I don't bother withcpufreqd
- I just usecpufrequtils
to set the governor for all cores to either on-demand or performance, depending on what I'm doing. BTW, on my threadripper 1950x i'm getting ~ 3700 Mhz on all cores/threads with "performance". – cas Oct 17 '19 at 08:49On top of that I've tried setting it manually - but still no change. Now I am at the point when I went with setting BIOS to its defaults and /sys/devices/system/cpu/cpu*/cpufreq folder completely disappeared. I've contacted AMD through the official support. However still pretty lost.
– blech Oct 17 '19 at 12:12