Swappiness is a kernel parameter that controls how often your pages are swapped to disk. A low value causes the kernel to avoid swapping; a higher value causes the kernel to try to use swap space. The default value is 60.
$ cat /proc/sys/vm/swappiness
60