Re: [PKGNG] use more than one threads?

2013-02-01 Thread Baptiste Daroussin
On Wed, Jan 30, 2013 at 09:14:35AM +, 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   SIZERES STATE   C   TIME WCPU COMMAND
> >> 48672 root1 1030   216M   117M CPU22  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


pgpi5NTizzTbz.pgp
Description: PGP signature


Re: [PKGNG] use more than one threads?

2013-01-30 Thread Matthew Seaman
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   SIZERES STATE   C   TIME WCPU COMMAND
>> 48672 root1 1030   216M   117M CPU22  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.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


[PKGNG] use more than one threads?

2013-01-30 Thread Alex Keda

"man xz" say about
> -T threads, --threads=threads

but, when work
> pkg create -a

it use only one:
>   PID USERNAME  THR PRI NICE   SIZERES STATE   C   TIME WCPU COMMAND
> 48672 root1 1030   216M   117M CPU22  20:39 99.37% 
pkg create -a


how I can use more than one CPU?
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"