logoalt Hacker News

LoganDark • today at 8:19 PM • 0 replies • view on HN

I thought the point of memory compression was fitting more pages into the same memory, by compressing their contents when they're not being used. It doesn't make sense that you would still need to have memory for every page, as that prevents you from getting more out of the same memory, doesn't it?

SSDs make swapping less of an issue, but it's still something I'd rather not allow to ever happen, as it's difficult to get swapped-out pages back into memory without exercising every single application on the system.

I thought memory compression was a replacement for swapping entirely, because you don't need to evict from memory, you can just compress it.