Pony of Shadows

Uncertainty is Fascinating.


Thinkbook(AMD,安装了tlp)临时切换CPU模式的方案探究

输出当前电脑CPU调控信息

tlp-stat -p

一种可用的临时手动修改方式

  1. 查看当前CPU调控器(这个的配置应该最主要)
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
  1. 变到性能模式
echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference
echo performance | sudo tee /sys/firmware/acpi/platform_profile
  1. 变回省电模式
echo powersave | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
echo balance_performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference
echo balanced | sudo tee /sys/firmware/acpi/platform_profile