test-bugzilla-files/config |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 09efa0825eb90233d35779807430a574afbb7587
Author:     Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>
AuthorDate: Tue Nov 15 10:12:12 2022 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Tue Nov 15 20:48:37 2022 +0100

    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 <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/test-bugzilla-files/config b/test-bugzilla-files/config
index 984bd52..e52aecd 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

Reply via email to