How to get compressed memory back in OS X 10.9 Mavericks?

5,440

You're confusing the boot argument vm_compressor with the sysctl variable vm.compressor_mode; they don't correspond in values. As I understand it, this is the mapping:

nvram boot-args=""  =>                 sysctl vm.compressor_mode=4  =>  memory compression enabled (normal)
nvram boot-args="vm_compressor=1"  =>  sysctl vm.compressor_mode=1  =>  memory compression disabled

To restore the default behavior, either:

  • remove the one boot argument from NVRAM; or
  • remove all boot arguments, sudo nvram -d boot-args

– then restart the Mac.

Share:
5,440

Related videos on Youtube

user290052
Author by

user290052

Updated on September 18, 2022

Comments