On 05/25/2011 03:12 PM, Alex Schuster wrote:
[...] Now I have 8G, and do not notice that much swapping any more. Although... right now, swap is at 600M, and the system is swapping right now. Weird. I'm running rdiff- backup, this seems to increase swap size. Maybe too much of the stuff it precesses is being cached? Swap is at 800M now.
You can tweak this in /etc/sysctl.conf: vm.swappiness = 30 Or maybe 20. The default is 60. IMO way too high for desktop systems.