Commit graph

4 commits

Author SHA1 Message Date
Eugene Shatokhin
ecc4aae2dc cpupower: Select the governor at start time rather than during install
Should fix bug #4810.

cpupower will now select the governor automatically during the start of
the service, based on what is available. This can be overridden with
the variables in /etc/sysconfig/cpupower (see the comments there).
2015-03-13 17:29:40 +03:00
Eugene Shatokhin
6244f8050a Added missing quote 2014-10-15 18:34:03 +04:00
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
Rosa
dc291263e2 Automatic import for version 3.10.19-1 2013-11-16 00:27:01 +04:00