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.
cpufrequtils
package, which contains the cpufreq-set
command:sudo apt-get install cpufrequtils
or
sudo yum install cpufrequtils
cpufreq-info
This will display a list of available frequencies for each CPU core.
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 thecpufrequtils
package for more information on how to use thecpufreq-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.