Set all CPUs to performance governor:
for GOVERNOR in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; \
do \
echo "performance" | sudo tee $GOVERNOR; \
done
All supported governors by Linux kernel:
- performance Run the CPU at the maximum frequency.
- powersave Run the CPU at the minimum frequency.
- userspace Run the CPU at user specified frequencies.
- ondemand Scales the frequency dynamically according to current load. Jumps to the highest frequency and then possibly back off as the idle time increases.
- conservative Scales the frequency dynamically according to current load. Scales the frequency more gradually than ondemand.
- schedutil Scheduler-driven CPU frequency selection
See https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt