3 ms·
That was a lot of words to say “Swap allows us to push infrequently used pages to disk during memory usage spikes to avoid triggering the dropping of useful fil
by DecoPerson 6y ago
That was a lot of words to say “Swap allows us to push infrequently used pages to disk during memory usage spikes to avoid triggering the dropping of useful file pages, or worse, the OOM killer.”
- jpitz 6y agoTfa even bolds the initial takeaway: "Swap is primarily a mechanism for equality of reclamation, not for emergency "extra memory". Swap is not what makes your application slow – entering overall memory contention is what makes your application slow." It is a mechanism for making more page types reclaimable.
- danw1979 6y agoIt's an absolute brain dump of an article. I went in really interested but couldn't make it past the first few paragraphs. Thanks for summarising...