CPU FREQ UTILS

11/10/2024 12:19:25 PM in Japan

cpufreq

apt-get install cpufrequtils

cpufreq-info

cpufreq-set -c 0 --governor powersave
cpufreq-set -c 1 --governor powersave

cpufreq-set -c 0 --freq 800
cpufreq-set -c 1 --freq 800

Result of cpufreq-info:

# cpufreq-info
cpufrequtils 007: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: powernow-k8
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 8.0 us.
  hardware limits: 800 MHz - 1.40 GHz
  available frequency steps: 1.40 GHz, 1.20 GHz, 800 MHz
  available cpufreq governors: userspace, conservative, powersave, ondemand, performance
  current policy: frequency should be within 800 MHz and 1.40 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz (asserted by call to hardware).
  cpufreq stats: 1.40 GHz:10.31%, 1.20 GHz:0.55%, 800 MHz:89.13% (9649)
analyzing CPU 1:
  driver: powernow-k8
  CPUs which run at the same hardware frequency: 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 8.0 us.
  hardware limits: 800 MHz - 1.40 GHz
  available frequency steps: 1.40 GHz, 1.20 GHz, 800 MHz
  available cpufreq governors: userspace, conservative, powersave, ondemand, performance
  current policy: frequency should be within 800 MHz and 1.40 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz (asserted by call to hardware).
  cpufreq stats: 1.40 GHz:17.75%, 1.20 GHz:1.17%, 800 MHz:81.09% (14901)