Testing different thread limits in parallel_xz.sh
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
This commit is contained in:
parent
6c08b065ee
commit
1c3978ac34
@ -16,6 +16,11 @@ while test "$#" != 0; do
|
|||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
|
#This seems to cause problems with large numbers
|
||||||
|
if (( $procgroup > 8 )); then
|
||||||
|
procgroup=8
|
||||||
|
fi
|
||||||
|
|
||||||
# If told to use only one cpu:
|
# If told to use only one cpu:
|
||||||
test "$procgroup" || exec xargs -r xz
|
test "$procgroup" || exec xargs -r xz
|
||||||
test "$procgroup" = 1 && exec xargs -r xz
|
test "$procgroup" = 1 && exec xargs -r xz
|
||||||
|
Loading…
Reference in New Issue
Block a user