3 ms·
There's also kernel zswap, right? https://www.kernel.org/doc/html/latest/admin-guide/mm/zswap.html https://www.kernel.org/doc/html/latest/admin-guide/mm/zswap.
by Kim_Bruning 6mo ago
There's also kernel zswap, right?
https://www.kernel.org/doc/html/latest/admin-guide/mm/zswap.html 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-what.html 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 https://news.ycombinator.com/item?id=47500746
- dlcarrier 6mo agoThe 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-h 6mo agoMy 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?