Comment 10 for bug 329199

Revision history for this message
Reinaert Albrecht (reinaert-albrecht) wrote :

In my experience this is solved by changing the swappiness value. Usually it is left at 60. It should be 10 or 15:
> cat /proc/sys/vm/swappiness

You can change it on the fly with
> sudo bash -c "echo -e 10 > /proc/sys/vm/swappiness"

and make it stick with
> sudo bash -c "echo 'vm.swappiness = 15' >> /etc/sysctl.conf"