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

To change the CPU frequency on all logical cores of an AMD Phenom II or AMD Athlon II processor in Linux, you can use the cpufrequtils package. Here are the steps to do so:

  1. Install the cpufrequtils package by running the following command in the terminal:
sudo apt-get install cpufrequtils

This will install the cpufrequtils package, which provides utilities to control the CPU frequency.

  1. Load the necessary kernel modules by running the following command in the terminal:
sudo modprobe cpufreq_ondemand

This will load the necessary kernel modules for changing the CPU frequency.

  1. Set the CPU frequency scaling governor to “ondemand” by running the following command in the terminal:
sudo cpufreq-set -g ondemand

This will set the CPU frequency scaling governor to “ondemand”, which will automatically adjust the CPU frequency based on the system load.

  1. Verify that the CPU frequency scaling governor is set to “ondemand” by running the following command in the terminal:
sudo cpufreq-info

This will display information about the current CPU frequency scaling governor and the available frequency ranges.

  1. Monitor the CPU frequency on all logical cores by running the following command in the terminal:
watch -n 1 "cat /proc/cpuinfo | grep \"^[c]pu MHz\""

This will display the current CPU frequency on all logical cores, and update the display every second.

Note: The above steps are for changing the CPU frequency on all logical cores of an AMD Phenom II or AMD Athlon II processor. The exact steps may vary depending on your CPU model and Linux distribution.

Leave a Comment