[Pdns-users] Recursor Cache Sizing: Is more always better?

Otto Moerbeek otto at drijf.net
Sat Sep 9 10:13:43 UTC 2023


On Sat, Sep 09, 2023 at 11:20:30AM +0200, Christoph via Pdns-users wrote:

> > Agrreed, I think that general rules are hard to give for cache sizing,
> > as each site and its users are different. Do remember that the packet
> > cache was changed in 4.9.0, it is now shared between threads. This means
> > that its performance and behaviour wrt hit ratio etc did change as
> > well. The difference (for the better!) will be mostly noticable when
> > pdns-distributes-queries=no
> 
> Thanks for pointing that out, I've removed pdns-distributes-queries and
> distributor-threads from our config to take advantage of the defaults.

Another word of advice: see

https://docs.powerdns.com/recursor/performance.html#threading-and-distribution-of-queries

in particular the "imbalance" section. 

	-Otto


More information about the Pdns-users mailing list