The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Win7 Hibernate is too slow!

    Discussion in 'Windows OS and Software' started by jsteng, Apr 6, 2010.

  1. jsteng

    jsteng Notebook Consultant

    Reputations:
    3
    Messages:
    179
    Likes Received:
    2
    Trophy Points:
    31
    I find the Hibernate function on Win7 (and Vista) way too long compared to WinXP.
    How come?

    It really suck the way WIn7(Vista) would take as long as 40~80sec just to save-to-disk and turn off whereas on WinXP, it would take just as little as 10sec!

    Right now, I am no longer using Hibernate because of this! :mad:
     
  2. lbohn

    lbohn Notebook Consultant

    Reputations:
    320
    Messages:
    235
    Likes Received:
    0
    Trophy Points:
    30
    jsteng,

    Many late XP-era machines shipped with 1GB-2GB. Many Windows 7 machines are starting around 2GB with 4GB representing middle of the road systems and 6GB+ for very powerful systems.

    When you hibernate your machine, the system needs to write everything in RAM to disk. On XP machines, not all of the system RAM was used at any given time. While a typical XP machine might have 2GB of RAM, the system might only be using ~800MB, making for a rather small and quick to write hiberfil.sys file.

    Windows 7 uses system RAM very differently: pre-caching lots of "often used bits", filling the previously unused portions of the system memory. This is one of the reasons Windows 7 machines are very responsive when loading often used programs - those bits are often already loaded into memory, just waiting to be run. Note that Windows 7 intelligently manages the caching process and will immediately relinquish background cached memory to foreground application requests for additional memory.

    All of this is meant to be invisible to the end user. A side effect is that the hiberfil.sys file written is necessarily a much larger file. Thus a middle of the road system might need to write out a ~3.5GB hiberfil.sys on every hibernate. A 6GB system might be writing a ~5GB file, or larger. As you might imagine, a relatively slow 4500RPM drive notebook drive will really slow down that process. Upgrading to a 7200RPM drive could potentially halve your hibernate time and adding more RAM could actually lengthen your hibernate times.

    --L.
     
  3. Angelic

    Angelic Kickin' back :3

    Reputations:
    4,496
    Messages:
    2,075
    Likes Received:
    0
    Trophy Points:
    55
    Yeah, this is why hibernation isn't recommended for Windows 7. You're better off letting it take 30 seconds to start up normally. I thought hibernation was hidden by default anyway.
     
  4. ScuderiaConchiglia

    ScuderiaConchiglia NBR Vaio Team Curmudgeon

    Reputations:
    2,674
    Messages:
    6,039
    Likes Received:
    0
    Trophy Points:
    205
    For me, Win7 hibernate is faster than it was under Vista. This is because apparently the hibernate file is both compressed and it does not include the entire contents of RAM. As I understand it, Win7 skips things that a in Superfetch that can be restored AFTER the machine has awakened from hibernation.

    Gary
     
  5. coolguy

    coolguy Notebook Prophet

    Reputations:
    805
    Messages:
    4,679
    Likes Received:
    12
    Trophy Points:
    106
    Resuming from hibernate takes less than 30 secs for me with Windows 7 64-bit and 4 GB RAM (only 3 GB saved to disk).

    Where did you get this?
     
  6. Angelic

    Angelic Kickin' back :3

    Reputations:
    4,496
    Messages:
    2,075
    Likes Received:
    0
    Trophy Points:
    55
    From multiple people telling me it's slow, and it not being enabled by default. lbohn seemed to explain it well.
     
  7. coolguy

    coolguy Notebook Prophet

    Reputations:
    805
    Messages:
    4,679
    Likes Received:
    12
    Trophy Points:
    106
    Hibernate is not slow in Windows 7. It is enabled by default in notebooks and disabled only in Desktops.
     
  8. Angelic

    Angelic Kickin' back :3

    Reputations:
    4,496
    Messages:
    2,075
    Likes Received:
    0
    Trophy Points:
    55
    I could never find it on my laptop. Is that because I did a fresh install? Sorry for hijacking the thread guys. :eek:
     
  9. coolguy

    coolguy Notebook Prophet

    Reputations:
    805
    Messages:
    4,679
    Likes Received:
    12
    Trophy Points:
    106
    You might have deleted the "hiberfile.sys" using disk cleanup or a file cleaning utility. Under an admin account type "powercfg -h on" (no quotes) in the start menu search and hit enter to re-enable hibernate.
     
  10. Angelic

    Angelic Kickin' back :3

    Reputations:
    4,496
    Messages:
    2,075
    Likes Received:
    0
    Trophy Points:
    55
    I think that's what happened too, because I just installed this W7 Ultimate not too long ago. Thank you! :) +Rep
     
  11. lbohn

    lbohn Notebook Consultant

    Reputations:
    320
    Messages:
    235
    Likes Received:
    0
    Trophy Points:
    30
    Rajesh,

    That's very similar to my experiences as well. I only have 3GB of RAM and ~2.2GB is saved to disk. That's about 80% of RAM capacity, which seems to be about the same as your experience.

    Gary,

    Interesting. My actual RAM usage (i.e. what is actively being used by programs and services) is ~1.7GB according to Task Manager yet my hiberfil.sys is never that small.

    I do recall in the RC days of Vista and RTM period, the SuperFetch process constantly churned after hibernating because the ReadyBoost process would always repopulate the flash device. Microsoft's engineers wrote the code to expect the device was always missing upon resuming from hibernation even if it wasn't. SP1 saw that changed as many folks dedicated USB flash drives or flash cards to that purpose and weren't removing them. Now Vista won't necessarily repopulate a ReadyBoost device if it is still attached and has the expected ReadyBoost.sfcache file. It would appear they've reverted to the older style of SuperFetch in Windows 7, if I understand your post correctly.

    --L.