Commit Graph

3 Commits

Author SHA1 Message Date
Dan Streetman
65f46a7d14 remove Ubuntu-specific ondemand.service
New processors handle scaling/throttling in internal firmware
(e.g. intel_pstate), and do not require OS config.

Additionally, nobody else does this, not even Debian.

And finally, this has caused problems for years, e.g.:

https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/1497375
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1503773
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/1480320
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1579278
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1806012
https://bugs.launchpad.net/charm-sysconfig/+bug/1873028
2020-04-16 10:53:10 -04:00
Martin Pitt
106676a209 Add debian/extra/units-ubuntu/user@.service.d/timeout.conf
This avoids long hangs during shutdown if user services fail/hang due to X.org
going away too early. This is mostly a workaround, so only install for
Ubuntu for now.
2016-07-26 10:39:22 +02:00
Martin Pitt
2558ca883b On Ubuntu, provide an "ondemand.service" that replaces /etc/init.d/ondemand
The latter does not exist any more when "initscripts" falls out of the default
installation. This now does not do a fixed one-minute wait but uses "Type=idle"
instead. This also becomes a no-op when the CPU supports "intel_pstate" (≤ 5
years old), as on these the ondemand/powersave schedulers are actually
detrimental.

LP: #1584124
LP: #1579278
2016-06-08 11:16:12 +02:00