X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=cJffQZLlEC23kWZE
	0/6iv3v1/pgGTMaCATqaJrXa4U3tDSAX5iqiVbZy764MdPgRXHGzbNbW3/+/B5gY
	mwFWOxl8meKijDinwLvYvnA03KTEwHgsWU0cD6LKW3ME5F9COPuZ6wjaQf1ad8YA
	mFfPUhCLTTFEztUOhvxlyy1ZSzE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=ftSz66PZJFNhJq8foKbVUN
	B4afk=; b=bueFae57KwRWdXxALP20SRNrOl+sCJ4K7ojfhrdLycA9y9KauDfIkI
	J53MHff7hxWFvwcW+Wgcy3+3oG2RryNjBCg2D8QClvZTqQyPDur4F4WB0dEwRlyA
	53bcj8oI5/rUsitb1U8RfRvzS3Zeu2p2C11U2KYzeptl1gwE3uz48=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=Stacey, stacey
X-HELO: mx1.redhat.com
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 45E3B81F07
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@cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 45E3B81F07
Subject: Re: xz-5.2.2: No threaded compression
To: cygwin@cygwin.com
References: <550c836a-b321-b8e4-6fb6-b2e3751f6da1@tiscali.co.uk>
From: Yaakov Selkowitz <yselkowitz@cygwin.com>
Message-ID: <dba125cf-9664-19bc-083f-e3d13560e569@cygwin.com>
Date: Tue, 9 May 2017 19:15:25 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <550c836a-b321-b8e4-6fb6-b2e3751f6da1@tiscali.co.uk>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

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

