summaryrefslogtreecommitdiff
path: root/src/ipcpd/CMakeLists.txt
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2017-09-25 17:10:11 +0200
committerdimitri staessens <[email protected]>2017-09-25 17:10:11 +0200
commitb349b4693b71f2ab82efe1e8b6aa83db2f8e36ed (patch)
treef80744a3b81f79eb24a83167b96209d4b640d58a /src/ipcpd/CMakeLists.txt
parentbaa9da56af12d14d63d504101c7efeb20da71a78 (diff)
downloadouroboros-b349b4693b71f2ab82efe1e8b6aa83db2f8e36ed.tar.gz
ouroboros-b349b4693b71f2ab82efe1e8b6aa83db2f8e36ed.zip
ipcpd: Add multiplier to scale scheduler threads
Diffstat (limited to 'src/ipcpd/CMakeLists.txt')
-rw-r--r--src/ipcpd/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipcpd/CMakeLists.txt b/src/ipcpd/CMakeLists.txt
index a71c4e98..a1559b4d 100644
--- a/src/ipcpd/CMakeLists.txt
+++ b/src/ipcpd/CMakeLists.txt
@@ -10,6 +10,8 @@ set(IPCP_MIN_THREADS 4 CACHE STRING
"Minimum number of worker threads in the IPCP")
set(IPCP_ADD_THREADS 4 CACHE STRING
"Number of extra threads to start when an IPCP faces thread starvation")
+set(IPCP_SCHED_THR_MUL 2 CACHE STRING
+ "Number of scheduler threads per QoS cube")
if ((IPCP_QOS_CUBE_BE_PRIO LESS 0) OR (IPCP_QOS_CUBE_BE_PRIO GREATER 99))
message(FATAL_ERROR "Invalid priority for best effort QoS cube")