Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2017 02:40:16 +0000
From:      meta <meta@vmeta.jp>
To:        Jim Ohlstein <jim@mailman-hosting.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Is it possible to use more than 1 CPUs during pkg create?
Message-ID:  <0101015c5c6007b6-0633a1f3-b800-431f-a784-e931afd64ba3-000000@us-west-2.amazonses.com>
In-Reply-To: <1496141532.1095.41.camel@mailman-hosting.com>
References:  <0101015c58b3dc58-1b936a1a-8412-472b-a257-c436a40e89f2-000000@us-west-2.amazonses.com> <1496141532.1095.41.camel@mailman-hosting.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, May 30, 2017 at 06:52:12AM -0400, Jim Ohlstein wrote:
> 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.

Yes, using more than 1 CPU cores might be both an advantage and a
disadvantage. I think allow multithread and keep default to only
1 thread will be acceptable for everyone.

-- 
`whois vmeta.jp | nkf -w`
meta <meta@vmeta.jp>



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?0101015c5c6007b6-0633a1f3-b800-431f-a784-e931afd64ba3-000000>