Sleeping Mode
Default is 3, which writes RAM to disk on sleep in the event of power failure. To avoid writing to disk, you need to set it to mode 0, which is plain RAM suspend:
After that you can delete the old RAM save file:
To check what mode you are in:
Sudden Motion Sensor
I turn this off, but not really sure if it matters:
HD sleep
You should also disable the "Put HD to sleep whenever possible" under System Preferences -> Energy Saver, for both Battery and Power Adapter.
TRIM Enabler
I've been back and forth on enabling TRIM. On the C300 in caused problems when enabled with freezing. On M4 I see no issues, so I left it on.
Default is 3, which writes RAM to disk on sleep in the event of power failure. To avoid writing to disk, you need to set it to mode 0, which is plain RAM suspend:
Code:
$ sudo pmset -a hibernatemode 0
After that you can delete the old RAM save file:
Code:
$ sudo rm /var/vm/sleepimage
To check what mode you are in:
Code:
$ sudo pmset -g | grep hibernatemode
Sudden Motion Sensor
I turn this off, but not really sure if it matters:
Code:
$ sudo pmset -a sms 0
HD sleep
You should also disable the "Put HD to sleep whenever possible" under System Preferences -> Energy Saver, for both Battery and Power Adapter.
TRIM Enabler
I've been back and forth on enabling TRIM. On the C300 in caused problems when enabled with freezing. On M4 I see no issues, so I left it on.