3 ms·
I consider swap very necessary unless Linux is used like platform for something like Kubernetes and then you need to obey its rules. I'm adding enough swap for
by vbezhenar 5y ago
I consider swap very necessary unless Linux is used like platform for something like Kubernetes and then you need to obey its rules. I'm adding enough swap for all servers I manage and so far they rock stable. Good thing is that even if there's enough memory, some unused memory with time will migrate to swap and that'd free some RAM for disk buffers or consumption spikes. This behaviour seems somewhat broken on some modern distributions, so I prefer old distributions, I guess some defaults were changed which lead to less stable and performant systems in my observations.