summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2017-02-13 13:32:46 +0100
committerSander Vrijders <[email protected]>2017-02-13 13:32:46 +0100
commit65f3f7673b23fbd5f6582bd529f2784fca9bbe1b (patch)
tree3a39b66972c45919ccd654bcb93e017ad0ef895f /include
parent5ea091f9cde6090c4829e78b7d2ac5a566ede8f1 (diff)
downloadouroboros-65f3f7673b23fbd5f6582bd529f2784fca9bbe1b.tar.gz
ouroboros-65f3f7673b23fbd5f6582bd529f2784fca9bbe1b.zip
ipcpd: Increase threadpool size
This increases the threadpool size for the IPCP main loop. Starvation was happening due to a lot of back and forth interactions between the normal IPCPd and the IRMd.
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/config.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ouroboros/config.h.in b/include/ouroboros/config.h.in
index 10d78cd0..517eee45 100644
--- a/include/ouroboros/config.h.in
+++ b/include/ouroboros/config.h.in
@@ -48,7 +48,7 @@
#define SHM_FLOW_SET_PREFIX "/ouroboros.sets."
#define IRMD_MAX_FLOWS 4096
#define IRMD_THREADPOOL_SIZE 16
-#define IPCPD_THREADPOOL_SIZE 3
+#define IPCPD_THREADPOOL_SIZE 16
#define IPCPD_MAX_CONNS IRMD_MAX_FLOWS
#define PTHREAD_COND_CLOCK CLOCK_MONOTONIC
#define PFT_SIZE 1 << 12