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


Groups > muc.lists.netbsd.tech.userlevel > #11524

Re: Supporting compression-less release builds

From Julio Merino <jmmv@NetBSD.org>
Newsgroups muc.lists.netbsd.tech.userlevel
Subject Re: Supporting compression-less release builds
Date 2025-01-18 16:33 +0000
Organization Newsgate at muc.de e.V.
Message-ID <Z4vXz-KinaFTBfQ0@NetBSD.org> (permalink)
References <20250113013414.EEE52758F@thoreau.thistledown.com.au> <>

Show all headers | View raw


On Mon, Jan 13, 2025 at 12:34:14PM +1100, Simon Burge wrote:
> Note that we sometimes use an explicit compression method elsewhere
> in the build (eg compressing kernels) that might differ from the
> compression method for sets.
> 
> The way I read your proposal you seem to be suggesting "everything
> in the build that needs to be compressed will be compressed with the
> thing expressed by COMPRESS_RELEASE"; I'm pointing out that this might
> break some things.  Now, whether or not the things that are compressed
> differently are for a valid reason is a different question!  I can
> think, for example, that an image that is designed to be dd'd to the
> start of a memory stick might explicitly be compressed with gzip because
> it might be easier to decompress a .gz file on a Windows box (I don't
> know this to be the case, just using as a possible reason for preferring
> a different compressor).

Yes, I was thinking of unifying everything into just one method, but
that would result in differences from the current situation indeed, hence
my hesitation.

In particular, there seem to be at least three things at play:

* Release sets. These already have knobs for configuration.
* Disk images. Compressed with gzip unconditionally.
* Kernels. Compressed with gzip unconditionally.

I do not know if there are good reasons for these differences, although
I sense there aren't, and the reason sets support xz is because that's
what made the most difference in final artifact sizes.

We can take these one at a time and support differences among them if
necessary.  COMPRESS_RELEASE might not be a good idea at this point.
But I'd still like to unify compression levels (to avoid the mess that
are the -0 .. -9 flags throughout).

-- 
Julio Merino

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

Back to muc.lists.netbsd.tech.userlevel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Supporting compression-less release builds Julio Merino <jmmv@NetBSD.org> - 2025-01-12 14:49 +0000
  Re: Supporting compression-less release builds Alistair Crooks <alistaircrooks@gmail.com> - 2025-01-12 09:59 -0800
  Re: Supporting compression-less release builds Simon Burge <simonb@NetBSD.org> - 2025-01-13 12:34 +1100
    Re: Supporting compression-less release builds Martin Husemann <martin@duskware.de> - 2025-01-13 11:10 +0100
      Re: Supporting compression-less release builds Greg Troxel <gdt@lexort.com> - 2025-01-13 08:27 -0500
      Re: Supporting compression-less release builds "Greg A. Woods" <woods@planix.ca> - 2025-01-13 14:01 -0800
    Re: Supporting compression-less release builds Julio Merino <jmmv@NetBSD.org> - 2025-01-18 16:33 +0000
      Re: Supporting compression-less release builds Ignatios Souvatzis <is@netbsd.org> - 2025-01-18 20:47 +0100
        Re: Supporting compression-less release builds Julio Merino <jmmv@NetBSD.org> - 2025-01-18 22:38 +0000
      Re: Supporting compression-less release builds Ignatios Souvatzis <ignatios@cs.uni-bonn.de> - 2025-01-18 18:12 +0100
  Re: Supporting compression-less release builds Julio Merino <jmmv@NetBSD.org> - 2025-01-18 16:40 +0000

csiph-web