zram-config defaulting to zstd
Fábio Lima
fabio at fabiolima.eti.br
Wed Dec 11 12:01:37 UTC 2019
Package zram-config now defaults compression algorithm to lzo.
What about to change to zstd?
Inserting into line 21 of /usr/bin/init-zram-swapping would do it:
`echo zstd > /sys/block/zram${DEVNUMBER}/comp_algorithm`
zram-config is something real useful. In a context of inexpensive RAM, It
is more wise disable swap on disk and use a compressed zram.
zstd is an algo perfect for that. It best balance compression ratio and cpu
usage.
---------------------------------------------------
Fábio Lima (fabio at fabiolima.eti.br)
https://www.linkedin.com/in/fabiolimabr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20191211/efef2e5a/attachment.html>
More information about the Ubuntu-devel-discuss
mailing list