Wednesday, 28 December 2016

How to check swappiness value on Linux Box.

[root@sankar-test ~]# cat /proc/sys/vm/swappiness
60 -- default value

swappiness can have a value of between 0 and 100

swappiness=0 tells the kernel to avoid swapping processes out of physical memory for as long as possible

swappiness=1 tells the kernel to Minimum swappiness without disabling it entirely

swappiness=100 tells the kernel to aggressively swap processes out of physical memory and move them to swap cache

(default) the swap file will be used fairly often if the memory usage is around half of my RAM.

1 comment:

  1. This blog is having the general information. Got a creative work and this is very different one.We have to develop our creativity mind.This blog helps for this. Thank you for this blog. This is very interesting and useful.

    digital marketing company in india