F33 SwapOnZRam Test Day

More information about the event can be found here: http://fedoraproject.org/wiki/Test_Day:F33_SwapOnZRAM
Go back to List of Events.

Results

Clicking on the testcase name will show you the appropriate "how to test" page.
Click on the Enter result button, to enter result.
Note: results are cached and realoaded from the database each 10 seconds.

Test Cases

Username Profile Install Install and enable Stop Disable Custom config Hibernation Buildwkgtk Comments
Enter result Enter result Enter result Enter result Enter result Enter result Enter result
Iolo F32 Cinnamon Desktop, Virtualbox VM with 2 GB of RAM [1] [2] [3] 1. With any compression algorithm other than lzo, lzo-rle, or 842, restarting swap-create@zram0.service fails. The service's status then says this: Error: Failed to configure disk size into /sys/block/zram0/disksize Caused by: Cannot allocate memory (os error 12)
2. Hibernation doesn't work in this VM in the first place.
3. earlyoom kills the build as expected
alciregi Dell XPS 13 9360, Intel i7-7500U, F32 Workstation
alciregi F32 Raspberry Pi 3 aarch64
cmurf macbookpro 8,2 - 8G RAM - 8G swap disk partition - 4G swaponzram [1] [2] 1. did work reliably at one time but now suffers from a regression unrelated to swaponzram
2. With swaponzram alone, earlyoom kill happens within 10 minutes. With disk-based-swap alone, it stops making progress and I kill it off after 30 minutes. With both, it usually fails within 10 minutes due to earlyoom, sometimes succeeds. But no errors, call traces, or crashes.
condor Fedora 32 Server VM 1 cpu 1024 ram virt-manager
condor Fedora 32 Workstation VM 1 cpu 1024 ram virt-manager
grumpey
grumpey F32
grumpey F32
jpbn imac; Intel duo; AMD; 5.8.0-020200630 x86_64 [1] [2] [3] [4] [5] 1. first result probably result of a a typo.
2. f
3. #7 result negative ux ~]$ systemctl status swap-create@zram.service ● swap-create@zram.service - Create swap on /dev/zram Loaded: loaded (/usr/lib/systemd/system/swap-create@.service; static; vend> Active: inactive (dead) Docs: man:zram-generator(8) man:zram-generator.conf(5)
4. no hibernation on this machine
5. systemctl status swap-create@zram.service ● swap-create@zram.service - Create swap on /dev/zram Loaded: loaded (/usr/lib/systemd/system/swap-create@.service; static; vend> Active: inactive (dead) Docs: man:zram-generator(8) man:zram-generator.conf(5) Finish: build setup for webkit2gtk3-2.29.2-1.fc33.src.rpm Finish: build phase for webkit2gtk3-2.29.2-1.fc33.src.rpm ERROR: Exception(webkit2gtk3-2.29.2-1.fc33.src.rpm) Config(fedora-rawhide-x86_64) 0 minutes 30 seconds INFO: Results and/or logs in: /var/lib/mock/fedora-rawhide-x86_64/result ERROR: Command failed: # /usr/bin/systemd-nspawn -q -M 512ddf2797444386a76816f2d22cd569 -D /var/lib/mock/fedora-rawhide-x86_64/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.qqaugkq5:/etc/resolv.conf --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v\$ --setenv=LANG=C.UTF-8 /bin/rpm -Uvh --nodeps /builddir/build/originals/webkit2gtk3-2.29.2-1.fc33.src.rpm Updating / installing... webkit2gtk3-2.29.2-1.fc33 ######################################## error: unpacking of archive failed on file /builddir/build/SOURCES/webkitgtk-2.29.2.tar.xz;5f02f55c: cpio: read failed - Inappropriate ioctl for device error: /builddir/build/originals/webkit2gtk3-2.29.2-1.fc33.src.rpm cannot be installed sudo journalctl -b | grep earlyoom Jul 06 11:45:00 localhost.localdomain audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=earlyoom comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Jul 06 11:45:00 localhost.localdomain earlyoom[693]: earlyoom 1.6 Jul 06 11:45:00 localhost.localdomain earlyoom[693]: Preferring to kill process names that match regex '^Web Content$' Jul 06 11:45:00 localhost.localdomain earlyoom[693]: Will avoid killing process names that match regex '^(dnf|packagekitd|gnome-shell|gnome-session-c|gnome-session-b|lightdm|sddm|sddm-helper|gdm|gdm-wayland-ses|gdm-session-wor|gdm-x-session|Xorg|Xwayland|systemd|systemd-logind|dbus-daemon|dbus-broker|cinnamon|cinnamon-sessio|kwin_x11|kwin_wayland|plasmashell|ksmserver|plasma_session|startplasma-way|xfce4-session|mate-session|marco|lxqt-session|openbox)$' Jul 06 11:45:00 localhost.localdomain earlyoom[693]: mem total: 3905 MiB, swap total: 5987 MiB Jul 06 11:45:00 localhost.localdomain earlyoom[693]: sending SIGTERM when mem <= 4.00% and swap <= 10.00%, Jul 06 11:45:00 localhost.localdomain earlyoom[693]: SIGKILL when mem <= 2.00% and swap <= 5.00%
lnie Thinkpad p1 [1] [2] 1. just thought it's a little weird to failed like the following when host-memory-limit is set to smaller than the ram size [root@bogon ~]# systemctl restart swap-create@zram0.service Job for swap-create@zram0.service failed because the control process exited with error code. See "systemctl status swap-create@zram0.service" and "journalctl -xe" for details.
2. [root@bogon ~]# echo reboot > /sys/power/disk -bash: echo: write error: Operation not permitted
lnie kvm based VM [1] 1. hibernation doesn't work even without zram on fedora32 and fedora33,so I guess it's not zram's fault
lruzicka KVM, x86_64, bios based [1] 1. I could not make the VM hibernate properly. I lost the state on reboot.
mzink F32 VM 4GB (in Gnome Boxes) [1] 1. systemctl hibernate -> No enough space for
nasirhm KVM/QEMU on Lenovo Thinkpad X1 Carbon [1] [2] 1. Hibernation isn't working, it reboots back to a login screen of the display manager which is lightdm-gtk
2. EarlyOOM works fine.
nielsenb Compaq 8510w Intel T9300 AMD RV630 Fedora 32
returntrip Fedora Silverblue 32
returntrip Fedora Silverblue 32 - Ryzen 7 1700 - 16GB RAM [1] [2] 1. Made sure that both swap partitions were on (physical and zram). Initially, I had disabled the physical swap partition and hibernation would not work.
2. Jul 10 17:26:18 rauros.figura.io earlyoom[1763]: low memory! at or below SIGTERM limits: mem 2.50%, swap 10.00% Jul 10 17:26:18 rauros.figura.io earlyoom[1763]: sending SIGTERM to process 54989 uid 1000 "cc1plus": badness 66, VmRSS 1341 MiB Jul 10 17:26:18 rauros.figura.io earlyoom[1763]: process exited after 0.2 seconds
sumantrom KVM
yozaam F32 Workstation - VirtualBox - Base Memory 4096MB, Accelaration VT-x/AMD-V,Nested Paging KVM Paravirtualization
yozaam F32 Workstation 500Mb RAM KVM [1] 1. No output for zramctl -> tried sudo reboot, dnf remove zram-generator zram-generator-defaults and then dnf install both, upon entering zram -f output is available as /dev/zram0
zbyszek [1] 1. I used 'systemctl hibernate'.
zbyszek Thinkpad X1C, 8 GB RAM, 8 GB zram swap, 8GB real swap
Wiki Metadata