Hacker News new | ask | show | jobs
by Kim_Bruning 59 days ago
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

2 comments

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.
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?