From Fedora Project Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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 3: Line 3:
| image = [[File:Echo-testing-48px.png|link=QA/Test Days]]
| image = [[File:Echo-testing-48px.png|link=QA/Test Days]]
| caption = [[SwapOnZRAM]]
| caption = [[SwapOnZRAM]]
| date = 2020-07-06
| date = TBD
| time = all day
| time = all week
| website = [[QA/Test Days]]
| website = [[QA/Test Days]]
| irc = [irc://irc.freenode.net/#fedora-test-day #fedora-test-day] ([http://webchat.freenode.net/?channels=fedora-test-day webirc])
| irc = [irc://irc.freenode.net/#fedora-test-day #fedora-test-day] ([http://webchat.freenode.net/?channels=fedora-test-day webirc])
Line 24: Line 24:
== Prerequisites for Test Day ==  
== Prerequisites for Test Day ==  


* 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.
<ol>
* Any Fedora Edition or Spin in version 31, 32 or Rawhide.
<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>
</ol>
 


== How to test? ==
== How to test? ==
Line 35: Line 47:
=== Run the tests ===
=== Run the tests ===


A list of available test cases:
* [[QA:Testcase_SwapOnZRAM_install]]
* [[QA:Testcase_SwapOnZRAM_install_and_enable]]
* [[QA:Testcase_SwapOnZRAM_stop]]
* [[QA:Testcase_SwapOnZRAM_disable]]
* [[QA:Testcase_SwapOnZRAM_customconfig]]
* [[QA:Testcase_SwapOnZRAM_hibernation]]
* [[QA:Testcase_SwapOnZRAM_buildwkgtk]]


== Reporting bugs ==
== Reporting bugs ==
Line 48: Line 52:
If you have problems with any of the tests, have a look in the [http://testdays.fedorainfracloud.org/events/86 results page]. Please include the vulnerability output at the end of the test suite in the comments.  
If you have problems with any of the tests, have a look in the [http://testdays.fedorainfracloud.org/events/86 results page]. Please include the vulnerability output at the end of the test suite in the comments.  


If you don't see it, please file a new bug to [https://bugzilla.redhat.com Bugzilla], against <code>rust-zram-generator</code> component.  If you are unsure about exactly how to file the report or what other information to include, just ask on IRC #fedora-test-day or #fedora-qa and we will help you.
If you don't see it, please file a new bug to [https://bugzilla.redhat.com Bugzilla], probably against <code>rust-zram-generator</code> component.  If you are unsure about exactly how to file the report or what other information to include, just ask on IRC #fedora-test-day or #fedora-qa and we will help you.


[[Category:Fedora 33 Test Days]]
[[Category:Fedora 33 Test Days]]
Please note that all contributions to Fedora Project Wiki are considered to be released under the Attribution-Share Alike 4.0 International (see Fedora Project Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please solve the following task below and enter the answer in the box (more info):

Cancel Editing help (opens in new window)