Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

kajarvine_115939 avatar image
kajarvine_115939 asked ·

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 characters needed characters left characters exceeded

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 ·

@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 characters needed characters left characters exceeded

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

THANKS! Will do this.

0 Likes 0 · ·

Not a problem. Cheers!

0 Likes 0 · ·