Update hst CPU/MemoryMB cloud config to limit jobs to 1 per server 38/40738/2
authorDave Wallace <dwallacelf@gmail.com>
Wed, 17 Apr 2024 01:13:00 +0000 (21:13 -0400)
committerDave Wallace <dwallacelf@gmail.com>
Wed, 17 Apr 2024 01:19:20 +0000 (21:19 -0400)
Change-Id: Ic173bf2e6d053d87e703dddbefe850c7d4ee027a
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-prod-x86_64-jobtemplate.yaml
jenkins-config/clouds/nomad/FDIONOMAD/hst-ubuntu2204-sandbox-x86_64-jobtemplate.yaml

index 0e05b80..817f029 100644 (file)
@@ -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
 
index a5172e3..b74f5f5 100644 (file)
@@ -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