3 ms·
Do people still have a use for swap in modern server workloads? With everything running in containers on multi tenant machines it seems like it would be a night
by tayo42 3y ago
Do people still have a use for swap in modern server workloads? With everything running in containers on multi tenant machines it seems like it would be a nightmare to over subscribe ram available. Every misbehaving process will get killed by the oom killer when it hits its cgroup limit.
Makes sense for personal scenarios.
- al_borland 3y agoI just wrote some server provisioning automation for a datacenter. I originally didn’t include special handling for swap, as I didn’t think anyone would be using it, but I got some user requests. So now if they add swap, I set it up accordingly. It wasn’t common, and I don’t know if their app strictly required it or they were leaning on old habits, but some are still doing it.