KrisDewa
#linux#performance#thermal-management#cpufreq

How to Disable CPU Turbo Boost on Linux

How to disable Intel/AMD CPU Turbo Boost on Linux using sysfs interface for better thermal management and consistent performance.

#Why Disable Turbo Boost?

Disabling Turbo Boost can help:

  • Reduce heat generation and fan noise
  • Extend battery life on laptops
  • Maintain consistent CPU frequencies for benchmarking/testing
  • Prevent thermal throttling during sustained workloads

⚠️ Note: This affects Intel Turbo Boost and AMD Core Performance Boost. Not all CPUs expose this interface-verify availability first.

#Method: Using sysfs Interface (No Additional Packages Required)

#Verify Turbo Boost Support

Check if your system exposes the boost interface:

ls /sys/devices/system/cpu/cpufreq/boost 2>/dev/null || echo "Turbo Boost interface not available"

If the file exists, your CPU supports runtime toggling.

#Create a Toggle Script

then create and edit ~/.local/bin/boost (or any other filename you want, I guess) with the following contents:

#!/bin/bash
if grep -q 0 /sys/devices/system/cpu/cpufreq/boost; then
  echo "1" | sudo tee /sys/devices/system/cpu/cpufreq/boost
else
  echo "0" | sudo tee /sys/devices/system/cpu/cpufreq/boost
fi

Then make the script executable:

chmod u+x ~/.local/bin/cpudisabledturboboost

#Usage

so you can then run boost from the terminal to toggle the boost off and on as needed. Run the script anytime to toggle Turbo Boost state:

~/.local/bin/./cpudisabledturboboost

#Verification

Confirm the current state anytime with:

cat /sys/devices/system/cpu/cpufreq/boost
# Output: 1 = enabled, 0 = disabled

Now, with any luck, someone will come along to show us how we can set things to toggle it off on startup without requiring a sudo.

Unlike with cpupower above, this way it won’t even TRY to boost, rather than try to boost and run into the set limits.

#Why This Method > Frequency Limits?

Unlike setting maximum frequency caps (e.g., via cpufrequtils), directly disabling Turbo Boost: Prevents the CPU from attempting to boost (eliminating power spikes) Avoids thermal fluctuations caused by repeated boost/throttle cycles Provides more stable performance for sustained workloads

Share this post