question

kajarvine_115939 avatar image
kajarvine_115939 asked Erick Ramirez commented

Is there a need to disable CPU frequency scaling on CentOS?

Hi; going through that great doc "Recommended Production Settings" I found story of CPU Governors.

By default my PROD CentOS servers seem not to have those activated.

"Disable CPU frequency scaling"

/sys/devices/system/cpu/cpu*/cpufreq

The is no such subdir at all.
So; if that does not exist; is there any need to diable either?

Or; what is/are the packages to add to the CentOS deployment?

cpu governorcpu scaling
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered Erick Ramirez commented

@kajarvine_115939 It really depends on the version of CentOS but in newer versions of RHEL 6 onwards, the cpufreq drivers were built in to the kernel tools package and is enabled by default. You can possibly check with other commands such as lsmod to see if it's installed or enabled on your systems.

In case you haven't already seen it, I've provided some additional reference info in this KB article I published a few years ago which you might find useful -- High server load and latency when CPU frequency scaling is enabled. Cheers!

2 comments Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

kajarvine_115939 avatar image kajarvine_115939 commented ·

THANKS! Will do this.

0 Likes 0 ·
Erick Ramirez avatar image Erick Ramirez ♦♦ kajarvine_115939 commented ·

Not a problem. Cheers!

0 Likes 0 ·