vagnum08 / cpupower-gui

cpupower-gui is a graphical program that is used to change the scaling frequency limits of the cpu, similar to cpupower.
GNU General Public License v3.0
476 stars 31 forks source link

Add Intel pstate energy performance preferences #29

Closed vagnum08 closed 4 years ago

vagnum08 commented 4 years ago

Add utilities to read and write to energy_performance_preferences file if available. This only works on Intel systems with the intel_pstate driver.

The available energy preferences may differ from system to system but usually are:

They represent different energy vs performance hints and should be self-explanatory, except that default represents whatever hint value was set by the platform firmware.

After some testing, it seems that changing the governor of the CPU automatically changes the energy preference. For powersave it defaulted to balance_power and for performance to performance.

If the energy profile is explicitly set, changing the governor will not set the profile back. To switch to an "automatic" preference, that changes with the governor, set the value back to default.

2020-10-14-013714