<div dir="ltr">Package zram-config now defaults compression algorithm to lzo.<br>What about to change to zstd?<br><br>Inserting into line 21 of /usr/bin/init-zram-swapping would do it:<br>`echo zstd > /sys/block/zram${DEVNUMBER}/comp_algorithm`<br><br>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.<br>zstd is an algo perfect for that. It best balance compression ratio and cpu usage.<br clear="all"><div><br></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>---------------------------------------------------</div><div>Fábio Lima (<a href="mailto:fabio@fabiolima.eti.br" target="_blank">fabio@fabiolima.eti.br</a>)</div><div><a href="https://www.linkedin.com/in/fabiolimabr" target="_blank">https://www.linkedin.com/in/fabiolimabr</a><br></div></div></div></div></div></div></div></div>