Date: Fri, 1 Feb 2013 09:05:49 +0100 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Matthew Seaman <matthew@freebsd.org> Cc: freebsd-ports@freebsd.org Subject: Re: [PKGNG] use more than one threads? Message-ID: <20130201080549.GE6282@ithaqua.etoilebsd.net> In-Reply-To: <5108E47B.206@freebsd.org> References: <5108E133.5070006@lissyara.su> <5108E47B.206@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--gMR3gsNFwZpnI/Ts Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=3Dthreads > >=20 > > but, when work > >> pkg create -a > >=20 > > it use only one: > >> PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMA= ND > >> 48672 root 1 103 0 216M 117M CPU2 2 20:39 99.37% pkg > > create -a > >=20 > > how I can use more than one CPU? >=20 > 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 somewhe= re. >=20 > However, yes, this would be a desirable behaviour. If you could open an > issue at Github, that would be great. >=20 > Cheers, >=20 > Matthew >=20 > 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 --gMR3gsNFwZpnI/Ts Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlELd10ACgkQ8kTtMUmk6EyA2QCguG6lG/F7mQz8Sgrp4Sp1e71s XdoAn0VeXb5y8rr/FVW+6zCbxoDuIIfa =Z4TI -----END PGP SIGNATURE----- --gMR3gsNFwZpnI/Ts--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130201080549.GE6282>