Skip to content

LDrawe/intel-turbo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

intel-turbo

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


Description

This script enables Intel Turbo Boost technology on supported Linux distributions. It can be used with systemd, 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. Clone the repo and enter the folder:
   git clone https://github.com/LDrawe/intel-turbo.git
   cd intel-turbo
  1. Copy the files and ensure the script has execution permissions:

    sudo cp -r opt/intel /opt/
    sudo cp etc/systemd/system/intel-turbo.service /etc/systemd/system/
    sudo chmod +x /opt/intel/intel_turbo.sh
  2. To automatically enable Turbo Boost at startup:

    sudo systemctl enable --now intel-turbo.service
  3. (Optional) Check the service status:

    sudo systemctl status intel-turbo.service
  4. 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

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_turbo.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 enable Turbo Boost at startup:

    @reboot sh /opt/intel/intel_turbo.sh

Removal

Systemd

  1. Disable and stop the service:

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

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

    sudo rm -r /opt/intel/
    sudo rm /etc/systemd/system/intel-turbo.service
  4. 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/

Credits

This project is a fork of the original intel-turbo script by @ShyVortex, modified to enable Intel Turbo Boost instead of disabling it.

Fork maintained by @LDrawe.

License

About

Linux script to enable Turbo Boost on Intel CPUs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages