Disable compressed memory in Mac OS 10.9 Mavericks? (and still work on Yosemite)

vm/vm_pageout.h defines the modes for the vm_compressor boot argument, which defaults to VM_PAGER_COMPRESSOR_WITH_SWAP (per vm/vm_compressor.c). You can disable compression by changing the vm_compressor_mode argument to 1 (VM_PAGER_DEFAULT). That is:

Then reboot. You can verify the change was successful by running:

from: https://superuser.com/questions/668114/disable-compressed-memory-in-mac-os-10-9-mavericks/681252#681252?newreg=975ab6d74c42494c8f4c9130e6a71226

发表评论

电子邮件地址不会被公开。 必填项已用*标注