Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2017 06:52:12 -0400
From:      Jim Ohlstein <jim@mailman-hosting.com>
To:        Koichiro IWAO <meta@vmeta.jp>, freebsd-questions@freebsd.org
Subject:   Re: Is it possible to use more than 1 CPUs during pkg create?
Message-ID:  <1496141532.1095.41.camel@mailman-hosting.com>
In-Reply-To: <0101015c58b3dc58-1b936a1a-8412-472b-a257-c436a40e89f2-000000@us-west-2.amazonses.com>
References:  <0101015c58b3dc58-1b936a1a-8412-472b-a257-c436a40e89f2-000000@us-west-2.amazonses.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2017-05-30 at 09:33 +0000, Koichiro IWAO wrote:
> Hi,
> 
> is it possible to use more than 1 CPU cores during xz compression
> done in pkg create? I know XZ Utils in base system can use more
> than 1 CPUs if -T option given. I guess pkg internally calls APIs
> of XZ Utils. I think it is potentially possible.
> 
> Or is it restricted to use only 1 CPU core for some reasons?

For those using poudriere or synth this might be a disadvantage with
multiple parallel builds going on. That said, I imagine the code could
be patched to allow it.

> 
> 
-- 
Jim Ohlstein
Professional Mailman Hosting
https://mailman-hosting.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1496141532.1095.41.camel>