From 0f8e61efa42bf62036cc2f5eacff5fc948fb821a Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Tue, 4 Jul 2023 00:04:14 +0200 Subject: [PATCH] Increase cores for power-saver-mode --- roles/laptop/files/usr/local/sbin/power-saver-mode | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/laptop/files/usr/local/sbin/power-saver-mode b/roles/laptop/files/usr/local/sbin/power-saver-mode index dd3cd7e..ecbd59f 100644 --- a/roles/laptop/files/usr/local/sbin/power-saver-mode +++ b/roles/laptop/files/usr/local/sbin/power-saver-mode @@ -1,8 +1,8 @@ #!/usr/bin/env sh # 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/cpu1[0-5]/online +echo 0 | tee /sys/devices/system/cpu/cpu[4-7]/online +echo 0 | tee /sys/devices/system/cpu/cpu1[2-5]/online # Set CPU to governor to powersave cpupower frequency-set --governor powersave