Environment
- EDR (All Versions)
- RedHat/CentOS 6.x, 7.x, 8.x
Question
What is the recommend Linux OS swappiness value for EDR Server/Cluster?
Answer
For optimal performance, VMWare Carbon Black recommends a swappiness value of 1 assuming sufficient physical RAM is available, which will force the OS to use physical RAM as possible before using swap.
- Execute:
sysctl -w vm.swappiness=1
- Edit /etc/sysctl.conf and add or modify the parameter:
vm.swappiness=1
Additional Notes
For a cluster, run the commands on master and all minions.
Related Content