summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2021-06-19 14:38:18 +0200
committerSander Vrijders <sander@ouroboros.rocks>2021-06-21 08:45:53 +0200
commitf0914fafb2dfac2f429ee87623dd482ab93edb08 (patch)
tree1a83dc895f1e5fd59e14ba77927c5ab760e440a4 /src
parentd063d1fdc9c20dec8c4a4b6c07bc143edbde35fc (diff)
downloadouroboros-f0914fafb2dfac2f429ee87623dd482ab93edb08.tar.gz
ouroboros-f0914fafb2dfac2f429ee87623dd482ab93edb08.zip
ipcpd: Disable core lock by default
This was beneficial on dual-XEON CPU systems, but on most hardware, this kills performance when running multiple IPCPs on a single CPU. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src')
-rw-r--r--src/ipcpd/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/CMakeLists.txt b/src/ipcpd/CMakeLists.txt
index 65ce501d..fb6162cd 100644
--- a/src/ipcpd/CMakeLists.txt
+++ b/src/ipcpd/CMakeLists.txt
@@ -10,7 +10,7 @@ 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")
-set(DISABLE_CORE_LOCK FALSE CACHE BOOL
+set(DISABLE_CORE_LOCK TRUE CACHE BOOL
"Disable locking performance threads to a core")
set(IPCP_CONN_WAIT_DIR TRUE CACHE BOOL
"Check the running state of the directory when adding a dt connection")