Code: Select all
root# cat /proc/sys/vm/swappiness
60
I set it to 10 having 1Gb on my netbook.
===
swapiness is the value of the free memory in percentage after that kernel will start swapping onto HDD. More about:
https://en.wikipedia.org/wiki/Swappiness