To disable secure virtual memory in 10.7, one does the following:
sudo defaults write /Library/Preferences/com.apple.virtualMemory DisableEncryptedSwap -boolean yes
However, are there any benefits to disabling secure system memory? I'm not concerned with security as much as I 'm concerned about system speed.
Best Answer
According to MacWorld, the advantage of disabling encrypted swaps should be “just a slightly less overhead on the page in & out process”.
So yes, there is a minor performance gain, but it won’t be a huge performance boost. To me, it’s not worth the security risk (of potentially having unencrypted passwords and other sensitive data in swap memory).
You’d get a much bigger performance boost if you’d disable virtual memory completely:
To re-enable it: