[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#43516] [PATCH core-updates] packages: Enable multi-threaded xz comp
[bug#43516] [PATCH core-updates] packages: Enable multi-threaded xz compression when repacking source.
Sat, 19 Sep 2020 15:38:05 -0400
On Sat, Sep 19, 2020 at 01:03:57PM -0400, Maxim Cournoyer wrote:
> The xz compression is slow; using multiple threads/cores yields a linear
> performance improvement.
> * guix/packages.scm (patch-and-repack): Ensure xz is invoked with --threads=N
> by setting the XZ_DEFAULTS environment variable.
We tried this previous but reverted it because the archives were not
It's really a shame... it would be nice to reduce the time used for XZ
compression. But the bandwidth used to move the results is even more
expensive in terms of time and money, since most people should get