User Tools

Site Tools


Swap Memory

There is a swappiness factory, see /proc/sys/vm/swappiness.

Setting it to 0 will turn of swap. The recommended value is 10.

To set this at system start use /etc/sysctl.conf.


To turn swap on and/or off use the commands swapon and swapoff


swappiness of 0 will turn off swap completely.

swap_memory.txt · Last modified: 2017/05/17 10:50 by mihael