Here are the simple steps to modify the CPU performance.

The CPUfreq governor feature enables a static frequency to the CPU and the frequency value must be between min_freq and max_freq.

When CPU frequency governor is at “powersave” mode, CPU runs at the minimum frequency and at “performance” mode CPU run at the maximum frequency.

The Primary step is to load the appropriate CPUfreq driver.

We can check the commands to execute various functions.

1. The below command is used to view the CPUfreq drivers.

ls /lib/modules/[kernel version]/kernel/arch/[architecture]/kernel/cpu/cpufreq/

$ ls -1 /lib/modules/`uname -r`/kernel/arch/x86/kernel/cpu/cpufreq/

2. Use modprobe command to add the exact CPUfreq driver.

modprobe [CPUfreq driver]

$ modprobe acpi-cpufreq

3. Next step is to install the cpupowerutils

$ yum install cpupowerutils

4. To list the governors available for use for a specific CPU you can use the below command.

$ cpupower frequency-info –governors

The currently loaded governors are: ondemand, userspace, and performance.

5. To get the list of all governors that are available below command can be executed.

$ ls -1 /lib/modules/`uname -r`/kernel/drivers/cpufreq/

6. The below comand can be executed to load the missing governors.

$ modprobe cpufreq_powersave

7. To confirm the modules that are using, use the below command.

$ lsmod |grep cpuf

8. To check the governors which are currently loading use the below command.

$ cpupower frequency-info –governors

9. To view the current policy execute the below command.

$ cpupower frequency-info

In the output obtained its clear that the current policy is “ondemand”.

10. Use this command to tune the policy and speed.

$ cpupower frequency-set –governor performance

11. The new governor can be confirmed using the below command.

$ cpupower frequency-info

[tagline_box backgroundcolor=”description=” shadow=”no” shadowopacity=”0.7″ border=”1px” bordercolor=”” highlightposition=”top” content_alignment=”left” link=”” linktarget=”_self” modal=”” button_size=”” button_shape=”” button_type=”” buttoncolor=”” button=”” title=”” description=”If you have any queries on how to set CPUfreq governor to Maximum Performance on Centos free to leave us a message and our representative will get back to you.

” margin_top=”50px” margin_bottom=”” animation_type=”slide” animation_direction=”left” animation_speed=”0.3″ class=”” id=””]

    [/tagline_box]