diff options
author | Kelley Spoon <kelley.spoon@linaro.org> | 2023-08-11 08:21:20 -0500 |
---|---|---|
committer | Kelley Spoon <kelley.spoon@linaro.org> | 2023-08-18 04:27:34 +0000 |
commit | 87a158f4169d998cb800c1db8502f1de8089a739 (patch) | |
tree | 8e4b921aefc07f9405abe8c4b53513ab843a7dd9 | |
parent | 4a3bb54294125387bc2ba24f4646ee4e23072b96 (diff) |
jenkins: disable atomicfilewriter in production
Add -Dhudson.util.AtomicFileWriter.DISABLE_FORCED_FLUSH=true
to java options in order address a load issue that seems
to only occur when the server gets busy.
`strace -c -f -p <pid>` is showing that 75.4% of time is spent
waiting on futexes, which indicates these constant writes are
overwhelming the disk buffer and driving the load spikes. This
is likely caused by the explosion in jobs created to support a more
matrix options of the tf-a-builder job.
Change-Id: I44fa389ee4cc1a2691d3bb3f09da520edcec77eb
Signed-off-by: Kelley Spoon <kelley.spoon@linaro.org>
Reviewed-on: https://review.linaro.org/c/infrastructure/ansible-playbooks/+/45243
-rw-r--r-- | host_vars/ci.trustedfirmware.org | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host_vars/ci.trustedfirmware.org b/host_vars/ci.trustedfirmware.org index 97ca0c81..ee9a0e95 100644 --- a/host_vars/ci.trustedfirmware.org +++ b/host_vars/ci.trustedfirmware.org @@ -27,7 +27,7 @@ jenkins_master_sshd_port: '2222' jenkins_jnlp_port: '50000' jenkins_ssh_known_hosts: "ssh/known_hosts_tf" -jenkins_java_opts: "-server -Xmx8192m -XX:+AlwaysPreTouch -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/jenkins/heapdump.log -XX:+UseG1GC -XX:+UseStringDeduplication -XX:+ParallelRefProcEnabled -XX:+ExplicitGCInvokesConcurrent -XX:+UnlockDiagnosticVMOptions -XX:G1SummarizeRSetStatsPeriod=1 -XX:MaxMetaspaceExpansion=64M -Djenkins.model.Jenkins.logStartupPerformance=true -Djava.awt.headless=true -Dhudson.slaves.WorkspaceList='_' -Dhudson.model.ParametersAction.keepUndefinedParameters=true -Dorg.jenkinsci.plugins.gitclient.Git.timeOut=30 -Dorg.eclipse.jetty.server.Request.maxFormContentSize=1000000" +jenkins_java_opts: "-server -Xmx8192m -XX:+AlwaysPreTouch -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/jenkins/heapdump.log -XX:+UseG1GC -XX:+UseStringDeduplication -XX:+ParallelRefProcEnabled -XX:+ExplicitGCInvokesConcurrent -XX:+UnlockDiagnosticVMOptions -XX:G1SummarizeRSetStatsPeriod=1 -XX:MaxMetaspaceExpansion=64M -Djenkins.model.Jenkins.logStartupPerformance=true -Djava.awt.headless=true -Dhudson.slaves.WorkspaceList='_' -Dhudson.model.ParametersAction.keepUndefinedParameters=true -Dorg.jenkinsci.plugins.gitclient.Git.timeOut=30 -Dorg.eclipse.jetty.server.Request.maxFormContentSize=1000000 -Dhudson.util.AtomicFileWriter.DISABLE_FORCED_FLUSH=true" login_groups: - systems |