From: ludo@gnu.org (Ludovic Courtès)
To: Marius Bakke <mbakke@fastmail.com>
Cc: 31015@debbugs.gnu.org
Subject: [bug#31015] [PATCH] packages, scripts, utils: Respect (parallel-job-count) when xz-compressing.
Date: Wed, 04 Apr 2018 13:42:01 +0200 [thread overview]
Message-ID: <877epnfbau.fsf@gnu.org> (raw)
In-Reply-To: <20180401125431.11996-1-mbakke@fastmail.com> (Marius Bakke's message of "Sun, 1 Apr 2018 14:54:31 +0200")
Hello!
Marius Bakke <mbakke@fastmail.com> skribis:
> * guix/packages.scm (patch-and-repack): When invoking 'xz', tell it to use the
> amount of cores specified by e.g. 'guix build -c'.
> * guix/scripts/pack.scm (%compressors, bootstrap-xz): Likewise. While at it,
> use the long form '--threads=' for clarity.
> * guix/utils.scm (decompressed-port, compressed-port, compressed-output-port):
> Likewise.
Wasn’t there an issue that parallel xz is non-deterministic? I vaguely
remember something like this when we were producing with glibc tarballs
out of the Git repo.
If so, we should instead use -T1, even if that means getting worse
performance (I hear that lzip “works better” than xz, so we should give
it a try if we want both performance and good compression.)
Besides, the guix/packages.scm part would lead to a full rebuild, so I
think it’s a bit late for ‘core-updates’.
Thanks,
Ludo’.
next prev parent reply other threads:[~2018-04-04 11:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-01 12:54 [bug#31015] [PATCH] packages, scripts, utils: Respect (parallel-job-count) when xz-compressing Marius Bakke
2018-04-04 11:42 ` Ludovic Courtès [this message]
2018-05-13 20:37 ` 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
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=877epnfbau.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=31015@debbugs.gnu.org \
--cc=mbakke@fastmail.com \
/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).