Swap
From KevinWiki
Swappiness Parameter
- Check swappiness value
$ cat /proc/sys/vm/swappiness
- Change swappiness value (This is only a temporary change so restarting Linux will nullify it).
$ sudo sysctl vm.swappiness=5
- So to change the swappiness value permanently, open the
/etc/sysctl.conf
file and editvm.swappiness
(add it if it does not exist).
vm.swappiness=5