Is it possible to use more than 1 CPUs during pkg create?

Jim Ohlstein jim at mailman-hosting.com
Tue May 30 10:52:22 UTC 2017


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/


More information about the freebsd-questions mailing list