3 ms·
zram can create a very good buffer for that sort of thing
by teravor 2mo ago
zram can create a very good buffer for that sort of thing
- mkesper 2mo agoBetter use zswap, as zram and swap together can lead to priority inversion. 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-... (found via lwn.net)
- teravor 2mo agoit 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.