The zswap compressed swap cache
The zswap compressed swap cache
Posted Feb 17, 2013 5:00 UTC (Sun) by giraffedata (guest, #1954)Parent article: The zswap compressed swap cache
To operate optimally as a cache, zswap should hold the most recently used pages.
Actually, to operate optimally, it should hold the soonest reused pages. Looking for the most recently used pages is just one cheap way to approximate that. As we know from decades of research, there's usually a high correlation between the two properties, but there are notable cases where they are anti-correlated.