Re:In defence of swap: common misconceptions
by vardump on Sunday January 14, 2018 @08:30PM
(#16147773)
I wonder if ARC can be used for replacement policy:
https://en.wikipedia.org/wiki/Adaptive_replacement_cache
Although I guess it's patent encumbered...
(OSes have gotten a little more resilient against this scenario over the years, but it illustrates the issue.)
Memory pool balancing is a really hard control theory problem! I don't blame some people taking the RAM size efficiency hit and just turning off swap entirely. I just think it's a shame to have to resort to that extreme.