Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2013 09:14:35 +0000
From:      Matthew Seaman <matthew@freebsd.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: [PKGNG] use more than one threads?
Message-ID:  <5108E47B.206@freebsd.org>
In-Reply-To: <5108E133.5070006@lissyara.su>
References:  <5108E133.5070006@lissyara.su>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5108E47B.206>