configure cpupower




Terminal:
sudo pacman -S cpupower

Terminal:
systemctl start cpupower && systemctl enable cpupower

check type driver
Terminal:
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver

if is intel_pstate


you should be this:
Terminal:
nano /etc/default/grub

replace for this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_pstate=disable "


Terminal:
sudo update-grub


you need restart the computer
Terminal:
sudo reboot

when start yout computer again
Terminal:
 sudo cpupower frequency-set -d 1.20Ghz -u 2.20Ghz -g powersave -r
and should be change the frequency and gobernator

check changes
Terminal:
cpupower frequency-info

make permanent configuration
Terminal:
 sudo nano /etc/default/cpupower


restart you computer
Terminal:
sudo reboot

check changes
Terminal:
cpupower frequency-info

BONUS

install tool
Terminal:
sudo pacman -S msr-tools

script disable turbo-boost cpu
https://gitlab.com/cirelramos/oh-my-zsh/raw/master/turbo-boost.sh

change permisson execute
Terminal:
sudo chmod +x ~/turbo-boost.sh
execute disable
Terminal:
sudo  ~/.oh-my-zsh/turbo-boost.sh disable

execute enable
Terminal:
sudo  ~/.oh-my-zsh/turbo-boost.sh enable

check changes
Terminal:
cpupower frequency-info

Manager cpupower




Source:

https://wiki.archlinux.org/index.php/CPU_frequency_scaling_(Espa%C3%B1ol)

https://unix.stackexchange.com/questions/424602/is-it-possible-to-set-a-constant-lowest-cpu-frequency-under-the-modern-pstate

https://lenovopress.com/lp0826.pdf

https://askubuntu.com/questions/613498/automatic-switching-between-performance-and-powersave-mode-on-plugging-in-out-th


0 comentarios :