GNU bug report logs -
#33643
[PATCH] gnu-build-system: Enable xz to decompress in parallel.
Previous Next
Reported by: Christopher Baines <mail <at> cbaines.net>
Date: Thu, 6 Dec 2018 07:57:02 UTC
Severity: normal
Tags: patch
Done: Christopher Baines <mail <at> cbaines.net>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 33643 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Leo Famulari <leo <at> famulari.name> writes:
> On Thu, Dec 06, 2018 at 07:56:15AM +0000, Christopher Baines wrote:
>> It can take a little while to decompress some packages with large xz
>> compressed source tar files. xz includes support for parallelism, so enable
>> this using the parallel job count for the overall derivation.
>
> The xz man page says that multi-threaded decompression isn't implemented
> yet, unfortunately.
Ah, interesting. Having a read myself now, it also says it:
"will work on files that contain multiple blocks with size information
in block headers. All files compressed in multi-threaded mode meet
this condition, but files compressed in single- threaded mode don't
even if --block-size=size is used."
So, if -T was used to compress the data, then it sounds like it'll work
to decompress it. I guess this adds a little more uncertainty to the
benefit of this change, as the impact is dependent on the way the source
data is compressed.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 5 years and 9 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.