CSIT: restrict CSIT VPP Device to 32 cores 59/31859/2
authorJuraj Linkeš <juraj.linkes@pantheon.tech>
Thu, 1 Apr 2021 08:52:35 +0000 (10:52 +0200)
committerJuraj Linkeš <juraj.linkes@pantheon.tech>
Fri, 9 Apr 2021 05:28:49 +0000 (07:28 +0200)
We're seeing frequent "Host high CPU load" alerts. The jobs are not
restricted in any way, which could lead to resource starvation or
misdirection of resources between jobs.
Mirror the VPP jobs configuration - restrict to 32 cores.

Change-Id: I6b36602df0546fedf9603dda395325199130513e
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
jjb/csit/csit-vpp-device.yaml

index fae559d..fb723af 100644 (file)
       - '1n-skx':
           os: 'ubuntu2004'
           executor-arch: 'x86_64'
+          make-parallel-jobs: '32'
           skip-vote: 'false'
       - '1n-tx2':
           os: 'ubuntu2004'
           executor-arch: 'aarch64'
+          make-parallel-jobs: '32'
           skip-vote: 'true'
     jobs:
       - 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}'
@@ -86,6 +88,8 @@
           project: '{project}'
       - gerrit-parameter:
           branch: '{branch}'
+      - make-parallel-jobs-parameter:
+          make-parallel-jobs: '{make-parallel-jobs}'
       - os-parameter:
           os: '{os}'
       - gerrit-refspec-parameter
           project: '{project}'
       - gerrit-parameter:
           branch: '{branch}'
+      - make-parallel-jobs-parameter:
+          make-parallel-jobs: '{make-parallel-jobs}'
       - os-parameter:
           os: '{os}'
       - string:
           project: '{project}'
       - gerrit-parameter:
           branch: '{branch}'
+      - make-parallel-jobs-parameter:
+          make-parallel-jobs: '{make-parallel-jobs}'
       - os-parameter:
           os: '{os}'
       - string: