It is recommended that any performance tuning services like tuned
be
disabled. As root, change the current value in the operating system and by adding a line
vm.swappiness = 0
to /etc/sysctl.conf
to ensure
that the correct setting is applied when the system restarts.
If performance tuning is required, vm.swappiness
can be set by cloning
the existing performance profile then adding vm.swappiness = 0
to the
new profile's tuned.conf
file in
/usr/lib/tuned/profile-name/tuned.conf
. The updated profile is then
selected by running tuned-adm profile customized_profile
.