# /etc/systemd/zram-generator.conf [zram0] zram-size = ram * 2 compression-algorithm=zstd