Skip to content

ShyVortex/intel-turbo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

intel-turbo

A simple Linux script to disable Intel Turbo Boost on systems using the intel_pstate frequency driver.


Description

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_driver

If all outputs return intel_pstate, your system is compatible.


Installation

Systemd-Based Systems

  1. Copy the intel folder to /opt/:

    sudo cp -r intel /opt/
  2. Copy the intel-noturbo.service file to the systemd directory:

    sudo cp systemd/system/intel-noturbo.service /etc/systemd/system/
  3. Ensure the script has execution permissions:

    sudo chmod +x /opt/intel/intel_noturbo.sh
  4. To automatically disable Turbo Boost at startup:

    sudo systemctl enable --now intel-noturbo.service

    Or, to disable Turbo Boost manually on demand:

    sudo systemctl start intel-noturbo.service
  5. Check the service status:

    sudo systemctl status intel-noturbo.service
  6. You can verify the Turbo Boost status at any time with:

    cat /sys/devices/system/cpu/intel_pstate/no_turbo
    • 0: Turbo Boost is enabled
    • 1: Turbo Boost is disabled

SysVinit-Based Systems

  1. Copy the intel folder to /opt/:

    sudo cp -r intel /opt/
  2. Copy the init script to /etc/init.d/:

    sudo cp sysvinit/intel_noturbo /etc/init.d/
    sudo chmod +x /etc/init.d/intel_noturbo
  3. Enable the script to run at boot:

    sudo update-rc.d intel_noturbo defaults
  4. To disable Turbo Boost immediately without rebooting:

    sudo /etc/init.d/intel_noturbo start

    Or:

    sudo service intel_noturbo start

Manual or Alternative Startup Methods

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.

Manual Execution

sudo /opt/intel/intel_noturbo.sh

Automatic Execution via Cron (Example)

  1. Ensure cronie is installed:

    • Debian/Ubuntu:

      sudo apt install cronie
    • Fedora/RHEL:

      sudo yum install cronie
    • Arch Linux:

      sudo pacman -S cronie
  2. Verify installation:

    crond -V
  3. Edit the crontab:

    crontab -e
  4. Add the following line to disable Turbo Boost at startup:

    @reboot sh /opt/intel/intel_noturbo.sh

Removal

Systemd

  1. Disable and stop the service:

    sudo systemctl disable --now intel-noturbo.service
  2. Mask the service to prevent accidental activation:

    sudo systemctl mask intel-noturbo.service
  3. Remove installed files:

    sudo rm -r /opt/intel/
    sudo rm /etc/systemd/system/intel-noturbo.service
  4. Reboot to apply changes.


SysVinit

  1. Remove the service from startup:

    sudo update-rc.d -f intel_noturbo remove
  2. Delete installed files:

    sudo rm -r /opt/intel/
    sudo rm /etc/init.d/intel_noturbo
  3. Reboot to apply changes.


Cron or Manual Installation

  1. Remove the @reboot line from the crontab:

    crontab -e
  2. Delete installed files:

    sudo rm -r /opt/intel/

License

About

Linux script to disable Turbo Boost on Intel CPUs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages