A simple Linux script to disable Intel Turbo Boost on systems using the intel_pstate frequency driver.
This script disables Intel Turbo Boost technology on supported Linux distributions. It can be used with systemd, SysVinit, or manually through other startup mechanisms.
To check if your system supports the intel_pstate driver, run:
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_driverIf all outputs return intel_pstate, your system is compatible.
-
Copy the
intelfolder to/opt/:sudo cp -r intel /opt/
-
Copy the
intel-noturbo.servicefile to the systemd directory:sudo cp systemd/system/intel-noturbo.service /etc/systemd/system/
-
Ensure the script has execution permissions:
sudo chmod +x /opt/intel/intel_noturbo.sh
-
To automatically disable Turbo Boost at startup:
sudo systemctl enable --now intel-noturbo.serviceOr, to disable Turbo Boost manually on demand:
sudo systemctl start intel-noturbo.service
-
Check the service status:
sudo systemctl status intel-noturbo.service
-
You can verify the Turbo Boost status at any time with:
cat /sys/devices/system/cpu/intel_pstate/no_turbo
0: Turbo Boost is enabled1: Turbo Boost is disabled
-
Copy the
intelfolder to/opt/:sudo cp -r intel /opt/
-
Copy the init script to
/etc/init.d/:sudo cp sysvinit/intel_noturbo /etc/init.d/ sudo chmod +x /etc/init.d/intel_noturbo
-
Enable the script to run at boot:
sudo update-rc.d intel_noturbo defaults
-
To disable Turbo Boost immediately without rebooting:
sudo /etc/init.d/intel_noturbo start
Or:
sudo service intel_noturbo start
If your system uses OpenRC, runit, s6, or other init systems, you can still use the script manually or set it to run at startup via alternative methods.
sudo /opt/intel/intel_noturbo.sh-
Ensure
cronieis installed:-
Debian/Ubuntu:
sudo apt install cronie
-
Fedora/RHEL:
sudo yum install cronie
-
Arch Linux:
sudo pacman -S cronie
-
-
Verify installation:
crond -V
-
Edit the crontab:
crontab -e
-
Add the following line to disable Turbo Boost at startup:
@reboot sh /opt/intel/intel_noturbo.sh
-
Disable and stop the service:
sudo systemctl disable --now intel-noturbo.service
-
Mask the service to prevent accidental activation:
sudo systemctl mask intel-noturbo.service
-
Remove installed files:
sudo rm -r /opt/intel/ sudo rm /etc/systemd/system/intel-noturbo.service
-
Reboot to apply changes.
-
Remove the service from startup:
sudo update-rc.d -f intel_noturbo remove
-
Delete installed files:
sudo rm -r /opt/intel/ sudo rm /etc/init.d/intel_noturbo
-
Reboot to apply changes.
-
Remove the
@rebootline from the crontab:crontab -e
-
Delete installed files:
sudo rm -r /opt/intel/
- Licensed under the GNU General Public License v3.0.
- Copyright © @ShyVortex, 2023.