logoalt Hacker News

mkesper • today at 4:20 PM • 3 replies • view on HN

zram has inherent problems and is superseded by zswap. https://chrisdown.name/2026/03/24/zswap-vs-zram-when-to-use-...


Replies

hofiflo • today at 5:29 PM

I have a laptop with soldered RAM, a whole whopping 16GB of it. Without zswap or zram, it’s borderline unusable with web browsing, a bunch of terminals, mail client, etc. open. Maybe it’s a skill issue on my side, but only zram makes it work properly without hickups due to the OOM killer taking too long to kick in. Since switching from zswap to zram, I basically don’t encounter OOM situations and corresponding lockups anymore at all. Just my personal anecdote :)

➕ show 1 reply
anthk • today at 5:24 PM

Not in my case. Both a NUC with 8GB of RAM and a netbook with 1. Zram ran better. The least you touch the disk, the better.

kasabali • today at 5:29 PM

superseded when? both have inherent problems and their usecases and I got sick of this meme of pushing zswap as the superior solution.