swappiness parameter controls how often the Linux kernel moves processes out of physical memory and onto the swap disk. Because disks are much slower than RAM, if processes are moved out of memory too aggressively, it can lead to slower response times for system and applications.
The default value is usually 60. For better For best AppDynamics performance, the recommended value is 0 (zero)1.
To configure swappiness
Check the current value for
/sbin/sysctl -a | grep swappiness
As recommended, if the value is something other than 01, continue setting the value.
swappinessparameter to zeroone.
echo 01 > /proc/sys/vm/swappiness
/etc/sysctl.conffile and add following line:
vm.swappiness = 01