On Sun, Jan 16, 2022 at 10:46 AM Robert Moskowitz <rgm@htt-consult.com> wrote:
It has been a while my using zram.  How do I disable it for now? With
16GB real memory and 16GB real swap partition, I want to see how things
are working...

While someone provided the direct answer to your question, I would reverse it. What are you doing that would require that much disk swap? And even if it did the performance would be pretty bad unless you're running an SSD/NVMe drive, and even if you are, in memory swap would still be faster. 

Also, now that processes are killed automatically in OOM situations having large amounts of swap isn't really necessary.

At the end of the day it's all about the problem you want to deal with:

1. Large physical swap which may prevent OOM but your system slows to a crawl to the point of being unusable (but possibly recoverable) if you're very patient.
2. zram swap + OOM killer which may choose the wrong process to kill but keeps your system responsive.

For me, the only time I max out my memory (32GB real, ~48GB w/ zram swap) is when building very large packages. If I was to use disk swap that would significantly slow down an already large/long build so I prefer option #2.

Thanks,
Richard