Solved

hibernation vs sleep

Posted on 2010-09-02
5
447 Views
Last Modified: 2012-08-13
what are the pros and cons of each of the above? when do you prefer one over the other?
thanks
0
Comment
Question by:anushahanna
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 21

Accepted Solution

by:
Jason Yousef, MS earned 125 total points
ID: 33590408
That's easy...
 
 Hibernate takes a snapshot of everything you got on RAM (including any  windows and apps running) and saves it to a special hard disk file and  then shuts the computer down, when you resume from hibernation the  computer boots a bit faster than a normal power up bootup. This method  does not consume any power while the computer is off.
 
 Uses: When you are not going to use the computer for a few hours or more.
 
 
 Sleep, basically shuts your computer down except some components like  RAM, so the next time you resume, it will boot almost in an instant.  However, this method consumes battery power.
 
 Uses: When you are just leaving the computer for a few minutes or hours, like at lunchtime or something like that.
 
 I usually use Hibernate when I go to sleep or come back in more than an hour, so I can save Hard disk time, as hard disks get measured by hours used,  I hope I helped you clear that up a bit.

0
 
LVL 30

Assisted Solution

by:flubbster
flubbster earned 125 total points
ID: 33590464
Hibernation:

No power used
System memory saved to a file
Recovery from hibernation is considerably longer and more problematic returning to normal use

Sleep Mode
Minimum power used
System memory is retained
Applications are retained
very fast recovery to normal use

Personally, I never, ever use hibernation and disable it from all my systems. I allow sleep mode only. It is well worth giving up some power loss during sleep mode as opposed to the potential problems hibernation can bring.

One other note... If left in sleep mode long enough to fully drain the battery, or if ac power is lost when running without a battery, all work is lost.
0
 
LVL 70

Assisted Solution

by:garycase
garycase earned 125 total points
ID: 33591063
Personally I don't use either ... but I'll offer a few comments on each:

(a)  Hibernation.    As noted above, hibernation saves the entire state of the computer to a special file (hyberfil.sys), then turns the PC off.        When Windows boots, it looks for a "hiberfil.sys" -- if it finds it, it restores the state of the PC from that file.     One major advantage of hibernation vs. sleep is that since hibernation is really just OFF with a special state file, all hardware devices get re-initialized during the boot process ... just as they would if you had simply shut the system down without hibernating.     Hibernation is very reliable, since it's a full reset for all the hardware, but with modern systems there's little difference in the time it takes to resume from hibernation and the time it takes to simply do a normal boot.    Since I never leave open (unsaved) work on the desktop, there's no reason to use it.

(b)  Sleep.   Sleep usually refers to what is more accurately called "S3" state (there's another sleep state known as S1).    In S3 the system turns off the video adapter and hard disks, and suspends the CPU.    Power is retained for the memory and possibly the USB ports (depending on the settings).    When you press a key the system "wakes up" and is ready to use in just a couple seconds.     One issue with S3 is that many hardware cards do NOT support S3 and will often not work correctly after the system has been in S3 ... some video cards and many specialized cards (TV tuners, video capture cards, etc.) are well known for this.      Consequently, you need to test YOUR system to see if all your hardware "plays well" with the S3 mode -- if so, it's fine to use it;  if not, I'd avoid it.     Even if it works, I wouldn't use it unless your system is UPS-protected, since you can lose work if you have open files and the system is in sleep mode when you have a power failure.

I prefer to simply leave the system on, with the video set to shut down after a few minutes (I use 15) and the hard drives set to spin down after an hour ... this mode uses more power than S3, but is ready faster (virtually instantaneously on a keypress), and does not have any of the issues associated with S3.
0
 
LVL 14

Assisted Solution

by:nltech
nltech earned 125 total points
ID: 33616374
Sleep mode is a low power state. If your computer's power is cut while it is sleeping, it's nearly the same as just pulling the plug while it was running (although at least the hard drive shouldn't be running if the computer is sleeping).

Hibernate writes RAM to disk then powers off the hardware. It is normally much faster getting back to the desktop from hibernate than it is from a cold startup (here, about 15 seconds vs nearly a minute and a half)

Hybrid sleep, new starting with Vista, is a combination of the two. It writes RAM to disk like hibernate but then only sleeps instead of powers off. If power is lost here, it resumes like it would if it was hibernating all along.


If you are going to use power saving modes, I recommend sleep and hibernate on battery power and hybrid sleep on AC power... although that is a very general recommendation..

a different strategy may be better for some computer uses or usage patterns.. for example, our "work" and "gaming" computers are shut down and powered off when not in use. Since they are never left idle for more than an hour or so at a time (about how long it takes to grab a lunch or make a beer run), we don't have power saving modes enabled on them.
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33639200
Very pertinent info. Thanks experts.
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question