logoalt Hacker News

Kim_Bruningyesterday at 11:41 PM2 repliesview on HN

There's also kernel zswap, right?

https://www.kernel.org/doc/html/latest/admin-guide/mm/zswap....

Oh right, definitely. Chrisdown wrote an article comparing the two:

https://chrisdown.name/2026/03/24/zswap-vs-zram-when-to-use-...

Zswap is supposed to degrade more gracefully.

There's even some HN comments on it:

https://news.ycombinator.com/item?id=47500746


Replies

dlcarrieryesterday at 11:56 PM

The architecture of zswap does make more sense, because you might as well combine the low speed and latency of compression with the same from writing to storage.

yjftsjthsd-htoday at 12:18 AM

My impression is that zswap will be the universally preferred option for compressed swap, but right now it doesn't work without disk swap behind it?