by jmakov · 1w ago · 0 comments
If my understanding is correct, both ZRAM and ZSWAP write uncompressed pages to disk. And both don't pack the pages together meaning even if we'd write compressed pages (let's say they compress 5:1), we'd still write the original size to disk. This is crazy.
ZRAM added compressed_writeback in 7.0, it needs to be explicitly enabled.