Web lists-archives.com

Re: xz-5.2.2: No threaded compression




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