disagree on the server take. zram can actually prevent oom kills by compressing inactive memory, especially on memory-constrained systems like embedded or containerized workloads where you need breathing room.
Not sure who this is for, but your workstation should absolutely be using zram and zero disk swap. You never want disk swapping, compressed or not, because it grinds the system to a halt.
I also don't think you really want any of this on servers or similar. It seems to me that getting oom killed is always preferable to everything just becoming unusably slow.
atakan74100@reddit
disagree on the server take. zram can actually prevent oom kills by compressing inactive memory, especially on memory-constrained systems like embedded or containerized workloads where you need breathing room.
KarnuRarnu@reddit
Not sure who this is for, but your workstation should absolutely be using zram and zero disk swap. You never want disk swapping, compressed or not, because it grinds the system to a halt.
I also don't think you really want any of this on servers or similar. It seems to me that getting oom killed is always preferable to everything just becoming unusably slow.