← Back to team overview

touch-packages team mailing list archive

[Bug 1314653] Re: sysvinit: default cpufreq governor to powersave for intel-pstate driver

 

Hi,

I just have installed Ubuntu 14.04.2 LTS on my HP laptop with Intel CORE
i7 processor. CPU fan has been running at full speed most of the time. I
found out that performance governor was set (by default) and CPU clock
was always very high.

I fixed by editing /etc/default/cpufrequtils
ENABLE=true # default
GOVERNOR=powersave


No I have "powersave" mode after booting by default and quite CPU fan. Clock is now ~1.2 GHz when idling while it is automatically increased on higher load.

I just wanted to file a bug suggesting to set the governor to
"powersave" by default and found this on.

According to the state of this bug report this should already be fixed.
Is there a regression in Ubuntu 14.04.x Trusty Tahr?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to sysvinit in Ubuntu.
https://bugs.launchpad.net/bugs/1314653

Title:
  sysvinit: default cpufreq governor to powersave for intel-pstate
  driver

Status in sysvinit package in Ubuntu:
  Fix Released
Status in sysvinit source package in Trusty:
  Fix Committed
Status in sysvinit source package in Utopic:
  Fix Released

Bug description:
  When defaulting to the intel-pstate driver, there are only a couple of
  cpufreq governors available, none of which are handled in the
  /etc/init.d/ondemand script.

  Since this driver is meant to be used for power saving, it seems wrong
  to leave the system in the kernel default configured "performance"
  governor after boot, so I think it is pertinent to set this to
  "powersave" if it is the only suitable non-power hungry governor
  available.

  How to reproduce:

  1. enable the intel_pstate driver on a recent Intel machine
  (Sandybridge or above)

  edit /etc/default/grub, modify the following:

  GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_pstate=enable"

  and run:

  sudo update-grub

  and reboot.

  2. login

  3. wait at least 60 seconds for /etc/init.d/ondemand to complete

  check out the default cpufreq governor, you will see it is still set
  to the boot default of "performance":

  cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

  With the attached fix the system will boot into a less aggressive
  cpufreq governor.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/1314653/+subscriptions


Follow ups