Skip to contentSkip to conversation

Processor dynamic power management for desktop machines

DISCUSSION Nick Hill 2 participants 2 messages Nov 5, 2003 – Nov 6, 2003 1 message not in the archive ACPI

lore
Share & tools
lore

Nick Hill

author
#0 lore raw

I have a desktop system based on an AMD Athlon XP2200+ running Linux Kernel 2.6.0-test9

The processor is not a notebook type and does not support powernow!

I have a power meter connected to the mains supply of the desktop machine, which provides a constant reading of power demand.

With the machine not under processing load, I have noticed a substantial difference in power demand between the throttling state t0 and throttling state t15. The power demand drops by between 21 and 36 watts.

As the demand waveform of the machine does not folow ohm's law, the power meter fluctuates as it samples different parts of the power waveform. When on t0, the reading fluctuates between 56 and 96w. T15 between 35 and 60watts demand.

The machine doubles as a desktop and server. The machine therefore needs to be powered on constantly. As the server processes are not generally processor intensive, the machine could be on t14 when not being used as a desktop machine.

Being an ecologically conscientious type, I have set up a shell script to allow me to easily change the processor throttling level. t0 (compiling etc) t10 (normal desktop use) and t14 (Leaving it on overnight).

Are there plans for a system to modulate power demand for desktop machines? My set up demonstrates substantial power saving is feasible with an inelegant userspace daemon (me!).

If there are 50 million GNU/Linux machines powered-on worldwide (this is a guestimate) and a power saving of 22 watts could be achieved, on average per machine, this would translate to a global energy saving of 1.1Gigawatt. As a substantial amount of power is lost in the power delivery infrastructure, this would translate to a saving of 1.7Gigawatt generating capacity worldwide, or $56,000 per hour at average production prices.

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/

#2 lore raw
In reply to a message not in the archive
Quoted 22 lines · Nick Hill

I have a desktop system based on an AMD Athlon XP2200+ running Linux Kernel 2.6.0-test9

The processor is not a notebook type and does not support powernow!

I have a power meter connected to the mains supply of the desktop machine, which provides a constant reading of power demand.

With the machine not under processing load, I have noticed a substantial difference in power demand between the throttling state t0 and throttling state t15. The power demand drops by between 21 and 36 watts.

As the demand waveform of the machine does not folow ohm's law, the power meter fluctuates as it samples different parts of the power waveform. When on t0, the reading fluctuates between 56 and 96w. T15 between 35 and 60watts demand.

The machine doubles as a desktop and server. The machine therefore needs to be powered on constantly. As the server processes are not generally processor intensive, the machine could be on t14 when not being used as a desktop machine.

Quoted 7 lines

Being an ecologically conscientious type, I have set up a shell script to allow me to easily change the processor throttling level. t0 (compiling etc) t10 (normal desktop use) and t14 (Leaving it on overnight).

Are there plans for a system to modulate power demand for desktop machines? My set up demonstrates substantial power saving is feasible with an inelegant userspace daemon (me!).

Indeed, there is. Check the "cpufreq" project. While it currently does not use ACPI-based throttling for "frequency scaling", there is work going on to support dynamic adaption of CPU frequency levels based on system load, user preferences, etc.

Dominik

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/