Change default zram compression algorithm to zstd

This is something that you can easily change. See man 5 zram-generator.conf. You need to create the file /etc/systemd/zram-generator.conf and set the optition compression-algorithm to the algorithm you want to use.

See /usr/lib/systemd/zram-generator.conf for the current config. This config does not specify an algorithm which makes me think that Fedora probably was fine with the default algorithm or did not bother to make a choice.

3 Likes