Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When leaving the computer for a long time it seems convenient to hibernate it instead of shutting down - all the programs remain in the same state when resumed. Are there any drawbacks in doing so?

share|improve this question

9 Answers 9

up vote 11 down vote accepted

Generally there is no reason not to use it. Just keep in mind, that there are cases, that it won't work as expected.

These apply both for hibernation and suspend (to RAM):

  • some applications are not hibernation-aware. Eg. games tend to crash.
  • some WiFi drivers have trouble with hibernation.
  • networked applications loose connection and most do not reconnect automatically.
  • DHCP is not invoked, old IP is used, which by then might have been reassigned.

Hibernation vs suspend:

  • wake up from suspend is immediate, hibernation must load from HDD.
  • for hibernation you need space on HDD (a least of a size of memory occupied).
  • hibernation consumes no power at all, while suspend consumes minimal power (few Watts).
share|improve this answer
    
PC World has an article with some data: pcworld.com/printable/article/id,137328/printable.html –  p.campbell May 26 '09 at 13:47
    
Nothing serious. I will continue using hibernation :P –  Kiewic Jul 30 '09 at 2:56

If your computer is capable of S3 Sleep (ultra-low power consumption) there isn't a compelling reason for a desktop to be placed in hibernation. Hibernation has a high user impact, as it generally takes 1+ minute to wake up.

If you're using a laptop, and you need to use full-disk encryption to protect customer or other data, you absolutely must enable hibernation and disable sleep. Why? A sleeping laptop can be woken up to a boot prompt/screen lock screen, at which point an attacker can capture the drive's encryption key via Firewire port or by exploiting a Windows, application or other OS vulnerability.

This may seem far-fetched, but tools are easily downloadable to do these things, and any attacker targeting you is capable of this.

share|improve this answer
    
True that Sleep (a.k.a Suspend-to-RAM) is enough for energy saving. What I don't like about it is, that it's to easy to wake. Some vibration moves the mouse, and the computer already wakes up. –  vartec May 26 '09 at 15:21
    
This is true. I got into a pretty heated argument recently with some folks internally trying to push a particular energy "solution". Consider that you're average computer is "active" for about 45 hrs * 50 weeks = 2250 hours/yr out of 8760 hrs/yr. So even if vibrations or whatever result in a loss of 90 minutes a workday, you're talking 375 hours/year. Not a big deal when you consider that power savings is saving you >6,000 hours of idle power usage! –  duffbeer703 May 26 '09 at 22:03
    
Another reason to not use sleep... While it may not require much power, it does take some. Lose power to the machine while sleeping, and you lose state. Hibernate doesn't require any power to maintain state. –  Brian Knoblauch Jun 5 '09 at 13:26

Needs some extra hard disk space to dump the memory

May cause some IP related problems specially with DHCP

share|improve this answer
    
+1 Because I forgot all about this! With 4GB of RAM, I need to waste 4GB of disk because of the hibernate file! –  geoffc May 26 '09 at 14:23

If you have any apps or drivers that are leaking memory, you will eventually run very short. This is a non-ideal world problem that may occur. Under ideal circumstances, everything should resume as usual and you can repeatedly hibernate indefinitely.

share|improve this answer

If you have a dual boot environment and you allow the other OS, say a Linux variant, access to the NTFS partitions, then hibernate is astonishingly dangerous.

If you hibernate your device, and then reboot into Linux, the NTFS file system is invariably corrupted with real data loss.

Otherwise, I use Suspend to RAM on both Windows and SLED Linux without issue. Hibernate is ok, but it takes too long to return, so unless I plan to leave the device without power for longer than a week, I exclusively use suspend to RAM.

share|improve this answer

Drawbacks I've found is that sometimes the machine is insanely slow for awhile after coming back from hibernation, some machines won't come back at all from hibernation, and some apps will crash after resuming (things that use CUDA, like seti@home seem to be a problem, and sometimes virtual machines under the hibernated OS have issues).

Generally speaking though, hibernation has proven to be the best option for me for most times. I very rarely ever have to close my apps anymore. I hibernate at the end of the day, then resume right where I left off later on!

share|improve this answer

One reason not to let your computer go into hibernation is if you want to access it remotely (Remote Desktop.)

If you have a VPN connection, you'll have to reconnect after waking up the computer.

share|improve this answer
1  
Both of these apply to shutting down, too, so this doesn't answer the question very well. –  ceejayoz May 26 '09 at 12:01
    
@ceejayoz: The question itself could also be interpreted in another way: "When leaving the computer for a long time [...] What are the drawbacks of hibernate instead of have it on?" But maybe you are right. –  splattne May 26 '09 at 12:29

One of the drawbacks of suspend is that if the power is lost during suspend, your machine state is gone.

If you insist on using hibernation, keep in mind that hibernating 2-4 GB machine it may take quite a lot of time to save and read hibernation file. In my case,defragmenting disk and then defragmenting hibernation file helped me tremendously when disk was nearly full.

share|improve this answer
  • Network connections are lost
  • System is not remotely manageable
  • It doesn't always work (example: the laptop I'm typing this on)
share|improve this answer
    
"System is not remotely manageable", wouldn't WOL still be a option? –  Andrew Williams May 26 '09 at 11:07
1  
Points 1 and 2 are irrelevant - the question is phrased as "hibernate vs. shutting down". Your network connections are lost and the system cannot be remotely managed after a shut down, as well. –  ceejayoz May 26 '09 at 12:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.