summaryrefslogtreecommitdiff
path: root/src/ipcpd/CMakeLists.txt
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-09-26 07:12:15 +0000
committerSander Vrijders <sander.vrijders@ugent.be>2017-09-26 07:12:15 +0000
commita44e8a5638c558abb9f17cdaaab3bb76bc5b2c5c (patch)
treef80744a3b81f79eb24a83167b96209d4b640d58a /src/ipcpd/CMakeLists.txt
parentbaa9da56af12d14d63d504101c7efeb20da71a78 (diff)
parentb349b4693b71f2ab82efe1e8b6aa83db2f8e36ed (diff)
downloadouroboros-a44e8a5638c558abb9f17cdaaab3bb76bc5b2c5c.tar.gz
ouroboros-a44e8a5638c558abb9f17cdaaab3bb76bc5b2c5c.zip
Merged in dstaesse/ouroboros/be-sched-mul (pull request #619)
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")