PC Power Management, ACPI Explained In Detail 133
DK writes "Computer performance has increased steadily in recent years, and unfortunately so has power consumption. An ultimate gaming system equipped with a quad-core processor, two NVIDIA GeForce 8800 Ultra, 4 sticks of DDR2 memory, and a few hard drives can easily consume 500W without doing anything! To reduce power wastage, the industry standards APM and ACPI have been developed to make our computers work more efficiently. ACPI is the successor of APM and is explained in detail in this article."
Re:Not worth reading this crap (Score:2, Informative)
Re:ACPI? (Score:2, Informative)
Re:OS (Score:2, Informative)
PSU wattage (of course) has nothing to do with the speed of the machine. And while Vista is a power hungry beast, I don't think you can specify it's performance needs by stating the minimum wattage of the PSU. One can easily spec out a machine with a (say) 400W PSU that will run Vista just fine. You just need to pick speedy hardware that doesn't eat too much power. That means staying of the uber-high end stuff, which historically always had a bad power to performance ratio.
Besides, in a few months we'll have (more) budget-end PC's with the performance of today's mainstream ones which will run Vista, using an even smaller PSU.
ACPI is a disaster (Score:5, Informative)
Decent standards: IDE, VGA, PC serial interface, PC parallel interface, PC keyboard interface, UHCI, OHCI, etc.
Now we standardize an interface to non-standard hardware via ACPI. The OS is supposed to run ACPI code (a script) in a complicated interpreter. ACPI code is slow and buggy, and generally gets to do whatever it wants with the hardware. It's like making BIOS calls to do everything, but without even the minor advantage of native code.
This is especially painful for boot loaders. You can't run an ACPI interpreter in a 512-byte boot sector. You probably can't do it in any reasonable boot loader.
This is even painful for power management. For example, OLPC wants to suspend the CPU between every keystroke; that doesn't work so well if you need to run an ACPI code script to do it.
Whatever (Score:5, Informative)
My 4 year old xenon dual processor (Thats two physical CPUs) PC with (~10 fans) with no power management support in the CPUs idles at 200 watts including powering the display and extraneous trinkets attached to the watt meter plugged into my wall.
All new PCs with multiple cores on single processors have power management features and use concideribly less power when idling.
Whats worse is the article spouts all kinds of mostly useless techno crap about power states without providing any context into what it means or useful information in terms of actual OS power settings one can configure to do something about their PCs power usage.
Re:500W? (Score:3, Informative)
If you think that's bad, the new R600 series from ATI/AMD supposedly uses up to 270 watts.
Re:ACPI is a disaster (Score:5, Informative)
There is a standard for these ACPI scripts, as you pointed out it's not great but at least there is one. There's also a compiler for them, written by Intel that complies with the standard.
But most hardware makers don't use Intel's compiler that complies with standards... They use Microsoft's compiler that completely breaks the standards, thus OS authors can't just implement according to Intel's published standards, they have to reverse engineer Microsoft's unpublished variations.
Re:OS (Score:3, Informative)
Just about all electronic equipment has what I would call useless add-ons such as digital clocks. Manufacturers are not stupid they want to sell their product and if they feel a clock or other non-essential add-on will make their product more attractive they will add this in as long as the total standby consumption is less than 1W.
The best way to switch off your entertainment system is via central isolator but do you want to keep reseting your timer clocks every time you power it up? You can switch off non-essential equipment by throwing the main power switch on each device that does not have a clock but this gets tedious.
This post actually sparked my curiosity on the latest consoles standby modes and surprisingly the PS3 came out well under 1W. The Wii came out at 8W (wow!) and the Xbox360 came out at 2W. However when the consoles were doing something the PS3 runs at approx 200W to the Wii's 17W and the Xbox360's 160W http://www.digitaldisplacement.com/?p=1907 [digitaldisplacement.com]. If you only have a Wii then yes you can say the PS3 sucks for running power, however we are comparing a machine (Wii) that outputs Standard Def graphics compared to a machine that outputs to 1080p so the Xbox360 owners can take comfort that their machine does not use as much power (of course that does not include the hard drive or the HD-DVD so consumption could be much higher). If you have a gaming PC it is not advisable to say anything about any of the console running costs, "least ye be stoned to death"
Re:ACPI is a disaster (Score:4, Informative)
About your point about standardizing on an abstract interface of non-standardized hardware, consider:
Finally, to go back to your OLPC example. First of all I am not sure why you would want to put an ACPI interpreter into the boot loader? Is there a reason OLPC is doing this? As for you implying that you need to run ACPI code to suspend the CPU (after each keystroke), this is just not true. C-states (which i assume you are talking about) are entered by simply reading a register for the state, as described by the _CST definition. So all you need to do is parse the definition once, and remember the corresponding registers and never parse the AML code again. Same for T-states or P-states, which are entered by writing to the proper registers. There is no such running "ACPI script" overhead like you've described when handling processor power management.
Re:500W? (Score:3, Informative)
Math... (Score:2, Informative)
720 h * 1 watt / 1000 (w/kw) = 0.720 kw-h
0.720 kw-h * $0.10 = $0.072 or a little over 7 cents per month.
I just don't know what you were thinking - did you mean to use pesos?