Fred Langa sorts out your PC's sleep, standby, suspend, and hibernate modes, and also explains how choosing the right power state saves you money.
I regularly get E-emails like this:
Hi, Fred, You've used the terms "sleep mode," "suspend mode," "standby," and "hibernate." What's the difference? - Jennie K
They're all descriptive terms for varying levels of power management on a PC, but the reason it's confusing is that what one vendor calls "sleep" another may call "standby." Or, even more confusingly, different vendors may both use the same term to mean very different power states.
But things become clearer when you substitute industry-standard terms in place of the descriptive English words. For example, most PCs today support six distinct power modes, or "sleep states," commonly defined as S0 through S5.
You can see the logic of the naming convention if you think of S0 as "sleep state zero," or "sleep zero"; in other words, no sleep at all. In fact, S0 is indeed a system's normal full-power state, or what we'd usually simply call "on." Modes S1-S4 offer increasing levels of power savings, which we'll fully explore in a moment. S5 is the highest power-savings mode, representing a complete power-off such as that achieved by a shut down command.
OK, S0 and S5--on and off--are pretty obvious, but what about the states in between?
S1, S2, and S3 all are low-power, energy-saving states from which the PC can be awakened by jiggling the mouse or tapping a key. (Other external events, such as a special kind of LAN packet or an inbound modem call, also can trigger a wake-up, depending on how the system is set up.) When the PC awakens, it picks up from where it left off when the low-power mode kicked in--the same files will be open, the same apps will be running, etc.
Beyond this broad similarity, the three modes differ:
S1 is the simplest energy-saving state, often used in older systems whose drivers or hardware won't behave well with more sophisticated levels of power management. A system at the S1 power level simply shuts down the hard drive(s) and monitor, but leaves everything else running normally. Different vendors call S1 by different names, but sleep or standby are perhaps the most common.
S2 offers greater power savings because it not only powers down the monitor and drives, it also cuts power to the CPU and its cache. Confusingly, this level also is sometimes called sleep or standby.
S3 is a deeper power-savings mode that shuts down almost everything except for the barest trickle of power needed to keep the contents of RAM from fading away and to listen for a wake-up action. In a way, you can think of S3 as a "suspend to RAM" state. In fact, many vendors do refer to S3 as "suspend" mode, but others (alas) may call it standby, sleep, instant on, on now, and the like.
Note that, although states S1, S2, and S3 all save energy compared with a full-on PC, they still need at least a trickle of electricity to enable the PC to watch for a wake-up event, and to preserve the contents of RAM. That's a key point: If your PC loses power while it's in mode S1, S2, or S3, any information held in RAM--for example, open and unsaved documents or files--will be lost or damaged.
Level S4 is fundamentally different from levels S1 to S3. It's hibernation, where the system stops all activity, just as if you had shut it off. But S4 is also different from the simple power-off of level S5 because, before powering down, the S4 hibernation system writes the contents of RAM and some CPU settings to a special file on your hard drive (often called something like "hiberfil.sys"). Because the PC is truly off--drawing no power--it can't watch for a key press or mouse movement to wake up; you usually have to hit the power switch to bring the system out of hibernation. But when the PC awakens from hibernation, it doesn't have to go through a full reboot. Instead, it reads the contents of the hibernation file back into memory, and thus restores itself to the exact same condition it was in when hibernation started. Although this takes longer than waking from a sleep or standby or suspend mode, it's usually much faster than a full boot. Plus, because the PC is truly off during hibernation, there's nothing live in RAM, so a power failure will have no effect on the system because all the normally volatile information in the system is safely stored in the hibernation file on your hard drive.
Although S0 through S5 are the main power states we need to consider, to be technically complete I should point out that there are actually more power states and variations for different components or situations, depending on (for example) whether a system is powered off mechanically or by software such as in a "warm reboot." All these power states are defined in the industry-standard Advanced Configuration and Power Interface specification, developed by Compaq, Intel, Microsoft, Phoenix, and Toshiba. It's a published spec, and you can read it online at the ACPI consortium's home page. Two of the original collaborators of the ACPI spec--Microsoft and Intel--also have excellent ACPI information online.
5 Top Federal Initiatives For 2015As InformationWeek Government readers were busy firming up their fiscal year 2015 budgets, we asked them to rate more than 30 IT initiatives in terms of importance and current leadership focus. No surprise, among more than 30 options, security is No. 1. After that, things get less predictable.
InformationWeek Tech Digest August 03, 2015The networking industry agrees that software-defined networking is the way of the future. So where are all the deployments? We take a look at where SDN is being deployed and what's getting in the way of deployments.