From 77b57bc2d61b11e049e48e63185c0721f8e49e17 Mon Sep 17 00:00:00 2001
From: Robert Schmidt <robert.schmidt@openairinterface.org>
Date: Mon, 18 Nov 2024 17:20:37 +0100
Subject: [PATCH] CI: increase UE thread pool size

There seem to be randomly occurring deadlocks when running the UE in the
CI. MR !3091 should fix this. While waiting for this, apply a workaround
by increasing the number of worker pools in the UE to 12.
---
 ci-scripts/conf_files/nrue.uicc.conf | 2 ++
 ci-scripts/conf_files/nrue.uicc.yaml | 2 ++
 ci-scripts/conf_files/ue.sa.conf     | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/ci-scripts/conf_files/nrue.uicc.conf b/ci-scripts/conf_files/nrue.uicc.conf
index afd2c0142ee..d97a271ff6d 100644
--- a/ci-scripts/conf_files/nrue.uicc.conf
+++ b/ci-scripts/conf_files/nrue.uicc.conf
@@ -6,6 +6,8 @@ uicc0 = {
   nssai_sst=1;
 }
 
+thread-pool = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
+
 #/* configuration for channel modelisation */
 #/* To be included in main config file when */
 #/* channel modelisation is used (rfsimulator with chanmod options enabled) */
diff --git a/ci-scripts/conf_files/nrue.uicc.yaml b/ci-scripts/conf_files/nrue.uicc.yaml
index f2af872ba7f..da3b7e7e19a 100644
--- a/ci-scripts/conf_files/nrue.uicc.yaml
+++ b/ci-scripts/conf_files/nrue.uicc.yaml
@@ -5,6 +5,8 @@ uicc0:
   dnn: oai
   nssai_sst: 1
 
+thread-pool: "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
+
 #/* configuration for channel modelisation */
 #/* To be included in main config file when */
 #/* channel modelisation is used (rfsimulator with chanmod options enabled) */
diff --git a/ci-scripts/conf_files/ue.sa.conf b/ci-scripts/conf_files/ue.sa.conf
index 3e6f78f7093..9101c7e8e9e 100644
--- a/ci-scripts/conf_files/ue.sa.conf
+++ b/ci-scripts/conf_files/ue.sa.conf
@@ -6,3 +6,5 @@ uicc0 = {
   nssai_sst=1;
   nssai_sd=66051;
 }
+
+thread-pool = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
-- 
GitLab