kernel-5.15/cpupower.config
Eugene Shatokhin 218046fbb6 cpupower: Select the appropriate default governor
Should fix http://bugs.rosalinux.ru/show_bug.cgi?id=4329

If CPU frequency scaling is not supported (e.g. in a virtual machine),
cpupower will still be installed but its service will not be enabled.

If CPU frequency scaling is supported, cpupower will now use
- "ondemand" governor with "acpi_cpufreq" driver;
- "powersave" governor with "intel_pstate" driver.

These drivers support different sets of governors (for example,
"intel_pstate" does not support "ondemand") and therefore are
handled differently now.
2014-10-14 13:22:01 +04:00

3 lines
150 B
Text

# See 'cpupower help' and cpupower(1) for more info
CPUPOWER_START_OPTS="frequency-set -g @GOVERNOR@"
CPUPOWER_STOP_OPTS="frequency-set -g @GOVERNOR@