| ▲ | Kim_Bruning a day 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: | ||
| ▲ | yjftsjthsd-h a day ago | parent | next [-] | |
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? | ||
| ▲ | dlcarrier a day ago | parent | prev [-] | |
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. | ||