Let the kernel only swap if it is absolutely necessary using /etc/sysctl.d - for better performance.