diff options
Diffstat (limited to 'SOURCES/parallel_xz.sh')
-rwxr-xr-x | SOURCES/parallel_xz.sh | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/SOURCES/parallel_xz.sh b/SOURCES/parallel_xz.sh index 0d98ead..f1b6cdd 100755 --- a/SOURCES/parallel_xz.sh +++ b/SOURCES/parallel_xz.sh @@ -16,11 +16,6 @@ while test "$#" != 0; do shift done -#This seems to cause problems with large numbers -if (( $procgroup > 6 )); then - procgroup=6 -fi - # If told to use only one cpu: test "$procgroup" || exec xargs -r xz test "$procgroup" = 1 && exec xargs -r xz @@ -28,4 +23,4 @@ test "$procgroup" = 1 && exec xargs -r xz # xz has some startup cost. If files are really small, # this cost might be significant. To combat this, # process several files (in sequence) by each xz process via -n 16: -exec xargs -r -n 16 -P $procgroup xz +exec xargs -r -n 16 -P "$procgroup" xz |