Fedora strategy to allocate 100% RAM in zram if not good. You can allocate 210% od your RAM if you use zstd, or 200% if you use lz4 algorithm. Why?
Becouse you allocating virtual uncompressed memory.
If I have 256 MB of RAM, I will use 200 MB for zram. But I have to allocate 440 MB as virtual disk, that will be compresed with 60% ratio using zstd algorithm into 200 MB. In this way, instead having 200 MB of free memory, I get more than twice.
zram disksize 450 MB
uncompressed memory 416.8 MB
compressed memory 162.5 MB
all compressed memory 168.1 MB
compression algororithm zstd