ElasticHosts recommend: ‘You should configure your operating system without swap, using additional memory if necessary. This will significantly improve performance, since drives are provided over network RAID.’
I haven’t been brave enough to try this yet – but a brief bit of research showed that the following commands could be used.
#force the kernel not to use swap (default = 60)
sysctl vm.swappiness=0
#or disable the swap file
swapoff -v /swapfile
# to confirm … show memory and swap usage
free -m