[LEDE-DEV] [PATCH 1/2] target/toolchain: Switch to xz compression instead of bz2

Koen Vandeputte koen.vandeputte at ncentric.com
Tue Sep 5 05:23:36 PDT 2017


On 2017-09-05 12:39, Karl Palsson wrote:
> This is going to make builds _much_ slower :(
>

Hi Karl,

You are right, but the main reasons for this patch were:

- Use same output as ie. target/SDK (cleanup)
- Toolchain build is disabled by default (as is SDK)
- Eventually switch to multithreaded version for XZ  (like your patch [1])



I've done some benchmarks on a machine here (i7 4770K):


tar bz2:    0m19.271s    (now)
tar cfJ:      1m3.384s
xz:            1m19.958s    (patch)
xz - T 0:    0m38.587s    (Future with -T 0 ?)


[1] http://patchwork.ozlabs.org/patch/802620/

Koen



More information about the Lede-dev mailing list