all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: guix-devel@gnu.org, Tobias Geerinckx-Rice <me@tobias.gr>
Subject: Compressed ISO image got bigger
Date: Mon, 13 Apr 2020 16:42:39 +0200	[thread overview]
Message-ID: <874ktnih0g.fsf@gnu.org> (raw)
In-Reply-To: <878sj1qcw7.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 12 Apr 2020 11:19:52 +0200")

Hi,

Ludovic Courtès <ludo@gnu.org> skribis:

>   https://web.fdn.fr/~lcourtes/software/guix/1.1.0rc2

>   e830c2a8de vm: Transparently compress iso9660 images.

Here’s a comparison of the size of the ISO images for rc1 and rc2:

--8<---------------cut here---------------start------------->8---
$ du -h release-1.0.1.13450-01d5f2/guix-system-install-1.0.1.13450-01d5f2.x86_64-linux.iso.xz release-1.1.0rc2/guix-system-install-1.1.0rc2.x86_64-linux.iso.xz
260M    release-1.0.1.13450-01d5f2/guix-system-install-1.0.1.13450-01d5f2.x86_64-linux.iso.xz
405M    release-1.1.0rc2/guix-system-install-1.1.0rc2.x86_64-linux.iso.xz
$ xz -d < release-1.0.1.13450-01d5f2/guix-system-install-1.0.1.13450-01d5f2.x86_64-linux.iso.xz | wc -c
1524205568
$ xz -d < release-1.1.0rc2/guix-system-install-1.1.0rc2.x86_64-linux.iso.xz | wc -c
589223936
--8<---------------cut here---------------end--------------->8---

As you can see:

  • The xz-compressed ISO of rc2 is 1.6 times bigger than that of rc1.

  • The uncompressed ISO of rc2 is 2.6 times smaller than that of rc1.

It’s not surprising that xz has a hard time compressing an
already-compressed image, but I find it surprising that the end result
is almost twice as big.

“make release” uses the default xz compression ratio, -6.  I tried
different levels and different compression tools (though I don’t want to
change from xz now because this would likely break documentation and
links all around) and it seems we can’t really do any better:

--8<---------------cut here---------------start------------->8---
560M    /tmp/t.iso
415M    /tmp/t.iso.gz
406M    /tmp/t.iso.lz-6
412M    /tmp/t.iso.xz-0
407M    /tmp/t.iso.xz-3
404M    /tmp/t.iso.xz-8
--8<---------------cut here---------------end--------------->8---

Thoughts?  Ideas?

Ludo’.

  parent reply	other threads:[~2020-04-13 14:42 UTC|newest]

Thread overview: 73+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-24 20:06 bug#38735: GuixSD graphical Installer hangs on connecting to wifi Jesse Gibbons
2019-12-26 20:32 ` Danny Milosavljevic
2019-12-29 16:01   ` Ludovic Courtès
2020-01-03  4:10     ` Jesse Gibbons
2020-04-12  9:19 ` 1.1.0rc2 available for testing! Ludovic Courtès
2020-04-12  9:35   ` Danny Milosavljevic
2020-04-12  9:38     ` Danny Milosavljevic
2020-04-12  9:36   ` pelzflorian (Florian Pelz)
2020-04-12 12:09   ` bug#40572: installer networking: Connman detects no technologies on Acer Aspire pelzflorian (Florian Pelz)
2020-04-12 14:24     ` Mathieu Othacehe
2020-04-12 15:14       ` pelzflorian (Florian Pelz)
2020-04-12 15:41         ` pelzflorian (Florian Pelz)
2020-04-12 16:34           ` pelzflorian (Florian Pelz)
2020-04-12 17:28             ` pelzflorian (Florian Pelz)
2020-04-12 16:52         ` Danny Milosavljevic
2020-04-12 16:56           ` Danny Milosavljevic
2020-04-12 17:09           ` pelzflorian (Florian Pelz)
2020-04-12 17:45             ` pelzflorian (Florian Pelz)
2020-04-12 18:47               ` Danny Milosavljevic
2020-04-13  7:36                 ` pelzflorian (Florian Pelz)
2020-04-13 11:20               ` Danny Milosavljevic
2020-04-13 14:13                 ` Ludovic Courtès
2020-04-12 17:37         ` Mathieu Othacehe
2020-04-12 18:43           ` pelzflorian (Florian Pelz)
     [not found]             ` <87blnvmzub.fsf@gnu.org>
