Re: cpu frequency maximized even for a niced job w/ v2.6.29-rc3
From: Toralf FÃrster
Date: Sat Feb 07 2009 - 15:48:42 EST
At Saturday 07 February 2009 20:55:45 Arjan van de Ven wrote :
> On Sat, 7 Feb 2009 11:30:10 +0100
>
> Toralf FÃrster <toralf.foerster@xxxxxx> wrote:
> > I'm wondering, why my ThinkPad T41 goes from 600 MHz to 1.7 GHz if I
> > run this job :
> >
> > $> while [[ true ]]; do nice -3 factor 273244676154386297; done
> >
> > under v2.6.29-rc3-562-geda58a8.
> >
> > Former version stays at min frequency (600 MHz).
>
> The kernel has defaulted to this for I think a really long time;
> maybe your "former version" was a distribution kernel with patches?
>
> Either way this is a simple tunable in sysfs; and to be honest,
> going to the full speed is very often the right behavior so as a
> default it is quite sane...
Oh - maybe I for got to mention that I set ./ondemand/ignore_nice_load to "1"
--
MfG/Sincerely
Toralf FÃrster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/