03-13-2024, 02:37 PM
John, have you considered using Zstandard instead of lz4? It has pretty high compression ratios combined with much faster decompression than XZ. The Linux kernel has supported Zstandard-compressed SquashFS since version 4.14. The main caveat compared to XZ is that similar compression ratios require more compression time. I have just tried recompressing linuxfs from dsl-2024.rc1.iso. The Zstandard version ended up being 751 MiB. The XZ original is 632 MiB, and the lz4 version from dsl-2024.rc1.lz4.iso is 1.1 GiB.
The command I used to create the Zstandard version was
The command I used to create the Zstandard version was
Code:
mksquashfs squashfs-root/ linuxfs.zst -comp zstd -progress -Xcompression-level 22