Chrismurphy (talk | contribs) No edit summary |
(improve formatting and description) |
||
Line 14: | Line 14: | ||
== What to test? == | == What to test? == | ||
Today's installment of Fedora Test Day will focus on testing | Today's installment of Fedora Test Day will focus on testing '''[[Changes/SwapOnZRAM]]'''. | ||
== Who's available? == | == Who's available? == | ||
Line 24: | Line 24: | ||
== Prerequisites for Test Day == | == Prerequisites for Test Day == | ||
Any Fedora | <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> | |||
The swap-on-zram implementations in | <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? == | ||
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 50: | Line 51: | ||
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. | |||
[[Category:Fedora 33 Test Days]] | [[Category:Fedora 33 Test Days]] |
Revision as of 13:47, 16 June 2020
Fedora Test Day | |
---|---|
SwapOnZRAM | |
Date | TBD |
Time | all week |
Website | QA/Test Days |
IRC | #fedora-test-day (webirc) |
Mailing list | test |
What to test?
Today's installment of Fedora Test Day will focus on testing Changes/SwapOnZRAM.
Who's available?
The following cast of characters will be available for testing, workarounds, bug fixes, and general discussion ...
- Development - chrismurphy (cmurf), zbyszek
- Quality Assurance - Sumantro Mukherjee (sumantrom), Kamil Paral (kparal), Geoff (coremodule), Adam Williamson (adamw)
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 or Spin in version 31, 32 or Rawhide.
- Install
zram-generator
:sudo dnf install zram-generator sudo cp /usr/share/doc/zram-generator/zram-generator.conf.example /etc/systemd/zram-generator.conf
- Edit
/etc/systemd/zram-generator.conf
and set these values:[zram0] memory-limit = none zram-fraction = 0.5
- 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.sudo dnf remove anaconda zram
How to test?
Simple memory hogging test: Open dozens of Firefox tabs, until memory and swap fill up.
Optional: zram performance testing toolset This is a bit more complex to get setup and understand the results. But could be useful to confirm/deny the default compression algorithm: lzo-rle is a good default across many architectures and general purpose workloads.
Run the tests
Reporting bugs
If you have problems with any of the tests, have a look in the 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 Bugzilla, probably against rust-zram-generator
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.