public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* (no subject)
@ 2003-02-03 15:47 Joeri Belis
  2003-02-03 16:55 ` CPU throttling?? Seamus
  0 siblings, 1 reply; 22+ messages in thread
From: Joeri Belis @ 2003-02-03 15:47 UTC (permalink / raw)
  To: linux-kernel

unsubscribe joeri.belis@nollekens.be



^ permalink raw reply	[flat|nested] 22+ messages in thread
* RE: CPU throttling??
@ 2003-02-03 21:14 Grover, Andrew
  2003-02-03 21:18 ` Dave Jones
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Grover, Andrew @ 2003-02-03 21:14 UTC (permalink / raw)
  To: Dave Jones, Valdis.Kletnieks; +Cc: John Bradford, Seamus, linux-kernel

> From: Dave Jones [mailto:davej@codemonkey.org.uk] 
> Valdis.Kletnieks@vt.edu wrote:
> 
>  > It's conceivable that a CPU halted at 1.2Gz takes less 
> power than one
>  > at 1.6Gz - anybody have any actual data on this?  
> Alternately phrased,
>  > does CPU throttling save power over and above what the halt does?
> 
> Given that most decent implementations scale voltage as well as
> frequency, yes, a lower speed will save more power.

You save the most power when the CPU is at the lowest voltage level, and
in the deepest CPU sleep state (aka CPU C state).

Throttling offers a linear power/perf tradeoff if your system doesn't
have C state support (or if you aren't using it) but really it is
preferable to keep the CPU at its nominal speed, get the work done
sooner, and start sleeping right away. The quote above makes it sound
like the voltage is scaled when throttling, and that isn't accurate -
voltage is scaled when sleeping (to counteract leakage current), at
least on modern Intel mobile processors.

Valdis, you may want to try compiling in ACPI and ACPI Processor support
in 2.5.latest and see what happens to your battery life (if you haven't
tried already). (A caveat - ACPI still doesn't work for everyone, but if
it does, you should see a power savings.)

Regards -- Andy

^ permalink raw reply	[flat|nested] 22+ messages in thread
* RE: CPU throttling??
@ 2003-02-03 21:51 Grover, Andrew
  0 siblings, 0 replies; 22+ messages in thread
From: Grover, Andrew @ 2003-02-03 21:51 UTC (permalink / raw)
  To: Dave Jones; +Cc: Valdis.Kletnieks, John Bradford, Seamus, linux-kernel

> From: Dave Jones [mailto:davej@codemonkey.org.uk] 
>  > Throttling offers a linear power/perf tradeoff if your 
> system doesn't
>  > have C state support (or if you aren't using it) but really it is
>  > preferable to keep the CPU at its nominal speed, get the work done
>  > sooner, and start sleeping right away. The quote above 
> makes it sound
>  > like the voltage is scaled when throttling, and that isn't 
> accurate -
>  > voltage is scaled when sleeping (to counteract leakage current), at
>  > least on modern Intel mobile processors.
> 
> Most (all?[1]) other modern x86 mobile processors behave the 
> way I mentioned.
> AMD Powernow (K6 and K7), VIA longhaul/powersaver all have 
> optimal voltages
> they can be run at when clocked to different speeds. By way 
> of example, a table from
> my mobile athlon..
> 
>     FID: 0x12 (4.0x [532MHz])   VID: 0x13 (1.200V)
>     FID: 0x4 (5.0x [665MHz])    VID: 0x13 (1.200V)
>     FID: 0x6 (6.0x [798MHz])    VID: 0x13 (1.200V)
>     FID: 0xa (8.0x [1064MHz])   VID: 0xd (1.350V)
>     FID: 0xf (10.5x [1396MHz])  VID: 0x9 (1.550V)
> 
> Sure I *could* run that at 523MHz and still pump 1.550V into it,
> but why would I want to do that ?

Voltage scaling. Yes, it's widespread. I was referring to an additional
capability to lower voltage while the CPU is sleeping. But I digress.

But this whole thread didn't start as a discussion of voltage scaling,
it started as a discussion of throttling - e.g. keeping your system at
1400MHz 1.550V and simulating a slower processor by toggling the STPCLK#
pin. And you're exactly right that no you *wouldn't* want to do that.

I think we are in agreement. ;-)

Regards -- Andy

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2003-02-04 15:38 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-03 15:47 Joeri Belis
2003-02-03 16:55 ` CPU throttling?? Seamus
2003-02-03 17:00   ` Dave Jones
2003-02-03 17:04   ` Martin Hermanowski
2003-02-03 17:13   ` John Bradford
2003-02-03 18:57     ` Valdis.Kletnieks
2003-02-03 19:02       ` Dave Jones
2003-02-03 19:09       ` Martin Hermanowski
2003-02-03 19:20         ` John Bradford
2003-02-04 14:12           ` Erik Mouw
2003-02-03 19:14       ` Matt Reppert
2003-02-03 19:24         ` Valdis.Kletnieks
2003-02-04 14:34           ` Daniel Egger
  -- strict thread matches above, loose matches on Subject: below --
2003-02-03 21:14 Grover, Andrew
2003-02-03 21:18 ` Dave Jones
2003-02-03 21:41   ` John Bradford
2003-02-03 22:14   ` H. Peter Anvin
2003-02-03 22:31 ` Ville Herva
2003-02-04 10:22 ` Seamus
2003-02-04 10:31   ` John Bradford
2003-02-04 11:01     ` Seamus
2003-02-03 21:51 Grover, Andrew

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox