CPU Frequency Scaling and Niceness

Evan eapache at gmail.com
Tue Apr 28 19:39:58 UTC 2009

On Tue, Apr 28, 2009 at 3:09 PM, Marius Gedminas <marius at pov.lt> wrote:

> On Mon, Apr 27, 2009 at 04:18:42PM -0400, Evan wrote:
> > I just updated to from Intrepid to Jaunty, and I noticed something
> curious.
> > I believe this is a bug, but even if it isn't, I thought it should be
> > raised.
> >
> > If a cpu (or core) is set to "Ondemand" and an application with a high
> nice
> > value is running:
> > - In intrepid, the cpu remained scaled down
> > - In jaunty the cpu scales up to 100%
> >
> > I found a website [1] which does a good job of explaining it, and I tried
> > setting my ignore_nice_load to 1, but nice processes still scale the
> > processor up. Unless I am mistaken, this is a bug. What information
> should I
> > attach to the bug report?
> Why is it a bug?  According to Matthew Garrett, to save power, you want
> to finish executing a task as soon as possible, which means running for
> a shorter time at 100% speed.
> http://mjg59.livejournal.com/88608.html

I understand that, however there are cases where restricting very nice
processes is useful. My point is that it isn't doing something that it says
it should do. That is, by definition, a bug. I have reported it at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20090428/69ef326d/attachment.html>

More information about the Ubuntu-devel-discuss mailing list