[CentOS] How often is kernel "touching" swap partition?
Jorge Fábregas
jorge.fabregas at gmail.com
Tue Jul 23 18:05:10 UTC 2013
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
More information about the CentOS
mailing list