cactux
81
@dalto, do you use systemd-oom.service
?
I see that it has a conf file: /etc/systemd/oom.conf
[OOM]
#SwapUsedLimit=90%
#DefaultMemoryPressureLimit=60%
#DefaultMemoryPressureDurationSec=30s
What values would be your recommendation?
Please see for mem and swap configuration on this laptop: Zram vs swap partition vs swapfile - #77 by cactux
I just added zram to my gaming notebook (just in case).
Just don’t forget to disable zswap, otherwise zram will behave wonky.
I did a clean install without swap yesterday, only enabled zram. Zram shows up as “swap” device.
The Arch kernels enable zswap by default, if you add a swap device it will kick in automatically.
If cat /sys/module/zswap/parameters/enabled
gives you a Y
it’s enabled.
See e.g. bullet point two here.
1 Like
20 posts were merged into an existing topic: Zram errors after changing swap configuration