LWN: Comments on "Making power policy just work" https://lwn.net/Articles/287924/ This is a special feed containing comments posted to the individual LWN article titled "Making power policy just work". en-us Mon, 08 Sep 2025 05:45:04 +0000 Mon, 08 Sep 2025 05:45:04 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Making power policy just work https://lwn.net/Articles/290549/ https://lwn.net/Articles/290549/ greened <div class="FormattedComment"><pre> It strikes me that this problem has been studied already. For many applications, the kernel *can* discover usage patterns and adapt to save power. See for example the Vertigo project: <a rel="nofollow" href="http://www.arm.com/pdfs/IEMSoftwarePaper-OSDI2002.pdf">http://www.arm.com/pdfs/IEMSoftwarePaper-OSDI2002.pdf</a> </pre></div> Thu, 17 Jul 2008 20:19:14 +0000 Making power policy just work https://lwn.net/Articles/288882/ https://lwn.net/Articles/288882/ zdzichu <div class="FormattedComment"><pre> If I understand correctly, this is about spreading load on CPU, not cores. So dual core Intel CPUs won't gain anything from this. But quadcore Intel laptop CPUs would, as they are still not native QC but two dual-core sticked together. On the other hand, AMD K10 family CPUs have very power-independent cores, so even dual-core would benefit. AMD "Griffin" have split power-plane so I suppose this scheduling policy can help lowering power consumption on it. </pre></div> Mon, 07 Jul 2008 09:27:37 +0000 Making power policy just work https://lwn.net/Articles/288762/ https://lwn.net/Articles/288762/ IkeTo <div class="FormattedComment"><pre> <font class="QuotedText">&gt; | Tunables are basically "we give up, let's push the problem to the user"</font> <font class="QuotedText">&gt; Tunables are also something for external daemons to change</font> So "user" means "user mode". </pre></div> Sat, 05 Jul 2008 01:31:37 +0000 Making power policy just work https://lwn.net/Articles/288578/ https://lwn.net/Articles/288578/ ikm <div class="FormattedComment"><pre> Would the current dual-core notebooks benefit from this, or is this server-only? </pre></div> Thu, 03 Jul 2008 18:23:02 +0000 Making power policy just work https://lwn.net/Articles/288501/ https://lwn.net/Articles/288501/ mattdm <div class="FormattedComment"><pre> I had a boss a while ago who liked to lecture on the difference between "urgent" and "important". Not everything which is important needs attention right away, and there are some things which need to be responded to quickly but which aren't, in the big picture, as important. In this case, your bash prompt is urgent, but isn't necessarily as important as a background application. </pre></div> Thu, 03 Jul 2008 15:28:23 +0000 Making power policy just work https://lwn.net/Articles/288450/ https://lwn.net/Articles/288450/ davecb <div class="FormattedComment"><pre> Andi Kleen notes that: | Tunables are basically "we give up, let's push the problem to the user" | which is not nice. I suspect a lot of users won't even know if their | workloads are bursty or not. Or they might have workloads which are | both bursty and not bursty. Tunables are also something for external daemons to change: the famous example is the IBM z/OS Workload Manager (WLM), which looks at application (actually workload) progress and a table of requirements and adjusts CPU, IO and memory tunables to speed to slow the workload. --dave </pre></div> Thu, 03 Jul 2008 13:23:09 +0000 Making power policy just work https://lwn.net/Articles/288446/ https://lwn.net/Articles/288446/ epa <div class="FormattedComment"><pre> I think that 'priority' and 'interactivity' are two separate things and it's a mistake to use a single niceness level for both. My bash process shouldn't have a high priority if it starts chewing CPU time for long periods, but it needs to respond quickly to user input and then go back to sleep. </pre></div> Thu, 03 Jul 2008 12:54:13 +0000 Making power policy just work https://lwn.net/Articles/288437/ https://lwn.net/Articles/288437/ dipankar <div class="FormattedComment"><pre> Power nice levels would be nice to have, but I would dread using them to set a global system-wide power policy which is how it will be used in most data centers at the moment. I don't think it would be a good idea to add another user of tasklist_lock and iterate through every task in the system to set the power nice value. </pre></div> Thu, 03 Jul 2008 12:14:22 +0000 Making power policy just work https://lwn.net/Articles/288395/ https://lwn.net/Articles/288395/ rvfh <div class="FormattedComment"><pre> <font class="QuotedText">&gt; Peter Zijlstra observed that he has niced processes (created with distcc) which should have access to all of the CPU power available, but which should not contend with interactive processes on the same system.</font> Maybe the interactive task should be niced upwards, rather than distcc downwards. Looks like what he is really trying to achieve: a reactive desktop even with distcc running at full blast. </pre></div> Thu, 03 Jul 2008 08:24:25 +0000