From Fedora Project Wiki
Test installation of
zram-generator only (disabled by default)
How to test
- We recommend to remove the following packages. The swap-on-zram implementations in those packages have minor conflicts with
zram-generator, but mostly they'll just contribute to user confusion.
sudo dnf remove anaconda zram
sudo dnf install zram-generator
- Reboot your machine
- Verify that swap-on-zram is not active.
zramctlshould produce no output and
swaponshould only list your pre-existing swap partitions (if you had any) and no
zramdevice. In other words, everything should look like it usually does, because
zram-generatorisn't enabled by default. Example:
$ zramctl $ swapon NAME TYPE SIZE USED PRIO /dev/vda1 partition 500M 0B -2
zram-generatoris installed without issues, and is not activated after a reboot.