Wednesday, 28 December 2016

How to check swappiness value on Linux Box.



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



FYI,
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

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

7 comments:

  1. yes, Shalini. what we have face issues with receptive components based on that i will prepare the docs and generally to help me to remember those concepts.

    thank you for the comment, sorry for the delay response.

    ReplyDelete
  2. sure, thank you for your comment.

    ReplyDelete
  3. very very amazing explaintion....many things gather about yourself...yes realy i enjoy it
    Digital Marketing company

    in Chennai

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Very good information. we need learn from real time examples and for this we choose good training institute, who were interested to know about red hat linux which is quite interesting. We need a good training institute for my learning .. so people making use of the free demo classes. Many training institute provides free demo classes. One of the best training institute in Bangalore is Apponix Technologies. https://www.apponix.com/Linux-Unix-Institute/Linux-and-Unix-Training-in-Bangalore.html

    ReplyDelete