Max Cache Objects

Mark Andrews marka at isc.org
Sun Sep 25 21:08:55 UTC 2011


In message <CAAKgOtheH-PRE9bzMZztVocpVu4hvafRABumc8vWwyHmhPCKyg at mail.gmail.com>
, TMK writes:
> On Sat, Sep 24, 2011 at 9:14 PM, TMK <engtmk at gmail.com> wrote:
> >
> >> Date: Fri, 23 Sep 2011 11:24:17 -0400
> >> From: John Wobus <jw354 at cornell.edu>
> >> Subject: Re: Max Cache Objects
> >> To: bind-users <bind-users at lists.isc.org>
> >> Message-ID: <36280284-5B30-4BC4-8D7C-61CB2C1CC13B at cornell.edu>
> >> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
> >>
> >> Is it possible that your DNS performance issue isn't a
> >> cache issue? For example, does your system need to
> >> invoke bind with -4?
> >>
> >> John
> >>
> >
> > We have tried so. There is no imorovment.
> >
> >> On Sep 21, 2011, at 5:00 PM, TMK wrote:
> >>
> >> > I have couple of questions.
> >> >
> >> > bind cache memory limit is 4GB. can I increase it. or this is hard-
> >> > coded limit.
> >> >
> >> > i'm running the x64 bit version.
> >> >
> >> > also to increase the cache hit ratio I have created script to query my
> >> > dns for the top 1 million sites. would this give any performance
> >> > advantages or is it useless.
> >> >
> >> > thx in advance
> >
> > On Sep 24, 2011 2:01 PM, <bind-users-request at lists.isc.org> wrote:
> >
> 
> I can see two limits configured int.h.
> 
> first one is ISC_UINT32_MAX which is the effective one and forcing the
> cache to be max of 4 GB
> 
> and the other one is ISC_UINT64_MAX which isn't used.
> 
> 
> would it cause any issue if I just replace the two values in the
> server.c file. so it won't give too large value whenver the
> max-cache-size > 4 GB
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
>  from this list
> 
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

One would have to change all the types involved from isc_uint32_t to
isc_uint64_t or size_t.

Mark
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org



More information about the bind-users mailing list