Set CPU Governor/Frequency using cpupower on Linux
Need more CPU power? Set your governor to performace. Wanna save money on utility bills? Then powersave it is. Changing CPU governor and frequency can be easily done on Linux by using cpupower. And it supports both AMD and Intel CPUs, using native modules like intel_pstate and acpi-cpufreq for best optimization.