← Back to team overview

kernel-packages team mailing list archive

[Bug 1584124] Re: revisit /etc/init.d/ondemand

 

Thanks Colin! So this confirms that we really should let the kernel be
in "performance" during boot. But from
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1579278/comments/9
it actually sounds like we should leave it to "performance" all the time
at least for processors which are ≤ 5 years old, as changing to
"ondemand" is actually detrimental to power saving. So for those we
don't need the init script at all, but if there's a simple way to tell
apart these cases, then the init script could just not do anything on
those newer processors, so that we can slowly phase this out.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1584124

Title:
  revisit /etc/init.d/ondemand

Status in linux package in Ubuntu:
  Confirmed
Status in systemd package in Ubuntu:
  Triaged

Bug description:
  We've been carrying /etc/init.d/ondemand for many years. We should
  revisit if booting with a kernel that defaults to "ondemand" right
  away is still actually slower than "performance".

  In the short term, systemd should grow a "Type=idle" unit that
  switches to ondemand, to replace the static "1 minute" sleep. This
  will also get rid of the last init.d script in "initscripts" that we
  actually use, and pave the way for dropping the initscripts package.

  In the long term, we could drop it completely if "ondemand" DTRT.

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


References