[Pdns-users] PDNS Recursor on Debian / Low performance !!!URGENT!!!!

Maroon Ibrahim maroon_ibrahim at hotmail.com
Mon Feb 7 09:48:30 UTC 2011



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: zaphodb at zaphods.net
> To: maroon_ibrahim at hotmail.com
> CC: pdns-users at 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
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20110207/aecd2d4e/attachment-0001.html>


More information about the Pdns-users mailing list