Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1026462

Bug#592519: initramfs-tools: COMPRESS option should be more flexible

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#592519: initramfs-tools: COMPRESS option should be more flexible
Date 2020-09-26 02:40 +0200
Message-ID <AT6pP-6CX-1@gated-at.bofh.it> (permalink)
References <fg1qW-6L0-13@gated-at.bofh.it> <ASZHH-2He-1@gated-at.bofh.it> <fg1qW-6L0-13@gated-at.bofh.it> <ASZHH-2He-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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: benh@debian.org, mika@debian.org, debian-kernel@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.


Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#592519: initramfs-tools: COMPRESS option should be more flexible Rogério Brito <rbrito@ime.usp.br> - 2020-09-25 19:30 +0200
  Bug#592519: initramfs-tools: COMPRESS option should be more flexible Ben Hutchings <ben@decadent.org.uk> - 2020-09-26 02:40 +0200

csiph-web