preview of swap on ZRAM feature/change
by Chris Murphy
Hi,
This topic has been discussed a couple times on devel@ over the past
year - related to resource control, and better interactivity in low
memory situations. And now I have a preview of the change proposal
ready.
https://fedoraproject.org/wiki/Changes/SwapOnZRAM
The proposal aims for default partitioning, for all Fedora editions
and spins, to not create a swap-on-disk partition. And instead create
a compression-based RAM disk, called ZRAM, and use that for swap.
Previous conversations with cloud and server folks suggests it's
somewhat common to not have swap at all. Hopefully I can change your
minds. :D Fast swap is good.
I'm confident a one-size-fits all size for the ZRAM device is
possible, as a fraction of RAM, with a max size (cap). This should be
aggressive enough for low memory devices, while also not expending as
much overhead for the systems with a lot of memory. It might be an
option to ship different configurations, if necessary.
There is a test day planned. But I'd like to get solid buy-in from
cloud and server folks before then.
Thanks,
--
Chris Murphy
3 years, 3 months