[Unbound-users] Configuration suggestions?
daisuke.higashi at gmail.com
Sat Apr 13 06:21:39 UTC 2013
Generally larger cache memory can improve latency (cache hit ratio)
because it can keep more records in cache. I'm not certain whether too
much memory introduce something harmful or not (except power
consumption or failure rate of memory modules).
But according to my test, around 3-4GBs memory per one Unbound cache
server seems to be enough (e.g. rrset-cache-size: 2g, msg-cache-size:
1g) even if in large ISP environment. More memory won't improve cache
hit ratio meaningfully. PowerDNS recursor doc gives similar suggestion
Note that Unbound will consume more memory than you specified due to
malloc() overhead  and we will need more cache memory as
DNSSEC-signed zone is deployed more widely.
"Cache hit rate does not improve meaningfully beyond 4 million
max-cache-entries per thread…. "
Daisuke HIGASHI <daisuke.higashi at gmail.com>
More information about the Unbound-users