https://askubuntu.com/questions/604720/setting-to-high-performance
To view available speed governors use this command:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
performance powersave
If you do have more than one governor you can check what is currently in use with this command:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
powersave
To change your processor to performance mode use:
echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
performance
You will then notice CPU% utilization drop by about 5% but also notice speed will increase from about 1000 MHz to 3000 MHz and temperatures will spike by ~10 degree, depending on your processor: