Page 1 of 1

PorteuX enable zstd for zram

Posted: 04 Apr 2025, 21:42
by agroferia
Hi. First of all thank you for the amazing distribution.

I have requested this change to the porteus team as well here: posting.php?mode=post&f=146

But here is a modified copy as it happens in porteuX as well:
I was trying out PorteuX and I set the zram parameter at boot. However, the algorithm gets set to lzo-rle and I cannot modify it.

This seems to come from the kernel, since version 6.12. You need to set the flags:
CONFIG_ZRAM_BACKEND_ZSTD=y
CONFIG_ZRAM_BACKEND_LZ4=y

To be able to use those algorithms.

I found the information here:
https://bugs.gentoo.org/946547
https://github.com/void-linux/void-pack ... sues/53580

Thanks!

PorteuX enable zstd for zram

Posted: 05 Apr 2025, 11:36
by porteux
Thanks! It will be added for the next release. :)

PorteuX enable zstd for zram

Posted: 06 Apr 2025, 09:41
by agroferia
Thank you so much! :Yahoo!: