zram-config defaulting to zstd
Fábio Lima
fabio at fabiolima.eti.br
Wed Dec 11 12:35:53 UTC 2019
....Or even better: refactor the script and use zramctl. The man page even
has samples and howtos to setup a zram swap.
Em qua., 11 de dez. de 2019 às 09:01, Fábio Lima <fabio at fabiolima.eti.br>
escreveu:
> 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
>
--
---------------------------------------------------
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/8fffde3f/attachment.html>
More information about the Ubuntu-devel-discuss
mailing list