Just opened a MP against systemd to make the 'ondemand' service configurable through
/etc/default/cpufrequtils file.
This change has two purposes :
1) Make 'onedmand' service configurable.
It is important for the 'ondemand' service to be configurable because depending on the use case
and the the CPU model, 'ondemand' may not select the optimal governor for the user's needs.
2) Fix an existing bug when cpufrequtils installed.
In case cpufrequtils is installed and user has chosen a different
governor (by editing the /etc/default/cpufrequtils file) than the one selected
by ondemand service, the ondemand service will overwrite user's settings and
stick to its selection.
With this change the ondemand service will first check if the /etc/default/cpufrequtils
files exist and in case there is a governor defined, the ondemand service will select
the defined governor.
In case there is no such file, ondemand service will behave as it does currently.
The /etc/default/cpufrequtils file is chosen on purpose to provide
compatibility between ondemand service and cpufrequtils package.
Just opened a MP against systemd to make the 'ondemand' service configurable through cpufrequtils file.
/etc/default/
This change has two purposes :
1) Make 'onedmand' service configurable.
It is important for the 'ondemand' service to be configurable because depending on the use case
and the the CPU model, 'ondemand' may not select the optimal governor for the user's needs.
2) Fix an existing bug when cpufrequtils installed. cpufrequtils file) than the one selected
In case cpufrequtils is installed and user has chosen a different
governor (by editing the /etc/default/
by ondemand service, the ondemand service will overwrite user's settings and
stick to its selection.
With this change the ondemand service will first check if the /etc/default/ cpufrequtils cpufrequtils file is chosen on purpose to provide
files exist and in case there is a governor defined, the ondemand service will select
the defined governor.
In case there is no such file, ondemand service will behave as it does currently.
The /etc/default/
compatibility between ondemand service and cpufrequtils package.