Re: [PATCH][2.5.32] CPU frequency and voltage scaling (0/4)

David Gibson (david@gibson.dropbear.id.au)
Fri, 30 Aug 2002 16:46:38 +1000


On Thu, Aug 29, 2002 at 02:22:51PM -0700, george anzinger wrote:
> Linus Torvalds wrote:
> >
> > In article <1030618420.7290.112.camel@irongate.swansea.linux.org.uk>,
> > Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> > >> { min-Hz, max-Hz, policy }
> > >>
> > >
> > >For a few of the processors "event-hz" or similar would be nice. The
> > >Geode supports hardware assisted bursting to full processor speed when
> > >doing SMM, I/O and IRQ handling.
> >
> > Hmm.. I would assume that you'd just use the high frequency for that?
> > So, for example, assuming you have a 600/300 Geode, when you do
> >
> > { 0, ~0UL, "power-save" }
> >
> > that would tell the Geode driver to run at 300MHz normally
> > ("power-save"), and at 600Mhz when doing critical events.
> >
> > In contrast, a
> >
> > { 0, ~0UL, "performance" }
> >
> > mode would mean that it always runs at 600MHz (modulo heat throttling,
> > of course).
> >
> > And a
> >
> > { 300, 300, "power-save" }
>
> How about { 50, 50, "power-save" } where the number refers
> to percent of full?
> I.e. same meaning IFF full is 600, but suppose it is 800.

Um... how about not. I can't think of a single situation in which
specifying this as a percentage of full speed is useful. It's even
less useful than raw MHz.

-- 
David Gibson			| For every complex problem there is a
david@gibson.dropbear.id.au	| solution which is simple, neat and
				| wrong.
http://www.ozlabs.org/people/dgibson
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/