Tag Archives: swap

Create and mount SWAP file





Set swappiness

A swappiness setting of zero means that the disk will be avoided unless absolutely necessary (you run out of memory), while a swappiness setting of 100 means that programs will be swapped to disk almost instantly.


Set via command line

Or simply modify /etc/sysctl.conf adding this line: