CPU Governor

By default Linux uses the 'powersave' CPU governor. On 100G hosts, we've seen throughput go from 57Gbps to 79Gbps by changing to the 'performance' governor instead. The command to set this is:

  • For RHEL/CentOS systems:
cpupower frequency-set -g performance
  • For Debian/Ubuntu systems:
cpufreq-set -r -g performance

To watch the CPU governor in action, you can do this:

watch -n 1 grep MHz /proc/cpuinfo

You can also set this in the BIOS. Note that if you manually set the CPU power setting in the BIOS, then these commands may not work. 

 Reference: CPU Frequency Scaling