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.
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.