Is there any way to disable memory compression in Mavericks? Ever since I upgraded, my Minecraft server has been using ludicrous amounts of CPU time and choking. I'd like to test without compressed memory to see if that might be the culprit.
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:
sudo nvram boot-args="vm_compressor=1"
Then reboot. You can verify the change was successful by running:
sysctl -a vm.compressor_mode
protected by Community♦ Dec 18 '13 at 20:33
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?