← Back to team overview

kernel-packages team mailing list archive

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

 

@dino99: That's fine, the script has

AVAILABLE="/sys/devices/system/cpu/cpu$FIRSTCPU/cpufreq/scaling_available_governors"
[ -f $AVAILABLE ] || exit 0

thus it's a no-op for those cases.

-- 
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:
  Invalid
Status in systemd package in Ubuntu:
  In Progress

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