From c24d3376c306e2c1f6c893d597cf80ef40a40f4b Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Tue, 29 May 2018 10:04:41 +0200 Subject: build: Update default values This sets updated default values for the default build. A higher connect timeout until we have asynchronous local IPC. Disabled SWIG since the lastest gcc reports an error. IPCP flow stats enabled by default since their impact on the performance is very limited. Waiting for the directory to enroll before returning to increase stability. Signed-off-by: Sander Vrijders Signed-off-by: Dimitri Staessens --- src/ipcpd/CMakeLists.txt | 2 +- src/ipcpd/normal/CMakeLists.txt | 2 +- src/irmd/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/ipcpd/CMakeLists.txt b/src/ipcpd/CMakeLists.txt index 5402dc80..39e597e0 100644 --- a/src/ipcpd/CMakeLists.txt +++ b/src/ipcpd/CMakeLists.txt @@ -14,7 +14,7 @@ set(IPCP_SCHED_THR_MUL 2 CACHE STRING "Number of scheduler threads per QoS cube") set(DISABLE_CORE_LOCK FALSE CACHE BOOL "Disable locking performance threads to a core") -set(IPCP_CONN_WAIT_DIR FALSE CACHE BOOL +set(IPCP_CONN_WAIT_DIR TRUE CACHE BOOL "Check the running state of the directory when adding a dt connection") if ((IPCP_QOS_CUBE_BE_PRIO LESS 0) OR (IPCP_QOS_CUBE_BE_PRIO GREATER 99)) diff --git a/src/ipcpd/normal/CMakeLists.txt b/src/ipcpd/normal/CMakeLists.txt index 2446dc00..6dd68385 100644 --- a/src/ipcpd/normal/CMakeLists.txt +++ b/src/ipcpd/normal/CMakeLists.txt @@ -20,7 +20,7 @@ math(EXPR PFT_EXPR "1 << 12") set(PFT_SIZE ${PFT_EXPR} CACHE STRING "Size of the PDU forwarding table") if (HAVE_FUSE) - set(IPCP_FLOW_STATS FALSE CACHE BOOL + set(IPCP_FLOW_STATS TRUE CACHE BOOL "Enable flow statistics tracking in IPCP") if (IPCP_FLOW_STATS) message(STATUS "IPCP flow statistics enabled") diff --git a/src/irmd/CMakeLists.txt b/src/irmd/CMakeLists.txt index 51719dcf..458e1efa 100644 --- a/src/irmd/CMakeLists.txt +++ b/src/irmd/CMakeLists.txt @@ -18,7 +18,7 @@ set(REG_TIMEOUT 10000 CACHE STRING "Timeout for registering a name (ms)") set(QUERY_TIMEOUT 3000 CACHE STRING "Timeout to query a name with an IPCP (ms)") -set(CONNECT_TIMEOUT 5000 CACHE STRING +set(CONNECT_TIMEOUT 60000 CACHE STRING "Timeout to connect an IPCP to another IPCP (ms)") set(IRMD_MIN_THREADS 8 CACHE STRING "Minimum number of worker threads in the IRMd.") -- cgit v1.2.3