[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#33600] Compressing nars with lzip or similar
From: |
Pierre Neidhardt |
Subject: |
[bug#33600] Compressing nars with lzip or similar |
Date: |
Sat, 15 Dec 2018 13:17:05 +0100 |
User-agent: |
mu4e 1.0; emacs 26.1 |
I've done some quick research over the various options.
- lzip: better than gz and bzip2 for sure, possibly better than xz (at
least according to the author).
- plzip: for "parallel lzip". With 4 threads I was able to compress
icecat 2.5x faster. It used 5x more memory though. The compression
ratio is 1-2% worse.
- lrzip: it would crash whenever I would change the compression level.
Seems less stable. It's as fast as plzip, while being 1-2% less
compressed. I don't think it's worth using.
All in all, lzip is a definite win over most options. The main question
is: lzip or plzip?
In my opinion it makes more sense to use plzip, gotta put those cores to
some use (on the user side at least)! Not sure what the build farm
would think about this though.
Finally, plzip can be quite memory-intensive. When passed "--threads=1"
however, it gets closer to lzip (bit faster, bit more memory). So maybe
the ideal would be to support plzip with a user-settable "threads" option.
Thoughts?
--
Pierre Neidhardt
https://ambrevar.xyz/
signature.asc
Description: PGP signature
- [bug#33600] guix.gnu.org sub-domain, (continued)
- [bug#33600] CDN performance, Ludovic Courtès, 2018/12/14
- [bug#33600] Using a CDN or some other mirror?, Hartmut Goebel, 2018/12/09
- [bug#33600] Using a CDN or some other mirror?, Ludovic Courtès, 2018/12/09
- [bug#33600] Using a CDN or some other mirror?, Giovanni Biscuolo, 2018/12/11
- [bug#33600] Using a CDN or some other mirror?, Hartmut Goebel, 2018/12/14
- [bug#33600] Using a CDN or some other mirror?, Pierre Neidhardt, 2018/12/14
- [bug#33600] Compressing nars with lzip or similar, Ludovic Courtès, 2018/12/14
- [bug#33600] Compressing nars with lzip or similar, Pierre Neidhardt, 2018/12/14
- [bug#33600] Compressing nars with lzip or similar,
Pierre Neidhardt <=
- [bug#33600] Compressing nars with lzip or similar, Ludovic Courtès, 2018/12/15
- [bug#33600] Compressing nars with lzip or similar, Ludovic Courtès, 2018/12/15
- [bug#33600] Using a CDN or some other mirror?, Ludovic Courtès, 2018/12/14
[bug#33600] [PATCH 0/3] Defaulting to ci.guix.info (aka. berlin.guixsd.org), Mark H Weaver, 2018/12/03
[bug#33600] [PATCH 0/3] Defaulting to ci.guix.info (aka. berlin.guixsd.org), Andreas Enge, 2018/12/04