Re: Compressing nars with lzip or similar

2019-03-05 Thread Pierre Neidhardt
I'll get down to this this week.

-- 
Pierre Neidhardt
https://ambrevar.xyz/



Re: Compressing nars with lzip or similar

2018-12-15 Thread Ludovic Courtès
Pierre Neidhardt  skribis:

> 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?

‘guix publish’ has its own worker pool and handles parallelism
internally, so in that context plain sequential lzip would be more
appropriate IMO.

Ludo’.



Re: Compressing nars with lzip or similar

2018-12-15 Thread Ludovic Courtès
Pierre Neidhardt  skribis:

> Absolutely, but once the bindings are up and running, it should be
> straightforward to update (guix scripts substitute), no?

Sure!  But it will take time before we can assume all our users are
running it.

Ludo’.



Re: Compressing nars with lzip or similar

2018-12-14 Thread Pierre Neidhardt
Absolutely, but once the bindings are up and running, it should be
straightforward to update (guix scripts substitute), no?

-- 
Pierre Neidhardt
https://ambrevar.xyz/


signature.asc
Description: PGP signature