AMD EPYC 7502 on supermicro 4124GS-TNR - one CPU much slower

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.
With a little more information, someone might make an educated guess.
What type of workload do you run? How is the rest of the hardware configuration? Have you already checked obvious stuff like clock speeds?
 
The problem is reproducible for many different workloads, whether it is a simple rsync command, a numpy matrix multiplication benchmark, some c++ code doing calculations or the CPU process that feeds data loading for training on GPUs.

Rest of the hardware is 32 x 32gb Samsung M393A4K40DB3-CWE running at 2933 MHz, 8 RTX 3090, 4 PM983 U.2 NVME as a ZFS pool.

Clock speeds are a bit mysterious. Using "cat /proc/cpuinfo | grep "MHz", I measure with a matrix multiplication benchmark on CPU 1 (the fast one) speeds of round 2150 MHz, while on CPU 0 (the slow one) they stay at 3347 MHz.
The base speed should be 2500 MHz, right?

According to this document https://developer.amd.com/wp-content/resources/56827-1-0.pdf I have also tried
cpupower frequency-set -g performance
cpupower idle-set -d 2