summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kelemen <gabor.kelemen.extern@allotropia.de>2022-11-15 10:12:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-11-15 20:48:37 +0100
commit09efa0825eb90233d35779807430a574afbb7587 (patch)
treedabf31e6fa84a14d51dcb995e5e49af50fee4f4b
parente70b214f5492b9cd6274b4c4b093d86b699e4579 (diff)
Limit LO concurrency by setting MAX_CONCURRENCY
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 <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--test-bugzilla-files/config3
1 files changed, 3 insertions, 0 deletions
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