Re:Do not buy RAM, compress
by adgjlsfhk1 on Thursday November 19, 2026 @01:28PM
(#50564041)
zswap+earlyoom/systemd-oomd is the optimal combo. Unfortunately, very few desktops ship this/configure it correctly.
[ Parent
| on HN ]
I guess that’s where the skill issue is coming in! That’s what I tried but probably my configuration wasn’t ideal. Maybe I should give it another shot!
You can also try the following to let the system detect thrashing and fire up its OOM killer:
echo 1000 > /sys/kernel/mm/lru_gen/min_ttl_ms
Docs: https://www.kernel.org/doc/html/latest/admin-guide/mm/multig...
In practice I think you may still want a userspace OOM killer that knows a bit more about what processes are preferable to kill.