It would be nice to test the default vs zstd and lz4.
** Description changed:
Package zram-config now defaults compression algorithm to lzo.
What about to change to zstd?
Even better: refactor the script and use zramctl, that manages in a better
way.
init-zram-swapping can be like below. I changed this at my machine and works
fine.
#!/bin/bash
# Calculate memory to use for zram (1/4 of ram)
modprobe zram 1
zram=$(zramctl --find --algorithm zstd --size $(($(cat /proc/meminfo | grep
MemTotal | awk -F' ' '{print $2}') / 4))KiB)
mkswap $zram
swapon $zram
- PS: I also suggest considering bug report #1835726
+ PS: I also suggest considering bug 1835726
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1856043
Title:
Default to zstd
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zram-config/+bug/1856043/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs