From: Joerg Jaspert Date: Sat, 12 Mar 2011 14:05:44 +0000 (+0100) Subject: we do want -n1, not -n16. we want as many parallel xz as we can X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff2cf9010509cf5bb16b612991777b7f950b5065;p=dak we do want -n1, not -n16. we want as many parallel xz as we can Signed-off-by: Joerg Jaspert --- diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index 587df1b5..dbbf30a8 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -527,10 +527,10 @@ function compress() { find -maxdepth 1 -mindepth 1 -type f -name 'dump_pre_*' -mtime +2 -print0 | xargs -0 --no-run-if-empty rm find -maxdepth 1 -mindepth 1 -type f -name 'dump_*' \! -name '*.bz2' \! -name '*.gz' \! -name '*.xz' -mmin +720 -print0 \ - | xargs --no-run-if-empty -0 -P4 -n16 xz -9v + | xargs --no-run-if-empty -0 -P4 -n1 xz -9v find -maxdepth 1 -mindepth 1 -type f -name "dumpall_*" \! -name '*.bz2' \! -name '*.gz' \! -name '*.xz' -mmin +720 \ - | xargs --no-run-if-empty -0 -P4 -n16 xz -9v + | xargs --no-run-if-empty -0 -P4 -n1 xz -9v finddup -l -d $base/backup }