Is it possible to use more than 1 CPUs during pkg create?
meta
meta at vmeta.jp
Wed May 31 02:40:18 UTC 2017
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 at vmeta.jp>
More information about the freebsd-questions
mailing list