Set CPU frequency
Changing the settings directly¶
From the Stackoverflow post
Query CPU options
grep . /sys/devices/system/cpu/cpu0/cpufreq/*
Set the maximum CPU frequency
echo 4400000 | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_max_freq
cpufrequtils¶
Install cpufrequtils
sudo apt install cpufrequtils
Set the maximum CPU frequency
sudo cpufreq-set -u 4Ghz