← Back to context

Comment by mkesper

20 hours ago

Better use zswap, as zram and swap together can lead to priority inversion. https://chrisdown.name/2026/03/24/zswap-vs-zram-when-to-use-... (found via lwn.net)

it depends on what you want to do. in my case I only want disk swap to be used for hibernation. I calibrated the system to make do with the very generous zram compression ratio of 3 and if it doesn't work out a userspace OOM killer will fix it. zswap will be polluting your SSD all the time.