This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: xz-5.2.2: No threaded compression
- From: Yaakov Selkowitz <yselkowitz at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 9 May 2017 19:15:25 -0500
- Subject: Re: xz-5.2.2: No threaded compression
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=cygwin.com
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=none smtp.mailfrom=yselkowitz at cygwin dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 45E3B81F07
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 45E3B81F07
- References: <550c836a-b321-b8e4-6fb6-b2e3751f6da1@tiscali.co.uk>
On 2017-05-09 18:02, David Stacey wrote:
The man page for xz suggests that threaded compression ought to be
available. However, when I run 'xz --threads=0 <file>' only one CPU core
is used. Is there a way that I can run parallel xz compression in Cygwin?
WFM. Note from the manpage:
-T threads, --threads=threads
Specify the number of worker threads to use. Setting threads to
a special value 0 makes xz use as many threads as there are CPU
cores on the system. The actual number of threads can be less
than threads if the input file is not big enough for threading
with the given settings or if using more threads would exceed
the memory usage limit.
--
Yaakov
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple