Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2017 16:42:35 +0200
From:      Michael Gmelin <grembo@freebsd.org>
To:        Alexey Dokuchaev <danfe@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: LLVM port(s) take very long time to package
Message-ID:  <B04AEF51-72A0-4C16-848F-B67F5BD1977D@freebsd.org>
In-Reply-To: <20170414142228.GA52898@FreeBSD.org>
References:  <20170412034308.GA56148@FreeBSD.org> <79A96B5B-8E4C-4E2E-8108-BA4F05CBFA4F@freebsd.org> <20170412093737.GB22201@FreeBSD.org> <2B393FE8-C076-4714-A718-0EDA155A5037@freebsd.org> <20170414142228.GA52898@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 14. Apr 2017, at 16:22, Alexey Dokuchaev <danfe@FreeBSD.org> wrote:
> 
> On Wed, Apr 12, 2017 at 12:06:42PM +0200, Michael Gmelin wrote:
>>> On 12. Apr 2017, at 11:37, Alexey Dokuchaev <danfe@FreeBSD.org> wrote:
>>> ...
>>> Other alternative to PKG_NOCOMPRESS=1 could be PKGSUFFIX=.tbz (pkg-static
>>> create -f tbz ...), will play with that as well.
>> 
>> I don't think bzip will buy you much in terms of performance,
> 
> Surprisingly, it actually did:
> 
> $ time make package PKG_SUFX=.tbz
> ===>  Building package for llvm40-4.0.0_2
> 565.215u 5.316s 9:34.18 99.3%   7899+502k 1+3020io 0pf+0w
>                ^^^^^^^
> Single-threaded bzip2 was faster than multi-threaded xz, at the expense
> of larger package of course:
> 
> $ ls -s1 llvm40-4.0.0_2.t*
> 386752 llvm40-4.0.0_2.tbz
> 286816 llvm40-4.0.0_2.txz
>> 

Interesting, I'll tried that on our high-frequency builders.

-m




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B04AEF51-72A0-4C16-848F-B67F5BD1977D>