summaryrefslogtreecommitdiff
path: root/samples/knot.full.conf
diff options
context:
space:
mode:
Diffstat (limited to 'samples/knot.full.conf')
-rw-r--r--samples/knot.full.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/samples/knot.full.conf b/samples/knot.full.conf
index f6a9d89..8c02d3c 100644
--- a/samples/knot.full.conf
+++ b/samples/knot.full.conf
@@ -70,10 +70,10 @@ system {
# Number of hashtable buckets, set to reasonable value as default.
# We chose a reasonably large prime number as it's used for hashtable size,
# it is recommended to do so as well due to better distribution.
- # Tweak if you experience a lot of hash collisions, estimated memory overhead
- # is approx. 16B per bucket
- # Default: 1572869
- rate-limit-size 1572869;
+ # Rule of thumb is to set it to about 1.2 * (maximum_qps)
+ # Memory cost is approx. 32B per bucket
+ # Default: 393241
+ rate-limit-size 393241;
# Rate limit SLIP
# Each Nth blocked response will be sent as truncated, this is a way to allow