Fedora 33 Looking To Use Swap On zRAM By Default With systemd's zram-generator

Written by Michael Larabel in Fedora on 6 June 2020 at 08:53 AM EDT. 33 Comments
Some Fedora spins have already made use of swap on zRAM for serving as a compressed RAM drive while with Fedora Workstation 33 they are looking to make use of zRAM by default.

ZRAM has been used for a while by other Linux distributions and the likes of Chrome OS and Android even for more efficient swap usage. One could argue it's long overdue but for Fedora Workstation 33 they are looking at automatically providing a swap-on-zram setup out-of-the-box.

Back in January we noted they were eyeing using swap on zRAM while now the formal change proposal has been drafted and is currently being discussed on the Fedora mailing list before being voted on by the Fedora Engineering and Steering Committee.

The change proposal provides an overview of the planned setup, their intended usage of systemd rust-zram-generator, providing a default zram-generator configuration, and getting all of the bits disabled. For those that do not want to use zRAM, it would be as simple as swapping off /dev/zram0 or removing the systemd zram-generator configuration file.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week