From: Dave Wallace Date: Wed, 17 Apr 2024 01:13:00 +0000 (-0400) Subject: Update hst CPU/MemoryMB cloud config to limit jobs to 1 per server X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=c7c3182e9ac50a9c690a83bcc0e7d0f89a33c065;p=ci-management.git Update hst CPU/MemoryMB cloud config to limit jobs to 1 per server Change-Id: Ic173bf2e6d053d87e703dddbefe850c7d4ee027a Signed-off-by: Dave Wallace --- diff --git a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-prod-x86_64-jobtemplate.yaml b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-prod-x86_64-jobtemplate.yaml index 0e05b80e2..817f02981 100644 --- a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-prod-x86_64-jobtemplate.yaml +++ b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-prod-x86_64-jobtemplate.yaml @@ -17,6 +17,7 @@ Job: - /tmp/ccache.ubuntu2204:/scratch/ccache - /scratch/nomad:/scratch/nomad:ro Resources: - # Limit scheduling of only 1 job per server by specifying > 3/4 of available CPU - CPU: 400000 + # Limit scheduling of only 1 job per server by specifying max cpushares and more than half memory + CPU: 262144 + MemoryMB: 128000 diff --git a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-sandbox-x86_64-jobtemplate.yaml b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-sandbox-x86_64-jobtemplate.yaml index a5172e38e..b74f5f547 100644 --- a/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-sandbox-x86_64-jobtemplate.yaml +++ b/jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-sandbox-x86_64-jobtemplate.yaml @@ -30,5 +30,6 @@ Job: Artifacts: - GetterSource: https://jenkins.fd.io/sandbox/jnlpJars/slave.jar Resources: - # Limit scheduling of only 1 job per server by specifying > 3/4 of available CPU - CPU: 400000 + # Limit scheduling of only 1 job per server by specifying max cpushares and more than half memory + CPU: 262144 + MemoryMB: 128000