From 0d03bbfed690ac4a025e90346a673b8607742122 Mon Sep 17 00:00:00 2001 From: Jan200101 Date: Sun, 21 Mar 2021 13:18:24 +0100 Subject: kernel 5.11.7 --- SOURCES/parallel_xz.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'SOURCES/parallel_xz.sh') 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 -- cgit v1.2.3