PorteuX enable zstd for zram

PorteuX - The Next Experience. It's inspired by Slax and Porteus but with heaps of improvements
agroferia
White ninja
White ninja
Posts: 11
Joined: 02 May 2016, 19:57
Distribution: Ubuntu
Location: Germany

PorteuX enable zstd for zram

Post#1 by agroferia » 04 Apr 2025, 21:42

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
Shogun
Shogun
Posts: 288
Joined: 12 Mar 2023, 22:10
Distribution: PorteuX

PorteuX enable zstd for zram

Post#2 by porteux » 05 Apr 2025, 11:36

Thanks! It will be added for the next release. :)

agroferia
White ninja
White ninja
Posts: 11
Joined: 02 May 2016, 19:57
Distribution: Ubuntu
Location: Germany

PorteuX enable zstd for zram

Post#3 by agroferia » 06 Apr 2025, 09:41

Thank you so much! :Yahoo!:

Post Reply