News for hackers. Stuff that matters.
Re:In defence of swap: common misconceptions by cesaref on Tuesday June 09, 2020 @04:24AM (#23464804)
Agreed, if you can size it, you can specify the right memory for a host for an app. There are plenty of situations where you've got dedicated hardware and a suitable budget and you can do size the hardware correctly.

If however you have something like kubernetes, your apps move across hosts, you have memory scaling with use (e.g connections) and you have no idea what the load on the app will be, it becomes basically impossible to right-size the memory so other strategies come into play. Monitoring becomes king at that point.

Re:In defence of swap: common misconceptions by throwaway2048 on Tuesday June 09, 2020 @04:56AM (#23464964)
If your workload cant fit in memory, without special measures such as optane swap storage you will have such crushing unresponsiveness even with something like SSDs that it is entirely not worth the hassle in 99% of cases, no matter what your budget is.
Re:In defence of swap: common misconceptions by clarry on Tuesday June 09, 2020 @04:31AM (#23464851)
And if you can't size it, you can't size swap either so yeah.. monitor and then do what you need to do.