On Fri, 2020-09-25 at 14:19 -0300, Rogério Brito wrote: > Package: initramfs-tools > Version: 0.139 > Followup-For: Bug #592519 > X-Debbugs-Cc: b...@debian.org, m...@debian.org, debian-ker...@lists.debian.org > > > Hi. > > In a similar vein to what was reported by Roger Shimizu, it takes ages to > compress with xz on an armel system with only 128MB of RAM. By default, > (which is what is used) xz uses level 6 compression and that is what takes a > lot of time to compress. > > I switched to gzip and the initrd is quite larger. I just performed some > tests with perf stat running 3 times a lot of commands to compress my > current initrd.img-5.8.0-1-marvell and I found xz -0 both to be faster than > gzip -9 *and* generating a smaller file as a result. [...]
Try zstd? If you still feel you need this flexibility, I'm open to taking a patch that allows specifying the compression level *only*. I don't want to allow specifying arbitrary options. Ben. -- Ben Hutchings This sentence contradicts itself - no actually it doesn't.
signature.asc
Description: This is a digitally signed message part