unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Miguel Ángel Arruga Vivas" <rosen644835@gmail.com>
To: Tobias Geerinckx-Rice <me@tobias.gr>
Cc: 45676@debbugs.gnu.org
Subject: bug#45676: Store references inside compressed data
Date: Wed, 06 Jan 2021 19:40:55 +0100	[thread overview]
Message-ID: <87h7nt29jc.fsf@gmail.com> (raw)
In-Reply-To: <871rezf1yg.fsf@nckx> (Tobias Geerinckx-Rice's message of "Tue, 05 Jan 2021 23:33:59 +0100")

Hi!

Tobias Geerinckx-Rice <me@tobias.gr> writes:

> It's true.  It's a known trade-off of an otherwise almost-zero-effort
> yet fast reference scanner.  I don't think it's a bug per se, but it
> is something of which to be aware.
>
> Let's stop installing compressed executables & data files.  We already
> avoid compressed .jars and other renamed zip files.

This is the current trade-off between build time and closure size for
executable code, but it isn't the current status regarding data files.

> Gzipping a tiny handful of Lisp or Smalltalk files is pointless when
> zstd {,de}compresses my entire 500GB SSD better and faster, at the
> file system level where it now squarely belongs.

Not every system has a file system with compression, nor most of us
mortals have a SSD to test that. ;-)

> Without breaking Guix.

Software bugs are related to the number of lines, and this probably
would end up adding more, so I get that idea, hehe. :-P

With your proposal closures wouldn't benefit from the "standard tricks"
used by package maintainers to reduce their footprint for uncompressed
file systems.  Having an option to remove that compression seems best
for treating it at the file system level---perhaps only some wrappers
for the compression tools to use always -0 could do most of the
trick---but I'd still like to have the option of paying at build/graft
time the storage savings.  Of course, this is still only a wish.

Happy hacking!
Miguel




      parent reply	other threads:[~2021-01-06 18:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-05 14:36 bug#45676: Store references inside compressed data Miguel Ángel Arruga Vivas
2021-01-05 20:22 ` Leo Famulari
2021-01-05 20:22 ` Leo Famulari
2021-01-06 11:35   ` Ludovic Courtès
2021-01-06 16:57     ` Miguel Ángel Arruga Vivas
2021-01-07 11:05       ` Ludovic Courtès
2021-01-05 22:33 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-01-06  8:54   ` Leo Prikler
2021-01-14 21:31     ` Ludovic Courtès
2021-01-14 22:24       ` Leo Prikler
2021-01-06 18:40   ` Miguel Ángel Arruga Vivas [this message]

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87h7nt29jc.fsf@gmail.com \
    --to=rosen644835@gmail.com \
    --cc=45676@debbugs.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).