"powersave" governor should be listed as one possible value for the ondemand init.d script

Bug #1411802 reported by Niccolo'
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sysvinit (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

On my system i have the following CPU:
Intel(R) Core(TM) i5-3427U CPU @ 1.80GHz

The only possible options for the scaling governors are
"powersave" and "performance"

$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
performance powersave

The intention of the /etc/init.d/ondemand script is to select the autoscaling cpu governor
The powersave is the equivalent of "ondemand" or "interactive".

A patch may be:

$ diff ondemand /etc/init.d/ondemand -u
--- ondemand 2015-01-16 14:15:03.450942021 -0500
+++ /etc/init.d/ondemand 2015-01-16 13:49:58.392155974 -0500
@@ -36,6 +36,10 @@
    GOVERNOR="ondemand"
    break
    ;;
+ *powersave*)
+ GOVERNOR="powersave"
+ break
+ ;;
   *)
    exit 0
    ;;

Revision history for this message
Doug Smythies (dsmythies) wrote :

There has been some regression with this file, because the above mentioned change was originally done a long time ago.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in sysvinit (Ubuntu):
status: New → Confirmed
Revision history for this message
Doug Smythies (dsmythies) wrote :

For my post above please note that there is not a regression, as I did the edit to /etc/init.d/ondemand myself a long time ago, and then forgot that I had done so.

Since your are changing back from the intel_pstate driver being disabled by default to enabled by default, this change needs to be included. It is urgent because it should be included as part of the 14.04.2 release in less than a week.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.