I think MGLRU isn't ready for a lot of uses unless it keeps the paired lists
I think MGLRU isn't ready for a lot of uses unless it keeps the paired lists
Posted Mar 5, 2026 19:23 UTC (Thu) by jthill (subscriber, #56558)Parent article: Reconsidering the multi-generational LRU
I think disabling the swappiness knob is *clearly* a mistake. Straight LRU doesn't understand differing reload costs and doesn't understand other usage patterns. If a set of file-backed pages are expensive to reload and reused at workload-scale short(ish) but cpu-scale long intervals LRU fails due to the horizon effect. swappiness is engineered to correct for both, for bulk-reuse-at-intervals and sometimes huge disparities in reload costs, it's there because detecting that automatically is a can of worms and tuning the tradeoff is an administrative matter anyway.
