Comment 332 for bug 131094

Revision history for this message
psypher (psypher246) wrote :

Hi All,

Seems that there is quite a bit of life again on https://bugzilla.kernel.org/show_bug.cgi?id=12309 which seems to be the right bug for this issue.

Some guys are getting good results when turning off swap completely.

Please try the following and report back if this improves your system responsiveness:

sudo apt-get install stress
sudo swapoff -a
stress -d 1

Now go use you machine.

swapoff will turn off all swap for a while. I have 3GB of ram so this is not a problem. If you have less than 1GB you might experience more of a slowdown if you use a lot of ram.
Stress makes the hard drive read and write continuously, so it simulates heavy disk IO.

If you reboot swap will be turned on again. You would have to hash out the swap line in your fstab to stop that from happening.
Setting swappiness to a low value or 0 does not make a difference. Have to turn it off.

Thanks