diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2020-08-26 17:24:12 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2020-08-26 17:24:12 +0200 |
commit | 93fa7fcabfa1e45319de3538d31f36a8b8f15399 (patch) | |
tree | 4207061725afbb1601f59306e9d3682faf2c4378 /config.h | |
parent | 1653137edbae0a98d7ff5b3223243e4d4a00eee3 (diff) |
nDPId: Improved command line option parsing, app usage and subopts for (carefully) tuning some daemon options.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -10,15 +10,15 @@ /* nDPId default config options */ #define nDPId_PIDFILE "/tmp/ndpid.pid" -#define nDPId_MAX_FLOW_ROOTS_PER_THREAD 2048 -#define nDPId_MAX_IDLE_FLOWS_PER_THREAD 64 +#define nDPId_MAX_FLOWS_PER_THREAD 4096 +#define nDPId_MAX_IDLE_FLOWS_PER_THREAD 512 #define nDPId_TICK_RESOLUTION 1000 -#define nDPId_MAX_READER_THREADS 4 +#define nDPId_MAX_READER_THREADS 8 #define nDPId_IDLE_SCAN_PERIOD 10000 /* 10 sec */ -#define nDPId_MAX_IDLE_TIME 600000 /* 600 sec */ -#define nDPId_MAX_POST_END_FLOW_TIME 60000 /* 60 sec */ +#define nDPId_IDLE_TIME 600000 /* 600 sec */ +#define nDPId_POST_END_FLOW_TIME 60000 /* 60 sec */ #define nDPId_INITIAL_THREAD_HASH 0x03dd018b -#define nDPId_MAX_PACKETS_PER_FLOW_TO_SEND 15 +#define nDPId_PACKETS_PER_FLOW_TO_SEND 15 /* nDPIsrvd default config options */ #define nDPIsrvd_PIDFILE "/tmp/ndpisrvd.pid" |