2020-04-13 11:57               ` pelzflorian (Florian Pelz)
2020-04-13 13:18                 ` Ludovic Courtès
2020-04-13 15:03                   ` pelzflorian (Florian Pelz)
     [not found]                     ` <20200413155202.rjmnp4v2vnrpq3vc@pelzflorian.localdomain>
2020-04-13 17:11                       ` Ludovic Courtès
2020-04-13 18:14                         ` pelzflorian (Florian Pelz)
2020-04-13 21:56                           ` pelzflorian (Florian Pelz)
2020-04-13 22:19                             ` Ludovic Courtès
2020-04-13 22:25                             ` Ludovic Courtès
2020-04-14  0:43                               ` pelzflorian (Florian Pelz)
2020-04-14  9:03                                 ` Ludovic Courtès
2020-04-14  9:40                                   ` pelzflorian (Florian Pelz)
2020-04-14 12:00                                     ` pelzflorian (Florian Pelz)
2020-04-14 14:36                                       ` Ludovic Courtès
2020-04-14 18:40                                         ` pelzflorian (Florian Pelz)
2020-04-14 20:17                                           ` Ludovic Courtès
2020-04-14 21:30                                             ` pelzflorian (Florian Pelz)
2020-04-14 21:50                                               ` Ludovic Courtès
2020-04-14 22:49                                         ` Bengt Richter
2020-04-13 22:24                         ` pelzflorian (Florian Pelz)
2020-04-13  7:42   ` 1.1.0rc2 available for testing! pelzflorian (Florian Pelz)
2020-04-13 10:41     ` Ludovic Courtès
2020-04-13 11:54       ` Mathieu Othacehe
2020-04-13 14:44         ` Ludovic Courtès
2020-04-14 12:25         ` Maxim Cournoyer
2020-04-14 14:24           ` Mathieu Othacehe
2020-04-15  1:22             ` Maxim Cournoyer
2020-04-15 16:58             ` Ludovic Courtès
2020-04-15 17:30               ` Mathieu Othacehe
2020-04-16  8:20                 ` Ludovic Courtès
2020-04-13 11:07   ` bug#38735: " Robert Smith
2020-04-13 11:07   ` Robert Smith
2020-04-13 13:45     ` Ludovic Courtès
2020-04-13 15:56       ` bug#38735: " Robert Smith
2020-04-13 15:56       ` Robert Smith
2020-04-13 20:28         ` bug#38735: " Ludovic Courtès
2020-04-13 20:28         ` Ludovic Courtès
2020-04-13 21:42           ` bug#38735: " Robert Smith
2020-04-13 21:42           ` Robert Smith
2020-04-13 13:45     ` bug#38735: " Ludovic Courtès
2020-04-15 14:07     ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-04-15 14:07     ` Tobias Geerinckx-Rice
2020-04-15 14:15       ` bug#38735: " Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-04-13 14:42   ` Ludovic Courtès [this message]
2020-04-13 14:55     ` Compressed ISO image got bigger Jonathan Brielmaier
2020-04-13 20:37       ` Ludovic Courtès
2020-04-13 21:52         ` Tobias Geerinckx-Rice
2020-04-14 10:36           ` Ludovic Courtès
2020-04-14  9:37   ` bug#40624: installer: info manual language does not adapt to locale pelzflorian (Florian Pelz)
2020-04-14 11:02     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874ktnih0g.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=me@tobias.gr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.