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.

    Quick Question with respect to Hibernate

    Discussion in 'Windows OS and Software' started by Gator, Mar 7, 2007.

  1. Gator

    Gator Go Gators!

    Reputations:
    890
    Messages:
    1,889
    Likes Received:
    0
    Trophy Points:
    55
    The basic premise of hibernate is to copy all information in RAM to HDD and then shutdown, and reload that information back into RAM upon restart.

    My question is, when the RAM is repopulated with the stored data from HDD, is all this data placed back into their exact same memory addresses? I'm not sure how the page table would be able to map logical addresses to their physical counterparts otherwise.

    ...HAH! And you thought it was going to be about how Hibernate saves power, didn't ya.

    Seriously though, anyone know how this works?
     
  2. qhn

    qhn Notebook User

    Reputations:
    1,654
    Messages:
    5,955
    Likes Received:
    1
    Trophy Points:
    205
    i personally would not think so since renewed caching depends on what app/task has been recalled first after hibernation

    cheers ...
     
  3. Pitabred

    Pitabred Linux geek con rat flail!

    Reputations:
    3,300
    Messages:
    7,115
    Likes Received:
    3
    Trophy Points:
    206
    I'd think that the page table could be easily changed on store and restore, just keeping a list of what page is where and so on. But I'd think that it's a bit for bit copy of most every memory page. Check into Linux hibernation... I'll bet they have more documentation on how they do it.
     
  4. WackyT

    WackyT Notebook Deity

    Reputations:
    906
    Messages:
    1,389
    Likes Received:
    1
    Trophy Points:
    56
    Hibernate takes an image of your entire physical memory and writes it to a file. Upon reactivation it writes that file back to memory and resumes.
     
  5. Matt

    Matt Notebook Deity

    Reputations:
    2,618
    Messages:
    1,757
    Likes Received:
    0
    Trophy Points:
    55
    That's basically what he said:
     
  6. hehe299792458

    hehe299792458 Notebook Deity

    Reputations:
    175
    Messages:
    1,571
    Likes Received:
    0
    Trophy Points:
    55
    Sorry for my ignorance, but why does this matter?
     
  7. vespoli

    vespoli 402 NBR Reviewer

    Reputations:
    1,134
    Messages:
    3,401
    Likes Received:
    0
    Trophy Points:
    105
    Knowledge is power. ;)
     
  8. Gator

    Gator Go Gators!

    Reputations:
    890
    Messages:
    1,889
    Likes Received:
    0
    Trophy Points:
    55
    Just curious. Don't you sometimes look into how things work so you could know how things work?

    Argh yeah, although I was hoping for an answer here...
     
  9. ivar

    ivar Notebook Deity

    Reputations:
    432
    Messages:
    1,410
    Likes Received:
    0
    Trophy Points:
    55
    Linux hibernation may work differently: it typically uses a swap partition instead of a file to write the RAM content on, and I observed it to be slower.

    Unfortunately, I cannot answer the question posed by Gator.