From Fedora Project Wiki
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 24: | Line 24: | ||
== Prerequisites for Test Day == | == Prerequisites for Test Day == | ||
<ol> | |||
<li> A virtual machine or a bare metal machine. Using low-memory machines like ARM boards, netbooks or old PCs is very helpful, because it's much easier to run out of available memory on them. But this feature can also be tested on high-performance workstations and servers with lots of RAM. | |||
<li> Any Fedora Edition or Spin in version 31, 32 or Rawhide. | |||
<li> Install `zram-generator`: | |||
<pre>sudo dnf install zram-generator | |||
sudo cp /usr/share/doc/zram-generator/zram-generator.conf.example /etc/systemd/zram-generator.conf</pre> | |||
<li> Edit `/etc/systemd/zram-generator.conf` and set these values: | |||
<pre>[zram0] | |||
memory-limit = none | |||
zram-fraction = 0.5</pre> | |||
<li> Optionally remove the following packages. The swap-on-zram implementations in those packages have minor conflicts with `zram-generator`, but mostly they'll just contribute to user confusion. | |||
<pre>sudo dnf remove anaconda zram</pre> | |||
<li> Reboot your machine | |||
</ol> | |||
== How to test? == | == How to test? == |