Last active
March 20, 2020 14:59
-
-
Save sir-farfan/7323dc7095378221613a84d215a65420 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Keey the system quiet and cool by disabling Turbo Boost technology | |
# using Linux Systemd service without installing external scripts | |
# that could be a security issue. | |
# | |
# | |
# Installing: | |
# | |
# Create this file: /etc/systemd/system/IntelNoTurbo.service | |
# and COPY/PASTE the contents of this snippet there. | |
# | |
# | |
# Execute the following commands: | |
# | |
# Se Privileges: $ sudo chmod +x /etc/systemd/system/IntelNoTurbo.service | |
# Test: $ sudo systemctl start IntelNoTurbo | |
# Run at boot: $ sudo systemctl enable IntelNoTurbo | |
[Unit] | |
Description=Disable Intel Turbo Boost | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes | |
ExecStart=/bin/sh -c 'echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo' | |
ExecStop=/bin/sh -c 'echo 0 > /sys/devices/system/cpu/intel_pstate/no_turbo' | |
[Install] | |
WantedBy=multi-user.target | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment