Last Updated: February 25, 2016
·
277
· squioc

Define the ratio of your RAM usage

To force or diminish the use of your RAM as memory, you can adjust your swappiness as following:

sysctl -w vm.swappiness=<ratio>

More your ratio is low, more data will be in the RAM. More it is High, more data will be in the swap.