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


Groups > linux.debian.kernel > #74147

Bug#1003427: COMPRESS=zstd and COMPRESS=lz4 hard-coded to bad COMPRESSLEVELs

Path csiph.com!weretis.net!feeder8.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!bofh.it!news.nic.it!robomod
From "Trent W. Buck" <trentbuck@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1003427: COMPRESS=zstd and COMPRESS=lz4 hard-coded to bad COMPRESSLEVELs
Date Mon, 10 Jan 2022 02:00:02 +0100
Message-ID <DDRcu-7ff-1@gated-at.bofh.it> (permalink)
References <DDQq5-6Z9-1@gated-at.bofh.it> <DDRcu-7ff-3@gated-at.bofh.it> <DDQq5-6Z9-1@gated-at.bofh.it> <DDRcu-7ff-3@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Mon Jan 10 00:57:08 2022
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -5.299
Reply-To "Trent W. Buck" <trentbuck@gmail.com>, 1003427@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian kernel team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 1003427
X-Debian-Pr-Package initramfs-tools
X-Debian-Pr-Source initramfs-tools
X-Gm-Message-State AOAM533kTVEFINUIZ79W/qNrEeKLdLixt4QIlKixIzWpS9MDQV7LTR6T fYA+XWkH4u/A+dwsATGbPSusMsx0IEQ=
X-Google-SMTP-Source ABdhPJwFr9A/VjDL/Ekp9lIOq3yO59uebn0tDvLnmHQn39j0Fg17TzX0ikC2Ws14FhQIo8GeuB8sWg==
X-Received by 2002:a17:902:e5c9:b0:14a:2da3:e60f with SMTP id u9-20020a170902e5c900b0014a2da3e60fmr4299637plf.100.1641776038364; Sun, 09 Jan 2022 16:53:58 -0800 (PST)
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1699784
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 34
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc 1003427@bugs.debian.org
X-Original-Date Mon, 10 Jan 2022 11:53:52 +1100
X-Original-Message-ID <YduDoDJYkMwj9L9w@hera.cyber.com.au>
X-Original-References <164177308010.5901.12787024895829079207.reportbug@hera.cyber.com.au> <34bfa491999caf8ea837c4d3171436b9160398a4.camel@decadent.org.uk> <164177308010.5901.12787024895829079207.reportbug@hera.cyber.com.au> <34bfa491999caf8ea837c4d3171436b9160398a4.camel@decadent.org.uk>
Xref csiph.com linux.debian.bugs.dist:1088884 linux.debian.kernel:74147

Cross-posted to 2 groups.

Show key headers only | View raw


Ben Hutchings wrote:
> On Mon, 2022-01-10 at 11:04 +1100, Trent W. Buck wrote:
> > Package: initramfs-tools
> > Version: 0.140
> > Severity: wishlist
> > 
> > This is a vote for https://salsa.debian.org/kernel-team/initramfs-tools/-/merge_requests/52
> > I did this investigation 2 months ago, but AFAICT I forgot to push it to bugs.debian.org.
> > https://github.com/cyberitsolutions/bootstrap2020/blob/main/doc/NNNNN-ramdisk-compression.rst
> > 
> > Are pigz and xz *REALLY* the best choices for rd compression?
> > Surely lz4 and zstd are better tradeoffs?
> [...]
> 
> You'll be pleased to hear that in master, zstd with compression level 9
> is now the default.  The -T0 option is still unconditional though...
> 
> I have no idea whether the lz4 options should be changed.  I'm not sure
> it's actually a good choice for anyone.

FTR my two use cases are:

  1. Build a test Debian Live image and run qemu on it, just once.
     Build should be quick and ideally not make my laptop heat up.
     Output size doesn't matter at all.

  2. Build a prod Debian Live image and then upload it to a server
     where 1000 desktops will netboot it daily.

I'm using tar2squashfs --comp=lz4 for case #1, so
using lz4 at other layers was intuitive.

Based on the actual measurements, however, I think pigz is a better
bet than lz4 unless/until lz4 gets a -T0 option. ;-)

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1003427: COMPRESS=zstd and COMPRESS=lz4 hard-coded to bad COMPRESSLEVELs "Trent W. Buck" <trentbuck@gmail.com> - 2022-01-10 01:10 +0100
  Bug#1003427: Acknowledgement (COMPRESS=zstd and COMPRESS=lz4 hard-coded to bad COMPRESSLEVELs) "Trent W. Buck" <trentbuck@gmail.com> - 2022-01-10 01:20 +0100
  Bug#1003427: COMPRESS=zstd and COMPRESS=lz4 hard-coded to bad COMPRESSLEVELs Ben Hutchings <ben@decadent.org.uk> - 2022-01-10 02:00 +0100
    Bug#1003427: COMPRESS=zstd and COMPRESS=lz4 hard-coded to bad COMPRESSLEVELs "Trent W. Buck" <trentbuck@gmail.com> - 2022-01-10 02:00 +0100
    Bug#1003427: COMPRESS=zstd and COMPRESS=lz4 hard-coded to bad COMPRESSLEVELs Diederik de Haas <didi.debian@cknow.org> - 2022-01-10 11:20 +0100
      Bug#1003427: COMPRESS=zstd and COMPRESS=lz4 hard-coded to bad COMPRESSLEVELs Diederik de Haas <didi.debian@cknow.org> - 2022-01-10 11:50 +0100

csiph-web