You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generator makes dev-zram0.swap part of swap.target, and dev-zram0.swap pulls in systemd-zram-setup@zram0.service. If that doesn't happen for you, then it sounds like for some reason swap.target is not getting activated properly.
swap.target is also not active (white dot). This seems to confirm my original theory that swap.target is not getting activated. Can you show the kernel commandline?
I have followed arch wiki on configuring zram using zram-generator:
https://wiki.archlinux.org/title/Zram
but the systemd-zram-setup@zram0.service service does not start on boot as stated in the wiki, i manually have to run : sudo systemctl start systemd-zram-setup@zram0.service to start the service after every boot, and i've had no luck finding a solution.
configuration =
$>cat /etc/systemd/zram-generator.conf
[zram0]
zram-size = min(ram / 2, 4096)
compression-algorithm = zstd
The text was updated successfully, but these errors were encountered: