This may be a terminology problem at my end and a duplicate: On Intel CPUs, I can relatively easy disable turbo boost at runtime by running something like
echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo
The CPU then runs at its base clock without "turboing up". The nice thing is that I do not need to change BIOS/(U)EFI settings for that.
What would be the equivalent (in terms of both terminology and commands) on AMD CPUs, specifically on a Zen-1 Epyc?
I am trying to run the CPU at constant (low) speed for consistent benchmark results. I am trying to compare different software implementations of algorithms.
По умолчанию процессоры AMD используют драйвер масштабирования частоты ЦП acpi-cpufreq.
Проверьте через:
grep . /sys/devices/system/cpu/cpufreq/policy*/scaling_driver
Для этого драйвера, чтобы отключить турбоускорение, выполните:
echo "0" | sudo tee /sys/devices/system/cpu/cpufreq/boost