5

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?

9 Answers 9

11

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).
2
5

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.

3
  • 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, 2009 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! May 26, 2009 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. Jun 5, 2009 at 13:26
3

Needs some extra hard disk space to dump the memory

May cause some IP related problems specially with DHCP

1
  • +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, 2009 at 14:23
3

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.

3

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.

2

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!

1

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.

2
  • 1
    Both of these apply to shutting down, too, so this doesn't answer the question very well.
    – ceejayoz
    May 26, 2009 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, 2009 at 12:29
1

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.

0
  • Network connections are lost
  • System is not remotely manageable
  • It doesn't always work (example: the laptop I'm typing this on)
2
  • "System is not remotely manageable", wouldn't WOL still be a option? May 26, 2009 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, 2009 at 12:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .