Change default value of vm.swappiness to something better
Currently vm.swappiness
value is 60
, the default, which means when you start consuming over 40% of your ram the system will begin swapping some things. This seems a bit aggressive nowdays and given the popularity of ssds it can accelerate disk tear.
I think something like 20
would be a better default.