News for hackers. Stuff that matters.
Re:Do not buy RAM, compress by deathanatos on Thursday November 19, 2026 @07:51PM (#50568760)
My frustration with zswap is that, when content is spilled to disk-based swap, it gets decompressed. There is, AFAICT, no way to have compressed swap¹ on Linux.

(¹on disk. A lot of these "z[foo]" projects are compressed memory.)

Re:Do not buy RAM, compress by hedgehog on Friday November 20, 2026 @12:14PM (#50578236)
Yeah I have wondered about that but I don't understand Linux well enough to know how to implement it. Having an additional tier of compressed storage for less-warm pages (including general disk cache) seems like it would be a performance win. I'm guessing there are some subtleties to doing the disk storage in a way that has acceptable page-in latency, doesn't cause excessive write amplification on flash, etc.