Disable any performance tuning services, such as
- As root, change the current value in the operating system.
In /etc/sysctl.conf, add the line
vm.swappiness = 0.This ensures the correct setting is applied when the system restarts.
If performance tuning is required, set
vm.swappinessby cloning the existing performance profile, and then add
vm.swappiness = 0to the new profile's /usr/lib/tuned/profile-name/tuned.conf file.
To select the updated profile, run the command
tuned-adm profile customized_profile.
- To select the updated profile, run the command