I have a 8gb High Performance SD card that I would like to use as swap (virtual memory). Is this possible in Mac OS X Server, and if so how do I go about doing this?
You probably can use an SD card as a backing store.
However: you should not expect a good result. See the up-voted comments.
No - the Mac OS doesn't have an accelerate feature where extra storage swaps files (or anything else for that matter). The best you could do is try to disable swap - move the swapfile directory to the card and re-start the dynamic pager.
Here are a few questions to get you started:
- Why would I disable swap file in Mac OS X?
- How can I move virtual memory swap files to a different drive or partition?
Also - for the purposes of VM mechanics, the server OS and the normal OS behave the same.
This is what I'll do.
a) Disable VM
b) Delete the original folder where the system stores swap files
c) Create a alias to a folder in the SD Card and change its name to match the folder you deleted.
d) Enable VM and see if it works, if it doesn't it PROBABLY won't crash the system, VM SHOULD simply fall back and NOT turn on.
I strongly don't recommend this, SD Card won't be any faster than HD in terms of performance.
I will recommend alias (if it works), because that way you can just delete the alias if you changed your mind.