delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/05/09/20:16:32

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 45E3B81F07
Subject: Re: xz-5.2.2: No threaded compression
To: cygwin AT cygwin DOT com
References: <550c836a-b321-b8e4-6fb6-b2e3751f6da1 AT tiscali DOT co DOT uk>
From: Yaakov Selkowitz <yselkowitz AT cygwin DOT 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>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019