summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorMarek Vavrusa <marek.vavrusa@nic.cz>2013-03-19 12:52:58 +0100
committerMarek Vavrusa <marek.vavrusa@nic.cz>2013-03-19 12:54:12 +0100
commit63ec3f987e66d9af87cc3d125a631b765806ffcf (patch)
tree32af2a771415ae5a1859c93ae3678d36e4d68f21 /samples
parentHopscotch hashing for resolving collisions in RRL. (diff)
downloadknot-63ec3f987e66d9af87cc3d125a631b765806ffcf.tar.xz
knot-63ec3f987e66d9af87cc3d125a631b765806ffcf.zip
Implemented proper locking and lookup using <cls,imputed(qname),netblock>.
Updated documentation and corrected default settings.
Diffstat (limited to 'samples')
-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 f6a9d89af..8c02d3c11 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