[PKGNG] use more than one threads?
Baptiste Daroussin
bapt at FreeBSD.org
Fri Feb 1 08:05:55 UTC 2013
On Wed, Jan 30, 2013 at 09:14:35AM +0000, Matthew Seaman wrote:
> 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.
libarchive doesn't support yet threading as soon as libarchive supports it pkgng
will automatically gain it.
regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130201/221d78df/attachment.sig>
More information about the freebsd-ports
mailing list