[PKGNG] use more than one threads?
Matthew Seaman
matthew at freebsd.org
Wed Jan 30 09:14:54 UTC 2013
On 30/01/2013 09:00, Alex Keda wrote:
> "man xz" say about
>> -T threads, --threads=threads
>
> but, when work
>> pkg create -a
>
> it use only one:
>> PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
>> 48672 root 1 103 0 216M 117M CPU2 2 20:39 99.37% pkg
> create -a
>
> how I can use more than one CPU?
pkgng doesn't call the xz executable for compressing packages; instead
it uses library code via libarchive. So making it compress created
packages is a bit more involved than just tweaking a command-line somewhere.
However, yes, this would be a desirable behaviour. If you could open an
issue at Github, that would be great.
Cheers,
Matthew
PS. There's a brand-new freebsd-pkg@ mailing list which I'd encourage
people to use for this sort of question.
More information about the freebsd-ports
mailing list