I was reading over the implementation of Suspend and Hibernate in various operating systems and I noticed that Macintosh saves the RAM to the disk when put in sleep mode and restores from the RAM if power has not been lost, or from the disk if power has been lost.
What I'm wondering is how Macintosh can save the contents of the RAM to the disk within 2-5 seconds. I don't own an Apple computer myself, but based on my experience with my father's Macbook, Macintosh computers don't suspend any slower than other computers despite saving the RAM.
My Vista computer takes at least 60 seconds to hibernate (not including restoring). Even Intrepid Ibex took at least 20 seconds to hibernate (I haven't tried Hibernating in Jaunty Jackalope yet).
My question is, how does Macintosh manage to save the contents of the RAM to the disk so quickly? Is it simply a hardware issue? Is there a "safe sleep" option for Linux?
Bookmarks