Thanks Stefan...

SO, you just recommend to play only with max-cache-entries...? 

I have 4GB ram and Xeon CPU.

is it possible to cache the entries on disk?? is it recommended also?


> Date: Mon, 7 Feb 2011 10:45:51 +0100
> From: zaph...@zaphods.net
> To: maroon_ibra...@hotmail.com
> CC: pdns-users@mailman.powerdns.com
> Subject: Re: [Pdns-users] PDNS Recursor on Debian / Low performance  
> !!!URGENT!!!!
> 
> On Mon, Feb 07, 2011 at 09:38:42AM +0000, Maroon Ibrahim wrote:
> ...
> > AS for the recursor.conf... I still didn't touch it.... what is your best 
> > recommendation to have the opimum cache?? 
> > 
> > Please advise....
> 
> It depends on how much RAM you can spare. 
> Setting max-cache-entries=1000000 will use around 300MB on i386 and ~550MB on
> x86_64. Leaving this unset (i.e. 0) the cache will have the potential to
> outgrow your machines available memory hence causing it to swap resulting in
> very bad performance obviously.
> Most ISP setups are fine with sticking to 1000000 entries, 2000000 will give
> you about 3-5% more cache hits depending on your load pattern ofc.
> 
>       Stefan
> -- 
> "People say I shouldn't frown because it uses more muscles than smiling.
> Then I point out that Americans need their exercise."
> - anonymous
                                          
_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to