On Tue, Jan 12, 2021 at 12:14 AM ElXreno <elxreno(a)gmail.com> wrote:
> Does this reduce your concern?
In a way, yes. Most of the time memory will be compressible, I agree,
but there are non-compressible data, and I'm only concerned about that.
In my opinion, it's better not to set the zram size to 100% for
everyone. Whoever is sure that their data will be compressible can set
it to 100%.
> Are you sure that this data is compressed in memory as well as the
> on-disk encoding? The editing operations themselves surely operate on
> uncompressed data, and then it's compressed upon being written to
> disk.
I'm not sure. But I've had a few times where zram didn't compress
anything and ended up freezing the system completely.
Is earlyoom disabled on this system? It should send SIGTERM to
something in this case - which is not the best UX as a hint that an
adjustment needs to be made. But I want to make sure there isn't
something else going wrong.
--
Chris Murphy