Hi! I'm a Brazilian deepin user and I like testing deepin on different computers, including low-end hardware.
Recently I had a problem with ZRAM on deepin 25. My previous systemd configuration was creating dependency problems with swap.target, and /dev/zram0 was not always being created correctly.
I fixed it by creating ZRAM only after the device is available, using the kernel ZRAM interface when necessary, and then activating the swap with a higher priority than the disk swap.
My final configuration uses:
/dev/zram0
ZRAM compression
swap priority 100
a persistent systemd service
disk swap kept as fallback
After fixing it, ZRAM starts correctly at boot and the system remains stable.
I tested this especially because I like running deepin on older and low-memory computers.
I'm still learning Linux and my English is not perfect, but I wanted to share this because maybe it can help another deepin user. :)
Hi! I'm a Brazilian deepin user and I like testing deepin on different computers, including low-end hardware.
Recently I had a problem with ZRAM on deepin 25. My previous systemd configuration was creating dependency problems with
swap.target, and/dev/zram0was not always being created correctly.I fixed it by creating ZRAM only after the device is available, using the kernel ZRAM interface when necessary, and then activating the swap with a higher priority than the disk swap.
My final configuration uses:
/dev/zram0100After fixing it, ZRAM starts correctly at boot and the system remains stable.
I tested this especially because I like running deepin on older and low-memory computers.
I'm still learning Linux and my English is not perfect, but I wanted to share this because maybe it can help another deepin user. :)