diff options
author | Marek Vavrusa <marek.vavrusa@nic.cz> | 2013-03-19 12:52:58 +0100 |
---|---|---|
committer | Marek Vavrusa <marek.vavrusa@nic.cz> | 2013-03-19 12:54:12 +0100 |
commit | 63ec3f987e66d9af87cc3d125a631b765806ffcf (patch) | |
tree | 32af2a771415ae5a1859c93ae3678d36e4d68f21 /samples | |
parent | Hopscotch hashing for resolving collisions in RRL. (diff) | |
download | knot-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.conf | 8 |
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 |