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