Skip to content

Instantly share code, notes, and snippets.

@edwardsmatt
Created October 20, 2012 08:24
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edwardsmatt/3922671 to your computer and use it in GitHub Desktop.
Save edwardsmatt/3922671 to your computer and use it in GitHub Desktop.
How to disable Hibernate Mode OSX
Disable Hibernate for SSD Performance - From here: http://blog.alutam.com/2012/04/01/optimizing-macos-x-lion-for-ssd/#hibernation
!!! Check man pmset for more information
matt@macbook : ~
$ pmset -g
Active Profiles:
Battery Power -1
AC Power -1*
Currently in use:
standbydelay 4200
standby 0
womp 1
halfdim 1
hibernatefile /var/vm/sleepimage
gpuswitch 2
sms 1
networkoversleep 0
disksleep 0
sleep 10
hibernatemode 3
ttyskeepawake 1
displaysleep 10
acwake 0
lidwake 1
matt@macbook : ~
$ sudo pmset -a hibernatemode 0
Warning: Idle sleep timings for "Battery Power" may not behave as expected.
- Disk sleep should be non-zero whenever system sleep is non-zero.
Warning: Idle sleep timings for "AC Power" may not behave as expected.
- Disk sleep should be non-zero whenever system sleep is non-zero.
matt@macbook : ~
$ pmset -g
Active Profiles:
Battery Power -1
AC Power -1*
Currently in use:
standbydelay 4200
standby 0
womp 1
halfdim 1
hibernatefile /var/vm/sleepimage
gpuswitch 2
sms 1
networkoversleep 0
disksleep 0
sleep 10
hibernatemode 0
ttyskeepawake 1
displaysleep 10
acwake 0
lidwake 1
matt@macbook : ~
$ sudo rm /var/vm/sleepimage
The following command disables the Sudden Motion Sensor because it's not necessary for an SSD
http://support.apple.com/kb/HT1935?viewlocale=en_US
matt@macbook : ~
$ sudo pmset -a sms 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment