From fe16de5336fda03ed0f1025251b22c3cab0be6ea Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Tue, 21 Mar 2023 16:39:05 -0400 Subject: [PATCH] qa/ceph: parallelize gzip Our machines have lots of cores, use them! Fixes: https://tracker.ceph.com/issues/59120 Signed-off-by: Patrick Donnelly (cherry picked from commit 23a29d4abe54d987a99434ad0d733e0b44a213f9) --- qa/tasks/ceph.py | 3 +++ qa/tasks/ceph_deploy.py | 3 +++ qa/tasks/cephadm.py | 3 +++ qa/tasks/rook.py | 3 +++ 4 files changed, 12 insertions(+) diff --git a/qa/tasks/ceph.py b/qa/tasks/ceph.py index c9d361969c886..e0aae2996c970 100644 --- a/qa/tasks/ceph.py +++ b/qa/tasks/ceph.py @@ -271,6 +271,9 @@ def ceph_log(ctx, config): run.Raw('|'), 'sudo', 'xargs', + '--max-args=1', + '--max-procs=0', + '--verbose', '-0', '--no-run-if-empty', '--', diff --git a/qa/tasks/ceph_deploy.py b/qa/tasks/ceph_deploy.py index 99c8c1ffbc12b..83918a03f5fb5 100644 --- a/qa/tasks/ceph_deploy.py +++ b/qa/tasks/ceph_deploy.py @@ -533,6 +533,9 @@ def build_ceph_cluster(ctx, config): run.Raw('|'), 'sudo', 'xargs', + '--max-args=1', + '--max-procs=0', + '--verbose', '-0', '--no-run-if-empty', '--', diff --git a/qa/tasks/cephadm.py b/qa/tasks/cephadm.py index 07105c53d863f..b6879fad3b4cf 100644 --- a/qa/tasks/cephadm.py +++ b/qa/tasks/cephadm.py @@ -267,6 +267,9 @@ def ceph_log(ctx, config): run.Raw('|'), 'sudo', 'xargs', + '--max-args=1', + '--max-procs=0', + '--verbose', '-0', '--no-run-if-empty', '--', diff --git a/qa/tasks/rook.py b/qa/tasks/rook.py index bdd9e58dcd3f6..4a1f09e1e17c5 100644 --- a/qa/tasks/rook.py +++ b/qa/tasks/rook.py @@ -260,6 +260,9 @@ def ceph_log(ctx, config): run.Raw('|'), 'sudo', 'xargs', + '--max-args=1', + '--max-procs=0', + '--verbose', '-0', '--no-run-if-empty', '--', -- 2.39.5