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 save 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 14: Line 14:
 
== What to test? ==
 
== What to test? ==
  
Today's installment of Fedora Test Day will focus on testing '''[[Changes/SwapOnZRAM]]'''.  
+
Today's installment of Fedora Test Day will focus on testing the new '''[https://fedoraproject.org/wiki/Changes/SwapOnZRAM SwapOnZRAM]''' change set.  
  
 
== Who's available? ==
 
== Who's available? ==
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.
+
Any Fedora edition/spin: 31, 32, Rawhide.
* Any Fedora Edition or Spin in version 31, 32 or Rawhide.
+
 
 +
<span style=color:red>dnf install zram-generator</span></br >
 +
<span style=color:red>cp /usr/share/doc/zram-generator/zram-generator.conf.example /etc/systemd/zram-generator.conf</span></br >
 +
* Edit the copy of the config file, and insert:</br >
 +
<span style=color:red>[zram0]</span></br >
 +
<span style=color:red>memory-limit = none</span></br >
 +
<span style=color:red>zram-fraction = 0.5</span></br >
 +
 
 +
Optional: <span style=color:red>dnf remove anaconda zram</span></br >
 +
The swap-on-zram implementations in these packages have minor conflicts with zram-generator, but mostly they'll just contribute to user confusion.
 +
 
  
 
== How to test? ==
 
== How to test? ==
 +
  
 
Simple memory hogging test: Open dozens of Firefox tabs, until memory and swap fill up.
 
Simple memory hogging test: Open dozens of Firefox tabs, until memory and swap fill up.
Line 35: Line 46:
 
=== 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 ==
  
 
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], 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.
 +
 +
== Test Results ==
  
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.
 
  
 
[[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)