[Pdns-users] Threads and caches

Thor Spruyt thor.spruyt at telenet.be
Thu Jun 4 08:23:52 UTC 2020


I have a question about https://doc.powerdns.com/recursor/performance.html
"Limit the size of the caches to a sensible value. Cache hit rate does not improve meaningfully beyond 4 million max-cache-entries per thread, reducing the memory footprint reduces CPU cache misses."

Does this mean that if threads=4, a sensible value for max-cache-entries would be 16000000 ?

Does this also apply to max-packetcache-entries ? So with threads=4, a sensible value for max-packetcache-entries would be 16000000 ?

Is the cache shared between all threads or does each thread use it's own cache ?

Are there any differences between 4.1, 4.2, 4.3 regarding the above ?


More information about the Pdns-users mailing list