Re: How often is kernel "touching" swap partition?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 07/23/2013 01:22 PM, Martin Šťastný wrote:
>  how often is kernel touching swap space 

There's a kernel tunable called "swappiness" [1] to control that.  You
can add an entry in /etc/sysctl.conf like this:

vm.swappiness=0

...and the kernel will avoid, as much as it can, to use swap.

HTH,
Jorge

[1]: http://en.wikipedia.org/wiki/Swappiness
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos





[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux