Linux: AMD Phenom II and AMD Athlon II CPU Change Frequency On All Logical Cores

Linux: AMD Phenom II and AMD Athlon II CPU Change Frequency On All Logical Cores

To change the frequency of an AMD Phenom II or AMD Athlon II CPU on all logical cores, you can use the cpufreq-set command.

  1. Install the cpufrequtils package, which contains the cpufreq-set command:
refer to:‮ruttual‬i.com
sudo apt-get install cpufrequtils

or

sudo yum install cpufrequtils
  1. Find the available frequencies for your CPU by running the following command:
cpufreq-info

This will display a list of available frequencies for each CPU core.

  1. Set the frequency for all CPU cores using the cpufreq-set command. For example, to set the frequency to 2.0 GHz on all cores:
sudo cpufreq-set -f 2GHz -g ondemand

This will set the frequency to 2.0 GHz on all cores and use the ondemand CPU frequency scaling governor, which adjusts the frequency dynamically based on the CPU workload.

Note: The available frequencies and the syntax of the cpufreq-set command may vary depending on your specific CPU and system. Consult the documentation for your CPU and the cpufrequtils package for more information on how to use the cpufreq-set command.

Note: Changing the CPU frequency can affect the performance and power consumption of your system. It is a good idea to test the effects of different frequencies on your specific workload and system before making any changes.

Created Time:2017-10-16 14:38:53  Author:lautturi