Zram

We talked about it ages go ZRAM swap alternative - #7 by Baggypants

Quite a lot of distros have it turned on now by default as it’s low impact and generally is better than no swap at all.

If you don’t have swap your system reaches right for the OOM killer rather than a more graceful degradation of performance.

all you have to do is

apt install zram-tools
systemctl enable --now zramswap
2 Likes