From 09efa0825eb90233d35779807430a574afbb7587 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Tue, 15 Nov 2022 10:12:12 +0100 Subject: Limit LO concurrency by setting MAX_CONCURRENCY MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We noticed that crashtesting Calc files creates a lot of threads which CPU-starve the whole testing process Setting this value we still have the concurrent code tested but server load is reasonable and the full runtime is reduced by about a third Change-Id: Icc20fd57cba8c6c8f884418d4f7f308f857ca06e Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/142728 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- test-bugzilla-files/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test-bugzilla-files/config b/test-bugzilla-files/config index 984bd529..e52aecd1 100644 --- a/test-bugzilla-files/config +++ b/test-bugzilla-files/config @@ -11,6 +11,9 @@ export DISKSPACELIMIT=5 # Remaining disk space warning limit in GiB. export MEMORYLIMIT=90 # Memory usage warning limit in percent. export CPULOADAVGLIMIT=0.9 # CPU load average limit for per core in last minute. min 0, max 1. +# Reduce concurrency +export MAX_CONCURRENCY=2 + # For development purposes: # Don't touch the core.git source/build directory: # export CRASHTEST_READONLY_CORE=1 -- cgit v1.2.3