interesting discussion on the odd fact that in Linux we have #zram aka #zramswap (compressed swap in memory) and #zswap (compressed swap buffer in memory which decompresses the data before evicting it to a disk-based backing store if memory is getting low enough), without having simple compressed swap on disk:

https://unix.stackexchange.com/questions/740334/how-to-compress-disk-swap

How to compress disk swap

I am looking for a way to compress swap on disk. I am not looking for wider discussion of alternative solutions. See discussion at the end. I have tried... Using compressed zfs zvol for swap is NOT

Unix & Linux Stack Exchange
Hats off to the #zramswap devs for turning "download more RAM" into a real thing
Ibernazione su arch linux - Feddit.it

Qualcuno saprebbe indicarmi una guida per attivare l’ibernazione post installazione su #arch #linux con una swap su file zram ?