Post #3308198
2026-06-13 09:15 UTC
Systemd absorbed zram now.
And no, you don’t need a background service for this.
# modprobe zram
# zramctl /dev/zram0 --algorithm zstd --size "$(($(grep -Po 'MemTotal:\s*\K\d+' /proc/meminfo)/2))KiB"
# mkswap -U clear /dev/zram0
# swapon --discard --priority 100 /dev/zram0
Replies (2)
-
@mech@feddit.org 2026-06-13 09:19
Systemd is a great operating system, all it lacks is a kernel.
-
@atzanteol@sh.itjust.works 2026-06-13 10:19
What happen me when you reboot?