Recommended value for max-cache-size for cache-only shared hosts..

Dan Mason danmason at qwest.net
Fri Jun 1 21:14:06 UTC 2012


On Fri, Jun 01, 2012 at 01:11:48PM -0700, JINMEI Tatuya / ?$B?@L at C#:H wrote:
> At Fri, 01 Jun 2012 03:27:22 -0700,
> cleaning interval has been effectively no-op since BIND 9.5.  Tweaking
> it won't improve performance, although it shouldn't cause a bad effect
> either.

If your cache is too small the CPU will peg when the cleaning-interval goes.  Maybe that's changed but the behavior still exists in the 9.7 branch.  Setting your cache size really depends on your query load.  On a resolver doing 15,000/qps having a cache of 256M will cause a problem during the cleaning-interval whereas if it's 2G you won't notice the interval at all.  Also on a busy resolver expect BIND to use about twice as much as where you set your limits.


Dan

-- 
Daniel Mason
Senior Engineer
CenturyLink, Inc.

Internal Use Only - Disclose and distribute only to CenturyLink employees and authorized persons working for CenturyLink.  Disclosure outside of CenturyLink is prohibited without authorization.



More information about the bind-users mailing list