On 6/5/20 12:18 PM, John M. Harris Jr wrote:
Well, that's for the GNOME stuff. This is a system-wide change
proposal, is it
not? Additionally, you could still be meeting that requirement here, as a new
install with the same options selected, that is, to have a swap partition,
would disable the zram device. That'd be a nice middleground for users like
myself that don't have enough RAM to waste on a zram device. I'm writing this
email on a Lenovo ThinkPad X200 Tablet with 6 GiB of RAM, where giving half of
my RAM to zram would kill my system's performance, if not quickly cause OOM.
I think you've completely missed the technical description of how this
works. It does not take more than a tiny bit of RAM when it's not being
used. It definitely does not take half your RAM right away. It only
starts using RAM when you would otherwise be going into swap. Then it
takes those pages that would be going to disk and compresses them so
they use less RAM. So no it will not kill your system's performance and
will help avoid the OOM condition.