On Sun, Jan 16, 2022 at 10:46 AM Robert Moskowitz <r...@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
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to