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.

54 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 Asztal_ · · Score: 3, Funny

      You realise that would be finished in 15 seconds and then you could put it to sleep, right?

    3. Re:And Linux? by rduke15 · · Score: 3, Informative

      See this article: Debian HOW-TO : CPU power management. I used the info to configure a couple of Poweredge 860 server. Most of the time, it's at a CPU speed of 300Mhz instead of 3 Ghz. That saves quite some power, and you cannot notice the difference in speed.

    4. 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

    5. Re:And Linux? by Sigma+7 · · Score: 2, Funny

      Disconnect those pesky cooling fans. They just make a lot noise and suck up power. Truth is, your PC will run fine without them. "You've got a hole in your mainboard."

      On a more serious note, cooling fans are recommended as they help keep the CPU cool. PC case fans are considered optional, but can be used if your CPU is reporting temperatures that are considered higher than what they should be (which may actually be ambient heat from the power supply.)

      When referring to laptops or notebooks, it depends on the model. While my notebook is at a normal temperature most of the time, I have been running a few 100% CPU tasks which does heat up the notebook. As a result, I had to purchase an external cooling fan so that I wouldn't burn my fingers on the keyboard/touchpad as much.

    6. Re:And Linux? by flyingfsck · · Score: 2, Interesting

      Here you go:
      service syslog stop
      hdparm -B 1 /dev/sda
      hdparm -S 5 /dev/sda
      echo 5 /proc/sys/vm/laptop_mode

      --
      Excuse me, but please get off my Pennisetum Clandestinum, eh!
    7. Re:And Linux? by smorar · · Score: 2, Informative

      I found an awesome blog post the other day which explained how to get a desktop linux box into S3 suspend. It's all about your BIOS settings. Now, I can turn my pc 'off', and it takes less than 5s to resume. http://shallowsky.com/blog/linux/desktop-suspend.h tml

    8. Re:And Linux? by Thomas+Shaddack · · Score: 3, Informative

      A way to make a computer quieter is replacing the smaller fans with somewhat bigger ones, and slow down their rotation (eg. with a suitable series resistor). The aim is to get comparable airflow over the heatsink with lower fan blade speed, which means less turbulence over them, which means much less noise.

  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. Laptops? by Vo1t · · Score: 2, Interesting

    I wonder if how does S3 work on a laptop? Does laptops' built-in energy saving mechanism collide with tricks described in the article?

    1. Re:Laptops? by Southpaw018 · · Score: 2, Informative

      Most laptops come preconfigured to take advantage of most of the stuff in the article, though it wouldn't hurt to check. The last few new Dell laptops we've purchased at my organization default to S1 after a few minutes, S3 if you close the lid or hit sleep, and S4/S5 for shutdown.

      --
      ACs are modded -6. I don't read you, I don't mod you, I don't see you. Don't like it? Don't be a coward.
  4. S3 and MCE by gEvil+(beta) · · Score: 3, Interesting

    I use the S3 standby on my MCE machine, and it's really really nice. I turn the machine on and off (well, awake/asleep) using the power button on the remote, and the machine is up and ready to go in about 3 or 4 seconds (as long as it takes me to switch the TV to the right input). I've only ever had it refuse to wake up once in the 1-1/2 years I've been using it, and that was remedied by using the power button on the front of the machine (it woke right up and didn't even need to be rebooted). Definitely worth looking into for instantaneous access + decent power savings.

    --
    This guy's the limit!
    1. 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

    2. Re:S3 and MCE by MSRedfox · · Score: 2, Informative

      It happened after watching live TV for me. If I was watching a recording or DVD and suspended, it would re-suspend after recording new shows just fine. But if I pressed the PC suspend button on my remote after watching live TV, the next time it woke up to record a show, the PC would stay on after the recording was done. Even if I pressed the pause or stop button before suspending it would still not power back off correctly. For a while there, I would always start playing a recording before suspending the PC. The Standy Tool fixed the issue and I haven't had any weird suspend problems since then.

  5. network broadcast traffic by Anonymous Coward · · Score: 3, Insightful

    Surely enabling your PC to wake up whenever any network traffic is sensed is stupid in the example described in the article.

    Will it not wake up whenever any workgroup broadcasts are sent to it?

    1. 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.
    2. Re:network broadcast traffic by SplatMan_DK · · Score: 2, Informative

      I do not have the same problem, and I am allready using S3 powermode.

      A "broadcast" package is not a package with a single specific receiver, so why would a machine in S3 mode wake up when it detects a broadcast package? The whole point is to make sure the machine only wakes up from LAN access when there is traffic directed specifically for that interface/address?

      --
      My security clearance is so high I have to kill myself if I remember I have it...
  6. FreeBSD by evilviper · · Score: 2, Interesting

    I know I'm setting myself up for flames around here, but the OS with the best support for APCI S3 Suspend is FreeBSD 6.2, even though it's certainly not perfect.

    My desktop _almost_ worked. I had to swap-out my ATI video card to get it to resume from S3.

    Now, the big problem is X.org... Since X doesn't play well with suspend, FreeBSD is supposed to switch off of X, to a virtual console before entering suspend mode. Unfortunately, I've found that, unfortunately, X 6.9.0 freezes about 1 in 3 times. Once I figured that out, it was just a matter of manually switching to a console, then typing "suspend" before I walk away. Now I haven't rebooted my machine in months, and it's on and usable (right where I left everything) in about 3 seconds.

    Of course, the drawback to X not cooperating is that I can't set my machine to auto suspend when it's been idle for a few minutes, but I'm hopeful the next release of FreeBSD will fix that. X6.9.0 is the latest ported release, and compiling from vanilla sources goes horribly, horribly wrong, right now. I could try downgrading, but it's not worth the hassle and lost features, IMHO.

    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    1. Re:FreeBSD by Anonymous Coward · · Score: 5, Funny

      Guys! You found each other!

      Shouldn't you guys exchange phone numbers or something?

    2. Re:FreeBSD by evilviper · · Score: 3, Informative

      S3 mode is entered by running "acpiconf -s 3"

      All available options can be listed by running "sysctl -a hw.acpi" and included in /etc/sysctl.conf to be automatically set upon boot-up. Basically you'll only need "hw.acpi.reset_video=" set to 0 or 1 depending on your system.

      If you need to unload modules or any other action before suspending, see /etc/rc.suspend. Put the opposite commands in /etc/rc.resume.

      That should be everything you need. Either your hardware will work, or it won't. In the latter case, strip your system down to nothing but video, and try different video cards. Then add a piece at a time to see what's causing problems.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    3. Re:FreeBSD by value_added · · Score: 3, Interesting

      I know I'm setting myself up for flames around here, but the OS with the best support for APCI S3 Suspend is FreeBSD 6.2, even though it's certainly not perfect.

      Perhaps, but the issue is a lot more complicated than that. We're talking about the BIOS, the OS, and then how the two relate to each other. That said, it doesn't suprise me that the article is lame. Setting a fixed IP address and making use of WOL? What's that got to do with Windows, and what does "done right" refer to?

      The only informative (and amusing) bit was the Microsoft chosen USB behaviour (hidden) that requires an "easy" registry edit to change. So much for "Oh, no, not manually editing a config file!" I guess having all the behaviour and options explicitly set forth and easily editable is the wrong approach. ;-)

      X.org... Since X doesn't play well with suspend, FreeBSD is supposed to switch off of X, to a virtual console before entering suspend mode. Unfortunately, I've found that, unfortunately, X 6.9.0 freezes about 1 in 3 times. Once I figured that out, it was just a matter of manually switching to a console ...

      I'm going by memory here, but IIRC, that's handled with a sysctl. You shouldn't need to manually do anything. Read through acpi(4) and then Google for more info, or better yet, just search the 'mobile' archives for some possible settings and the merits of each.

      Of course, the drawback to X not cooperating is that I can't set my machine to auto suspend when it's been idle for a few minutes, but I'm hopeful the next release of FreeBSD will fix that.

      I'm not sure you want an S3 state every few minutes. It would make more sense to blank the screen (and kill the backlight on a notebook) by setting the DPMS option in xorg.conf, and set your screensaver options in .Xdefaults. The CPU can be trottled using any number of methods either on a dynamic basis, or at set time. Throw ataidle into the mix and you've got most everything you need for those "every few minutes' intervals. How many more options could you want?

      For a full suspend after x minutes, why not script your own approach? One option would be to use xscreensaver-command to invoke a count-down timer to invoke zzz(8)? Or if power usage is a Really Big Deal, make use of WOL and start/stop the system at set times. Dunno if that would work for a desktop system, but it might cut down the hours on /.

  7. 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.

  8. 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!!
    1. Re:want a "file transfer" powerdown mode. by evilviper · · Score: 2, Insightful

      i'd like to have a low power transfer mode, where the cpu is reduced (to 1 core at say 500 mhz),

      Thanks to AMD's CnQ, and Intel later following suit, any CPU made in at least the past year (and more for AMD64 CPUs), will idle down to low power states automatically.

      the monitor is turned off,

      Also easy. You can hit the power button on the monitor, you can wait for it to automatically shut off after 15-20 minutes, or with X11, you can run xset and tell the video card o shut-off the monitor.

      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.

      That one is not done, and is not really reasonably possible to do, nor helpful (on desktops) if it was done.

      You need to write to the disk every few seconds, to maintain a consistent state, with or without a journaling file system. Your (desktop) HDD can't be spun-down in such a case, as spinning it up, over and over, would use more power than leaving it on, not to mention wear and tear... And since it's still spinning, even if you cached 1GB to RAM, flushing that to disk would use just as much power as writing it to the disk directly, a byte at a time.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    2. Re:want a "file transfer" powerdown mode. by ivan256 · · Score: 2, Informative

      You need to write to the disk every few seconds, to maintain a consistent state, with or without a journaling file system.


      No you don't, and in fact if you mount your filesystem read-only, or noatime, and run noflushd your hard drives can spin down indefinitely as long as your dataset fits in memory. I used to get 8-9 hours out of the battery on my PowerBook G3 using this method and low screen brightness.

      Of course, if you are writing to files and you do this and then lose power, you lose data... But you could store the files you are working on in flash to avoid this.
    3. Re:want a "file transfer" powerdown mode. by Graff · · Score: 2, Informative
      plasmacutter had this to say:

      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.

      You mean something like this?

      http://docs.info.apple.com/jarticle.html?path=Mac/ 10.4/en/mh1669.html

      Just a snippet from that page:

      Some models support the Automatic setting, which allows your computer to switch rapidly back and forth between the Highest and Reduced settings to optimize energy use, depending on how much work the processor is doing. This is basically what you are asking for. Your computer will automatically scale the processors according to the tasks you have running. I believe just about all modern Macintoshes support the Automatic setting.
    4. Re:want a "file transfer" powerdown mode. by ivan256 · · Score: 2, Interesting

      noatime prevents reads from making journal transactions which spin up the disk. If you're serving static files (I.E. Reading only), you can mount noatime and prevent the disk from spinning up once all the data you're serving is in memory.

      Another old trick, which I still use regularly, is to copy all the data you're serving into a ramdisk or a tmpfs, and then unmount all disk based partitions. Turn on PowerNOW! or SpeedStep, force the CPU multiplier low, and you can serve thousands of pages per second for under 20 watts. This even works with dynamic content as long as you're not storing any data.

    5. Re:want a "file transfer" powerdown mode. by evilviper · · Score: 2, Insightful

      you should never end up with a corrupted filesystem.

      Hate to tell you, but that's exactly what happens. You can't guaranty file system consistency when doing out-of-order writes. That's among the main reasons Ext3 does a full "fsync" every 6 seconds. It's a serious limitation of Ext2 in it's default mode. You're simply playing Russian Roulette with your data, and eventually you'll lose.

      You certainly don't have to take my word for it. It's a well known issue, and there are several write-ups of it.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    6. Re:want a "file transfer" powerdown mode. by gbjbaanb · · Score: 2, Interesting

      Obviously, it takes more energy to spin a disk all week than it does to power it down for a read on monday morning and a write on friday afternoon. I don't know exactly at what point is it more cost effective? I generally use 1hr in the power save box before the drive is spun down. However, the OP wanted to 'pulse' the HDD, basically keeping it powered down until it was needed which would be terrible for energy use.

      Bear in mind that big, fancy SCSI arrays on big boxes have special circuitry to bring the drives up 1 at a time, rather than all at once - the simple reason being that the surge of power required to start them all up at once would trip the power protection circuitry.

      Quick check on Google: an old 75Gb IBM deskstar drive takes 1.8amps at startup, 0.8 amps when used (0.6 amps when idle). Modern Seagate sata drives take 2.8amps at startup (but then settle down to 0.7amps active, 0.4 amps idle)

  9. What about wireless ? by Qwavel · · Score: 2, Interesting


    There was some useful info in this article about configuring your network adapter to support wake-on-lan, but what about wireless adapters? In my experience they don't seem to support WOL or any equivalent. The only solution I can think of is to connect an ethernet client device to my computer so that I can use the WOL of the computer's ethernet, but this is not really a good solution.

    Is there any sort of WOL capabilities in the new 802.11n?

    1. Re:What about wireless ? by Guy+Harris · · Score: 2, Informative

      There was some useful info in this article about configuring your network adapter to support wake-on-lan, but what about wireless adapters? In my experience they don't seem to support WOL or any equivalent.

      At least at one point, I found one 802.11 adapter or chipset that supported OnNow-style wakeup, but I don't know whether drivers supported that.

      You'd have to keep the radio on, though, which means there's some power you can't save.

      Is there any sort of WOL capabilities in the new 802.11n?

      That's probably more of a chipset issue than a protocol/PHY issue, so I'm not sure there'd be any chanages in 802.11n - unless there's some radio-layer changes to allow the receiver to run in a low-power mode capable of receiving a wakeup indication.

  10. 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.
    1. Re:Bad Assumption by TheThiefMaster · · Score: 2, Informative

      It depends on the power supply. The cheap ones can be as bad as 50% efficient, in which case a 200W pc would draw 400W from the wall.

      Incidentally I have two PCs (with >85% efficiency PSUs) and a 19" CRT monitor plugged through a power-meter right now and they are drawing 510W total, and 425W if I turn off the monitor.

      One of the PCs is a dual socket A machine with cpus that won't go below 60C despite some really powerful air cooling, and the other is an AMD A64-X2 3800+ with ATI X1900XTX. Both are fairly beefy by modern standards, and from previous tests they draw about the same power (so about 210W each). If I had cheap power-supplies in these PCs (eg qTec Gold-painted triple-fan 650W) then I would be using their estimated 400W per pc, but as I went for quality (in this case Tagan 480W) I can run two pcs for that.

      Thankfully I only run one of these PCs 24/7, so it costs me about $210 per year for that one, and about 1/3 of that for the other.

      If you have a crap power-supply now, then you can save the cost of a new, good one in about 6 months in the electricity you use (if you have your pc on 24/7).

  11. Re:CPUIDLE by ettlz · · Score: 2, Informative

    Back in the pre-NT-based days, perhaps. Most modern operating system kernels issue the HLT instruction plus some extra power management jiggery-pokery to the CPU when it's not being used at max anyway. (Check out /proc/acpi/processor/CPU*/power under Linux.)

  12. Calculations are a bit off by bogie · · Score: 3, Interesting

    "If we take just a reasonable estimate that a computer uses 400 Watts idling along, we can find some astounding figures."

    That doesn't sound very reasonable to me.

    ".4 kW (400watts) * 720 Hours * $0.12kW/h = $34.56"

    Nope, that's way off what the average PC costs to run.

    He does have a point thought about using lower power modes. On newer PCs it seems to work well and it will save you bucks if you have several PCs in your house.

    --
    If you wanna get rich, you know that payback is a bitch
    1. Re:Calculations are a bit off by pimterry · · Score: 3, Informative

      I have a power monitor thing on the socket for my home server (it's just a box, no screen keyboard etc) and right now it's using 132 Watts downloading torrents and web serving (mostly as a web dev test site, so probably not really doing any work). It's a 3Ghz P4 too, so it's probably not as power efficient as it could be.

      400 watts has got to be way off.

    2. Re:Calculations are a bit off by Michael+Woodhams · · Score: 3, Informative

      Those 600+ W power supplies are purely for people with inferiority complexes about other aspects of their lives/bodies. Here's a discussion about how much you can run on a 300W PSU. 300W suffices for a modern high-end CPU plus high-end GPU plus a bunch of drives, when under heavy load. Even a high end system will idle at around 150W. A more sensible system is probably idling around 80W.

      NOTE: All the figures above are *not* including losses in the PSU. A modern PSU should be about 7 5% efficient, so increase the above by 1/3 to make them comparable to the 400W number in the article.

      --
      Quattuor res in hoc mundo sanctae sunt: libri, liberi, libertas et liberalitas.
    3. Re:Calculations are a bit off by Michael+Woodhams · · Score: 2, Insightful

      There is a problem that nobody seems to be interested in producing good low capacity PSUs. If you want (say) 80% efficiency and modular cabling, most manufacturers don't have anything below 500W. (A few have 400W.)

      Some good options now are Seasonic S12, Antec NeoHE, Silverstone ST30NF, Nexus NX-80x0 series.

      --
      Quattuor res in hoc mundo sanctae sunt: libri, liberi, libertas et liberalitas.
  13. 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?

    1. Re:My weeks only have 7 days in them. by flyingfsck · · Score: 2, Funny

      It means that he is a consultant and bills per hour and that is what he bills per week...

      --
      Excuse me, but please get off my Pennisetum Clandestinum, eh!
  14. 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.
  15. re: S3 Standby State Done Right by AncientPC · · Score: 3, Interesting

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

    My biggest problem with standby on my WinXP machine is that my machine will randomly wake up after a random amount of time. I've already disabled WOL and Wake-on-USB, but my computer will wake up randomly from standby anywhere from 3 minutes to never. I still can't figure out what's causing the problem. :(

  16. Blame Bill Gates if it does not work. by twitter · · Score: 2, Interesting

    Anyone who has not Bill Gate's memo about this should. Anything M$ touches is shit: winmodems, wifi, ACPI, APM and the list goes on and on. They can't make their own stuff work, so they have to break everyone else's.

    Despite his efforts, power management can be made to work. It's not easy and you can't expect the latest and greatest to work. The closer a company's working relationship to M$ is, the harder it will be to make things work. For example, Dell is more difficult and Thinkpad is easier. As with most free software, if it's going to work the live distros will auto configure it and it will work almost out of the box.

    I still use APM for the most part and have ignored conveniences like WoL.

    --

    Friends don't help friends install M$ junk.

  17. 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
  18. 400 watts is high by jbengt · · Score: 3, Informative

    I work as an HVAC engineer, and I have to take into account the PCs when designing air conditioning for an office. I figure 200 to 250 watts per workstation; that is supposed to take into account average usage including everything: the PC, monitor, peripherals, task lighting, occassional printers, etc. I've been told that this is too high, but my career has spanned a lot of changes - dummy terminals, energy inefficient monitors, heavy duty PC workstations, efficient but larger monitors, LCD monitors, thin clients, etc. - so I tend to take the conservative approach and assume that it can change again to higher wattages within the lifetime of the AC system. Power consumption of devices keeps on being improved, but instead of using less power, PCs do more with the same amount of power. If your PC has a 500 watt power supply it would probably never use much more than 400 watts (you need some safety margin) and it would probably use, on average, less than half that while working hard. With modern PCs it could easily use less than 50 watts when idle.

  19. 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.

    1. Re:Nice FUD by xenocide2 · · Score: 2, Informative
      Unfortunately, the world is far more complicated than you'd like. Matthew Garrett has extensively about the subject. Truth is, ACPI a standard that nobody follows intelligently. Garrett writes about how part of the spec involves an interpreted machine code called DSDT (this already sounds like a recipe for disaster) that is used to guide actions. The problem is two fold:
      • DSDT's are buggy (go figure)
      • The common method for fixing a broken DSDT is to patch it after the machine has booted via some driver
      Microsoft has troubles with vendors who don't care much about suspend resume functionality.

      The solution isn't to go out and make yet another spec that vendors wont follow intelligently. The solution is vertical integration. Apple does it, and they can know everything they want to about their hardware. And open source software like Linux also offers the potential to do so. Dell potentially has the tools to make their Linux offering compete. I've been hoping one of the Linux laptop vendors springing up would move towards speccing their own laptops but it hasn't quite happened yet (that I know of).
      --
      I Browse at +4 Flamebait

      Open Source Sysadmin

    2. Re:Nice FUD by xenocide2 · · Score: 2, Informative

      That post looks a bit screwed up that I made, but he's a central member of Ubuntu, a member of the laptop, kernel, and acpi teams and one of 4 members of the technical board. I had hoped his insightful analysis would have been enough, but it seems I botched a link or two. To make up for it, here's a video of him detailing how hacking acpi is done.

      --
      I Browse at +4 Flamebait

      Open Source Sysadmin

  20. sounds like a great way to wreck disks by Loconut1389 · · Score: 2, Interesting

    S3 standby shuts off hard drives and if you're running a file-server, aside from the lag people will experience between their packet and your computer reviving itself, power cycling your drives dozens of times a day will greatly reduce their lifespan. If you're worried about going green, buying an unnecessary hard drive probably puts more chemicals into the environment from its manufacturing than leaving your computer on?

  21. 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

  22. Re:Encore by Achromatic1978 · · Score: 2, Insightful

    Generally people don't bother to refute the content of his posts because it's pointless. He'll argue until he's blue in the face - or you provide a coherent and logical response to him. He has no rebuttal for that. Far easier for him to go on to the "Evil Micro$oft WinDoze!" troll.

  23. Re:APM Sucks too. by The+Bungi · · Score: 3, Informative
    Oh twitter, you're going to love this. Here's an article by the guy that actually writes this stuff for your operating system. I'd like you to go through that article and please share with us where the guy that actually writes the stuff blames Bill Gates or "M$" for how ACPI works (or not). As opposed to just the general sense of "this stuff is hard" I get from it.

    Once you're done getting an education, I'd like for you to explain how "M$" allegedly sabotaged ACPI on Linux. You pointed to an eight-year old email from Bill Gates that, if anything, proves Microsoft did not do anything to impact the implementation of ACPI in Linux. Seriously, just in case your FSF distortion field is turned up too high, that's exactly what you are proving by linking to that email. You have ACPI in Linux. It might be as broken as it is on Windows, but you have it. You realize that, yes? God, please tell me you realize that?