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