Skip to content

Instantly share code, notes, and snippets.

@sykwer
Last active September 22, 2023 04:21
Show Gist options
  • Save sykwer/262697e6fd772921f99f2e9c69062cc2 to your computer and use it in GitHub Desktop.
Save sykwer/262697e6fd772921f99f2e9c69062cc2 to your computer and use it in GitHub Desktop.
for i in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do
echo "userspace" | sudo tee $i;
done
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_frequencies
for i in /sys/devices/system/cpu/cpu*/cpufreq/scaling_setspeed; do
echo 2601000 | sudo tee $i;
done
sudo sh -c "echo 0 > /sys/devices/system/cpu/cpufreq/boost"
@sykwer
Copy link
Author

sykwer commented Sep 21, 2023

Set a boot parameter at /etc/default/grub as follows.

GRUB_CMDLINE_LINUX_DEFAULT="... intel_pstate=disable”

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment