diff options
author | Marek Vavruša <marek.vavrusa@nic.cz> | 2015-12-03 23:24:47 +0100 |
---|---|---|
committer | Marek Vavruša <marek.vavrusa@nic.cz> | 2015-12-03 23:24:47 +0100 |
commit | 9a1caee6c0bbaeb5bc383441678e4f66239077ce (patch) | |
tree | cf21ec7c45b6c80de2a5e31a85e9a66a4bd9460a | |
parent | daemon/worker: deduplicate outbound queries (diff) | |
download | knot-resolver-9a1caee6c0bbaeb5bc383441678e4f66239077ce.tar.xz knot-resolver-9a1caee6c0bbaeb5bc383441678e4f66239077ce.zip |
daemon/engine: upped limits
-rw-r--r-- | daemon/engine.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/daemon/engine.h b/daemon/engine.h index 2af6bdbe..0b32dfd8 100644 --- a/daemon/engine.h +++ b/daemon/engine.h @@ -18,13 +18,13 @@ /* Magic defaults */ #ifndef LRU_RTT_SIZE -#define LRU_RTT_SIZE 4096 /**< NS RTT cache size */ +#define LRU_RTT_SIZE 65536 /**< NS RTT cache size */ #endif #ifndef LRU_REP_SIZE -#define LRU_REP_SIZE (LRU_RTT_SIZE / 2) /**< NS reputation cache size */ +#define LRU_REP_SIZE (LRU_RTT_SIZE / 4) /**< NS reputation cache size */ #endif #ifndef MP_FREELIST_SIZE -#define MP_FREELIST_SIZE 32 /**< Maximum length of the worker mempool freelist */ +#define MP_FREELIST_SIZE 64 /**< Maximum length of the worker mempool freelist */ #endif #ifndef RECVMMSG_BATCH #define RECVMMSG_BATCH 4 |