Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 5363  / 2 Years ago, thu, march 24, 2022, 6:45:51

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.


More From » cpu

 Answers
5

By default, AMD processors use the acpi-cpufreq CPU frequency scaling driver.

Check via:


grep . /sys/devices/system/cpu/cpufreq/policy*/scaling_driver

For that driver, to disable turbo boost, do:


echo "0" | sudo tee /sys/devices/system/cpu/cpufreq/boost

[#2341] Thursday, March 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
icielight

Total Points: 158
Total Questions: 92
Total Answers: 93

Location: San Marino
Member since Thu, Jun 30, 2022
2 Years ago
icielight questions
;