Consultants, Startups, Students, and Rails Safari Issue: Cascading of mouse events and why input type=”submit” wasn’t working
Apr 20

OS X Sleep: Hibernate or one eye open.

Apple, Tech Add comments

Ben has been talking about OS X sleepage on the MacBook Pros.

By default, sleeping causes hibernation (save to disk). This has caused one issue for me when the machine didn’t come back happy. It is also a lot slower than my powerbook that keeps things in memory.

Ben had the problem that since the MBP does have the backup battery, when he turned off his computer it all went away.

This is why I flip on hibernate mode before I take out the battery:

alias hibernateon=’sudo pmset -a hibernatemode 1′
alias hibernateoff=’sudo pmset -a hibernatemode 0′

  • on == it will save to disk (slower but safer-ish)
  • off == keep in memory baybee (fast but don’t lose power)

Update

It turns out that option 3 can give you the best of both worlds. It will save to disk but use RAM if possible. If you lose power you are not dead in the water, but if you are powered up it is still fast.

10 Responses to “OS X Sleep: Hibernate or one eye open.”

  1. Mark Denovich Says:

    Can you set a time for when a suspended computer drops deeper into hibernation?

    That way for a majority of the cases it’s just a suspend, and when you open the lid, it quickly wakes up. But if left alone for a few hours, the computer will hibernate to save the battery. This is how it works in the Windows world.

  2. Todd Huss Says:

    What a great tip, just what I was looking for: http://gabrito.com/post/hibernate-with-the-macbook-pro

  3. Hamza Says:

    Would you mind doing a step-by-step for us that are lagging behind a bit? :)

  4. Axel Says:

    Hello!!

    gravitation doujinshi
    gravity bong
    grayson mccouch
    greasetank
    greatfeet
    grechen wilson
    green bean cassarole

  5. vincent Says:

    do not swagger going to battle

  6. thriller Says:

    thriller films

  7. thriller Says:

    thriller films

  8. porn Says:

    porn

  9. porn Says:

    porn

  10. porn Says:

    porn

Leave a Reply

Spam is a pain, I am sorry to have to do this to you, but can you answer the question below?

Q: What is the number before 3? (just put in the digit)