Thoughts on switching our archive compression method
Lothar Haeger
lothar.haeger at gmx.net
Thu Sep 24 13:39:29 UTC 2020
Reading "xz" and "archive" in the same sentence reminds me of https://www.nongnu.org/lzip/xz_inadequate.html <https://www.nongnu.org/lzip/xz_inadequate.html>
While it's easy to read the above as a rant of a disappointed competitor, he seems to make some valid points about why lzma/xz should be avoided, especially for long term archival purposes.
> Am 24.09.2020 um 04:36 schrieb Ryan Schmidt <ryandesign at macports.org>:
>
> On Sep 23, 2020, at 04:29, Dan Ports wrote:
>
>> Also, bz2 is particularly slow at decompression, so even xz is likely
>> an improvement there.
>
> As far as compression/decompression time goes, the normal gzip, bzip2 and xz tools are single-threaded, as far as I know, so there is an opportunity to go faster by using parallel processing.
>
> For bzip2, you can install lbzip2 and configure MacPorts to use it; it then compresses and decompresses in parallel, even bz2 files that were not created with lbzip2. I have been using this on my Mac for years.
>
> For xz, there's pixz. It sounds like xz files cannot be decompressed in parallel unless they were created with pixz. We could install pixz on the buildbot servers and use it to create the archives. This would improve compress/decompress performance on the buildbot servers, and users could choose to install pixz to get improved decompression performance or we can consider bundling it with MacPorts base in the future; it is BSD licensed.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20200924/20a7750c/attachment.htm>
More information about the macports-dev
mailing list