Best way to use zram in Fedora 21?

Vratislav Podzimek vpodzime at
Thu Nov 27 10:15:46 UTC 2014

On Wed, 2014-11-26 at 16:27 -0500, Corey Sheldon wrote:
> Juan no need    inst.zram=on on install   on first boot   modprobe
> zram ;  systemctl start zram    voila   I use the default one in f21b
> no issues
For now. But the anaconda's zram.service is tailored to provide zram
swap for the installation process. Future changes in it may make it
unusable for general purpose usage on an installed system.

So packaging something general-purpose it definitely the right way to
go. Reindl's scripts look good to me, I'd just suggest adding a
configuration option for setting the maximum RAM for the zram swap being
created. It doesn't make much sense to use it on systems with e.g. 32
GiB of RAM. That's by the way one of the tweaks the anaconda's version
of the scripts+service has (hardcoded, though).

Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic

More information about the devel mailing list