Slashdot Mirror


S3 Standby State Done Right

For Earth Day, Cameron Butterfield has written in with a pointer to his article on how to get your Windows PC into S3 sleep, and why you want to. It covers the question of how to take advantage of this extremely low-power mode even when your machine is an "always on" file server, remote desktop, or VNC server.

16 of 216 comments (clear)

  1. And Linux? by Ed+Avis · · Score: 4, Insightful

    Great for Windows users... but what are the options to set up a Linux system to reduce power usage and fan noise when idle?

    --
    -- Ed Avis ed@membled.com
    1. Re:And Linux? by BACbKA · · Score: 5, Informative

      Gentoo's Power Management Guide is a bit gentoo-centric, but most things carry to another distribution easily.

      --

      VKh

    2. Re:And Linux? by BillGatesLoveChild · · Score: 5, Funny

      > what are the options to set up a Linux system to reduce power usage and fan noise when idle?

      Disconnect those pesky cooling fans. They just make a lot noise and suck up power. Truth is, your PC will run fine without them. It's just a scam by equipment manufacturers to make a few extra bucks out of you. I've been running with them removed for years, no problems.

      regards
      Scott E. Brown
      NOAA Antarctic Station

  2. Also available on Linux by Anonymous Coward · · Score: 4, Informative

    It doesn't seem to be a hot topic because I couldn't google a definitive page. There were lots of pages for individual computers or distros though.

    The documentation is probably on your own computer at: /usr/src/linux/Documentation/power/ ... The exact file on my system is states.txt but it also seems to exist on other distros as suspend.txt

  3. dumppo.exe the Microsoft Power Tool by MSRedfox · · Score: 5, Informative

    Windows XP will often times not give s3 suspend as an option even when turned on in BIOS. But with Microsofts dumppo.exe utility you can force it to use an S3 or S4 state. ftp://ftp.microsoft.com/products/Oemtest/v1.1/WOST est/Tools/Acpi/dumppo.exe To force it to S3, run this under command prompt "dumppo admin minsleep=s3"

    1. Re:dumppo.exe the Microsoft Power Tool by ergo98 · · Score: 4, Informative

      I wrote about the power consumption of S1 versus S3 sleep, and as you mentioned dumppo.exe was the enabling-tool that let me take advantage of this great bit of functionality.

      The biggest downside of S3 sleep is that about 1 out of every 200 recovers or thereabouts it completely fails to come back, thought that's probably a mainboard issue more than an OS or technology issue.

      Oh, and a great little helper app if you use S3 is WakeUpOnStandBy. It allows you to configure a machine to "come alive" at scheduled times, even from an S3 sleep (apparently the BIOS supports configured wake-up times, and this app knows to tell it to wake up accordingly just as going to sleep). Very helpful little app -- I have my PC set to come alive in the morning when I know I'll be remoting in.

      Oh, and rather than waking up on all network traffic, as the article recommends, it's far better to wake up on WakeOnLan packets. There are lots of resources out there for that.

  4. Re:network broadcast traffic by Bozzio · · Score: 4, Informative

    yes it will.
    Or it does for me. Even if the computer is alone on the router. It seems my router occasionally broadcasts something and wakes up all my computers.

    I've switched to using the magic packet alternative. The only problem is that since my server PC is behind my router, I have to SSH into the router and sent the magic packet from there. ICKY.

    I hear other routers (mine is a Linksys WRT54GS) will let you WOL remotely. Normally, you just send your magic packet to the router and set up the router to convert it to a broadcast.

    If I remember correctly, a magic packet is just a packet with the correct header and the client's MAC address broadcast to the network.

    --
    I just pooped your party.
  5. want a "file transfer" powerdown mode. by plasmacutter · · Score: 4, Interesting

    often, my computers cant be put to sleep because theyre transferring files (over aim, bit torrent, you name it.. every app according to its need).

    Ive noticed all companies, including apple, whose products i use, are giving you only a black and white choice. you either have the computer awake or its fully asleep.

    i'd like to have a low power transfer mode, where the cpu is reduced (to 1 core at say 500 mhz), the monitor is turned off, and as much memory as possible is dedicated to the apps which are doing intensive file reads/writes. this will allow the hard drives to be used less by caching the files in ram and pulsing the hard disk.

    --
    VLC FOR MAC IS DYING! IF YOU DEVELOP, PLEASE SAVE IT!!
  6. Re:S3 and MCE by MSRedfox · · Score: 4, Informative

    Under MCE, I use the MCE Standy Tool. MCE has a bad habit of waking up to record a show and then not returning to standby afterwards. This can result in the computer staying on all day instead of just 1/2 hour to record a small show. The Standby Tool has features to help MCE handle power management in better ways then Windows default methods. It makes me wonder why Microsoft couldn't get things to work as smoothly as this 3rd party software. http://www.xs4all.nl/~hveijk/mst/indexe.htm

  7. Bad Assumption by Anonymous Coward · · Score: 4, Informative

    * I calculated (24 hours per day) * 30 days a week [sic] = 720 hours
    * Power bills are generally measured in kilowatt hours or "kW/h"s. Power rates might be as much as $0.12 per kW/h
    * Our total cost of having the computer on 24/7 for the month in this scenario would be as follows:
    * .4 kW (400watts) * 720 Hours * $0.12kW/h = $34.56 The 400 watts per hour is a really poor assumption. First, the average home PC wouldn't use 400 watts at peak, let alone continuously. Secondly, the 400 watts would almost never be continuous. Even a PC left on overnight will use far less power then one being actively used during the day. My power costs almost $0.11 per kilowatt-hour, and I have a power bill during non-summer months (damn AC) of about $45-$55 dollars with two desktop computers running 24/7. I honestly wouldn't be surprised if most of this came from my computers, but it certainly isn't as much as the article makes it sound.

    That said, it is a good article on how to keep the "instant-on" without using excess power.
  8. My weeks only have 7 days in them. by QuietLagoon · · Score: 4, Funny
    From the article: I calculated (24 hours per day) * 30 days a week = 720 hours

    Does that mean my PC costs one-quarter of what he calculates?

  9. Re:FreeBSD by Anonymous Coward · · Score: 5, Funny

    Guys! You found each other!

    Shouldn't you guys exchange phone numbers or something?

  10. What an opening by LordSnooty · · Score: 4, Funny

    Because of increasing awareness in the general public about energy conservation, the ability to utilize low power states on desktop PCs is incredibly underdocumented and widely unused.
    The opening sentence fails to compile in my logic parser - there is little documentation because of increasing awareness? Better would have been: "Because of increasing awareness in the general public about energy conservation, people want to know more about the ability to utilize low power states on desktop PCs. What they're finding is that it's incredibly underdocumented and widely unused." Oh, and "underdocumented" doesn't appear to be a word.

    Welcome to the exciting new world of UGC.
  11. Re: S3 Standby State Done Right by bi_boy · · Score: 4, Informative

    Slightly off tangent, but hibernation (S4) fails in WinXP SP2 if you have more than 1GB of RAM.

    Works just fine for me. Probably because I installed the udpate mentioned in the resolution section of the article sometime last year.

    --
    Chicken fried butter sticks? Do ... do you use a fork? - Black Mage, 8-Bit Theater
  12. Nice FUD by The+Bungi · · Score: 5, Informative
    Anything M$ touches is shit

    Oh yeah.

    Bill Gate's memo

    That's an interesting email from 1999. Myself, I've been known to send emails to the tone of "how can we prevent the competition from leeching on our multi-million dollar R&D investment with our technology partners", but OK.

    Would you like to point me to the follow up email from Eric Rudder that says "Hi Bill - As you requested, we've made the ACPI extensions specific to Windows so no one else can implement them. Cheers!" I can't seem to find it.

    Oh, wait - here's ACPIfor Linux and ACPI for FreeBSD. Indeed, here's a quote from the WP entry:

    The Advanced Configuration and Power Interface (ACPI) specification is an open industry standard first released in December 1996 developed by HP, Intel, Microsoft, Phoenix and Toshiba that defines common interfaces for hardware recognition, motherboard and device configuration and power management.

    Now, ACPI has its shortcomings. It's complicated. It might not be your ideal of a standard. But it is an open standard, which Linux indeed implements. It might be broken in some ways in Linux as it is in Windows, but implemented it is. It's an important standard because it takes hardware out of the equation, which is important for a general OS that's supposed to support a wide range of it.

    I still use APM for the most part

    Really? That's also a Microsoft-defined standard (along with Intel):

    Advanced Power Management (APM) is an API developed by Intel and Microsoft

    Is that standard "shit" as well? And if you all these standards from Microsoft are "shit", then why do you use them at all? You use Linux, right? Why don't you come up with your own standard and give it to the free software world so they can stop using all these "shit" open standards that Microsoft has bothered to make open for anyone to use? Which reminds me, I'd love to see that other email about ACPI I mentioned. Thanks.

  13. To see available Sleep modes from Windows Prompt by icepick72 · · Score: 4, Informative
    From command window:

    powercfg -a
    Works for both XP and Vista. Tells you what's available and what's not (S1, S2, S3,...) Vista tells you why something isn't support.

    Got info from this page