From: ludo@gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas@enge.fr>
Cc: guix-devel@gnu.org
Subject: Re: Compressing compressed files
Date: Mon, 01 Aug 2016 18:02:54 +0200 [thread overview]
Message-ID: <87oa5cqxxt.fsf@gnu.org> (raw)
In-Reply-To: <20160801085839.GA2426@solar> (Andreas Enge's message of "Mon, 1 Aug 2016 10:58:39 +0200")
Hi!
Andreas Enge <andreas@enge.fr> skribis:
> I am seeing this funny command being executed on one of the build machines:
> bash -c guix archive --export /gnu/store/06g54r7am7ka96d7jydgmayfyqgx1s1l-cfe-3.5.2.src.tar.xz | xz -c
>
> Would it be difficult to prevent re-compressing of already compressed
> source when offloading? Especially since xz is rather expensive, and more
> or less occupies one core of the arm machines.
This all takes place in (guix scripts offload) and should be relatively
easy to modify (see commit 5ef9d7deeab348e0f714f91a3c02ce4b72bbe3c1 for
an example).
[Time passes…]
I thought it would be quicker to fix it but was proved wrong, because
‘guix substitute’ expects to be able to pass non-file ports to
‘decompressed-ports’, which means we cannot just use ‘duplicate-port’
there. Anyway, I’ve pushed ‘wip-offload-compression’ and we’ll look at
it again after the release.
Thanks,
Ludo’.
next prev parent reply other threads:[~2016-08-01 16:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-01 8:58 Compressing compressed files Andreas Enge
2016-08-01 16:02 ` Ludovic Courtès [this message]
2016-08-02 8:13 ` Andreas Enge
2016-08-02 11:56 ` 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=87oa5cqxxt.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=andreas@enge.fr \
--cc=guix-devel@gnu.org \
/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.