From 23a29d4abe54d987a99434ad0d733e0b44a213f9 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 --- 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 35b52fbf552c3..10dcc2aee04e5 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 84685b824bf46..0e91226017047 100644 --- a/qa/tasks/cephadm.py +++ b/qa/tasks/cephadm.py @@ -356,6 +356,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 427f8324e3007..12d01ce8930af 100644 --- a/qa/tasks/rook.py +++ b/qa/tasks/rook.py @@ -272,6 +272,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