joluveba I think that having a swap partition/file is redundant with having zram, since zram works as if it were a swap. Am I wrong?
You still need a swap partition/file if you want to do hibernation. It can also still be beneficial even with zram because zram can only compress so far. For example, if someone has an machine with 8GB of RAM then Zram might make that about as usable as a10-12GB RAM machine, but it's not going to help beyond that. Swap can still be useful at that point.
Generally though if you have a swap partition/file then the best option is to disable zram and enable zswap instead. Zswap integrates with a real swap device and will move memory pages that don't compress well or aren't being actively used to the actual swap device in order to leave more memory for more actively used things. Zram doesn't do that so sometimes the kernel will inefficiently use it if you have a real swap device as well.