Increase cores for power-saver-mode

This commit is contained in:
Przemek Grondek 2023-07-04 00:04:14 +02:00
parent f325bcca18
commit 0f8e61efa4

View File

@ -1,8 +1,8 @@
#!/usr/bin/env sh #!/usr/bin/env sh
# Limit 8C/16T CPU to 2C/4T # Limit 8C/16T CPU to 2C/4T
echo 0 | tee /sys/devices/system/cpu/cpu[2-7]/online echo 0 | tee /sys/devices/system/cpu/cpu[4-7]/online
echo 0 | tee /sys/devices/system/cpu/cpu1[0-5]/online echo 0 | tee /sys/devices/system/cpu/cpu1[2-5]/online
# Set CPU to governor to powersave # Set CPU to governor to powersave
cpupower frequency-set --governor powersave cpupower frequency-set --governor powersave