[DEV] add no tubo element
This commit is contained in:
parent
b8f2a186a5
commit
4d6d4c59cb
14
noTurboAtStartUp.service
Normal file
14
noTurboAtStartUp.service
Normal file
@ -0,0 +1,14 @@
|
||||
# cp noTurboAtStartUp.sh /usr/bin
|
||||
# cp noTurboAtStartUp.service /lib/systemd/system/
|
||||
[Unit]
|
||||
Description=Disable turbo capability when system start
|
||||
After=network.target remote-fs.target nss-lookup.target
|
||||
|
||||
[Service]
|
||||
ExecStart=noTurboAtStartUp.sh
|
||||
User=root
|
||||
Restart=always
|
||||
RestartSec=3600000
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
4
noTurboAtStartUp.sh
Executable file
4
noTurboAtStartUp.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo
|
Loading…
x
Reference in New Issue
Block a user