xz-5.2.2: No threaded compression

Yaakov Selkowitz yselkowitz@cygwin.com
Wed May 10 02:45:00 GMT 2017


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



More information about the Cygwin mailing list