Re: Fedora 34 Change: Scale ZRAM to Full Memory Size (Self-Contained Change proposal)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 11, 2021 at 9:55 PM ElXreno <elxreno@xxxxxxxxx> wrote:
>
> I apologize for the possible duplicate message, the past didn't show up
> for reasons I don't understand.
>
> I think it's a bad idea. It is better to make `zram-fraction` equal to
> 0.8 or 0.9, but not 1.0.
> For example, if you run Darktable, load a floating-point TIFF image into
> it, and try to export it, on systems with little RAM, it will fill both
> RAM itself and zram, and cause the system to freeze completely because
> the memory is almost incompressible.
> Also, other data (video editors, for example) which are not compressible
> can get into RAM.

Different question: This sounds like you're handling data that won't
fit into RAM+Swap anyway, using zram isn't going to help (or hurt),
because with or without compression, your data just doesn't fit in
memory.
What does the maximum fraction of zram have to do with that? Either
way, this sounds like you just don't have enough physical RAM for your
workload. In that case, adding physical swap (on disk) is probably the
only way to make that work (other than buying more RAM).

Fabio
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux