dotfiles

Calibrate

# Ubuntu
sudo apt install lm-sensors hddtemp psensor

# Arch
yay -S hddtemp hddtemp psensor
sudo sensors-detect
# ubuntu
sudo service module-init-tools restart
sensors

Scaling drivers

https://wiki.archlinux.org/index.php/CPU_frequency_scaling

# see current driver
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver

Scaling governors

# current governor
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

# setting to powersave
sudo cpupower frequency-set -g powersave

Disable Intel pstate scaling driver (if needed)

To change back to the ACPI driver, add the following to the GRUB_CMDLINE_LINUX_DEFAULT variable in the /etc/default/grub file:

intel_pstate=disable

then rebuild the grub config

sudo grub-mkconfig -o /boot/grub/grub.cfg

CPUfreq

# ubuntu
sudo apt-get install indicator-cpufreq

# arch
sudo snap install cpufreq