AppDynamics Application Intelligence Platform

3.9.x Documentation

PDFs

Learn by Watching

Doc Maps

The Swappiness Parameter in Linux

The swappiness parameter controls how often the Linux kernel to move processes out of physical memory and onto the swap disk. Because disks are much slower than RAM, this can lead to slower response times for system and applications if processes are too aggressively moved out of memory.

For best AppDynamics performance, the recommended value is "1".

To configure swappiness

1. Check the current value for swappiness.

/sbin/sysctl -a | grep swappiness

2. Configure the swappiness parameter.

echo 1 > /proc/sys/vm/swappiness

Edit the /etc/sysctl.conf file and add following line:

vm.swappiness = 1

Learn More