unsubscribe [email protected]
CPU throttling??
Just a simple question,
Would it be possible to throttle cpu when machine is in idle mode in Linux? or is it purely a BIOS and motherboard functionality.
As you know some modern laptops in order to save power, throttle cpu (lower the cpu clock cycles per sec) when in idle mode.
Thanks,
Seamus
Re: CPU throttling??
Quoted 5 lines · Seamus
Would it be possible to throttle cpu when machine is in idle mode in Linux? or is it purely a BIOS and motherboard functionality.
As you know some modern laptops in order to save power, throttle cpu (lower the cpu clock cycles per sec) when in idle mode.
ACPI does this, CPUFreq does this, and if you're really lucky, there are some APM implementations that do it.
Dave
Signature · 2 lines
| Dave Jones. http://www.codemonkey.org.uk | SuSE Labs
Re: CPU throttling??
In reply to SeamusQuoted 7 lines · Seamus
Just a simple question,
Would it be possible to throttle cpu when machine is in idle mode in Linux? or is it purely a BIOS and motherboard functionality.
As you know some modern laptops in order to save power, throttle cpu (lower the cpu clock cycles per sec) when in idle mode.
Works well with my P3m
Regards,
Martin
Re: CPU throttling??
In reply to SeamusQuoted 7 lines
Just a simple question,
Would it be possible to throttle cpu when machine is in idle mode in Linux? or is it purely a BIOS and motherboard functionality.
As you know some modern laptops in order to save power, throttle cpu (lower the cpu clock cycles per sec) when in idle mode.
CPU speed throttling is is something is that is currently being worked on.
Incidently, Linux has always halted the processor, rather than spun in an idle loop, which saves power.
John.
Re: CPU throttling??
Quoted 2 lines · John Bradford
Incidently, Linux has always halted the processor, rather than spun in an idle loop, which saves power.
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?
Signature · 3 lines
Valdis Kletnieks Computer Systems Senior Engineer Virginia Tech
Re: CPU throttling??
Quoted 3 lines · On Mon, Feb 03, 2003 at 01:57:17PM -0500, [email protected] 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.
Dave
Signature · 1 line
| Dave Jones. http://www.codemonkey.org.uk
Re: CPU throttling??
In reply to [email protected]Quoted 8 lines · On Mon, Feb 03, 2003 at 01:57:17PM -0500, [email protected] wrote:
Quoted 2 lines · John Bradford
Incidently, Linux has always halted the processor, rather than spun in an idle loop, which saves power.
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?
If I slow down my 1GHz CPU to 732MHz, I get 15min more (195min total). So it is not much, but noticeable.
Regards,
Martin
Re: CPU throttling??
Quoted 9 lines
Quoted 6 lines
Quoted 2 lines
Incidently, Linux has always halted the processor, rather than spun in an idle loop, which saves power.
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?
If I slow down my 1GHz CPU to 732MHz, I get 15min more (195min total). So it is not much, but noticeable.
Does anybody have any data on frequency throttling on non-X86 architectures?
John.
Re: CPU throttling??
Quoted 2 lines · John Bradford
Does anybody have any data on frequency throttling on non-X86 architectures?
See http://www.lart.tudelft.nl/projects/scaling/ for papers describing clock&voltage scaling on StrongARM SA-1100. The same page also has my OLS 2002 cpufreq overview paper.
Erik
Signature · 3 lines
J.A.K. (Erik) Mouw Email: [email protected] [email protected] WWW: http://www-ict.its.tudelft.nl/~erik/
Re: CPU throttling??
In reply to [email protected]Quoted 8 lines · On Mon, 03 Feb 2003 13:57:17 -0500 [email protected] wrote:
Quoted 2 lines · John Bradford
Incidently, Linux has always halted the processor, rather than spun in an idle loop, which saves power.
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?
Yes. I have a powerpc laptop that runs at 700 MHz. If I throttle the CPU clock speed down to 400 MHz and change nothing else the battery has noticeably longer life; since it's running slower, it takes less power when it's active (not halted).
Matt
Re: CPU throttling??
Quoted 1 line · Matt Reppert
Yes. I have a powerpc laptop that runs at 700 MHz. If I throttle the CPU cloc
k
Quoted 1 line
speed down to 400 MHz and change nothing else the battery has noticeably long
er
Quoted 2 lines
life; since it's running slower, it takes less power when it's active (not halted).
I knew that. The question I asked was whether halted at 700Mhz takes more power than halted at 400Mhz...
Re: CPU throttling??
Am Mon, 2003-02-03 um 20.24 schrieb [email protected]:
Quoted 2 lines
I knew that. The question I asked was whether halted at 700Mhz takes more power than halted at 400Mhz...
PowerPC CPUs will shut down unneeded units. There's no such things as a "hlt" instruction. The natural way to slow down the CPU causing more sparetime to shut down single units is to throttle the dispatching of instructions for which there's are flags in the control register set.
I've no idea where the frequency scaling should happen but it either needs some hardware clock control or it's the mentioned dispatch throttling. In case of the former there'd be some powersave effects because the power drawn by a CPU is direct proportional to the frequency. In the latter case the difference between an automatically sleeping 700Mhz and a throttled 700Mhz cpu at "400Mhz" should be pretty small, in case the cpu is mostly idle.
Signature · 2 lines
Servus,
Daniel