]> git.ipfire.org Git - thirdparty/pdns.git/commit - pdns/pdns_recursor.cc
do far more frequent cache cleaning, and less 'cache scanning'. Thanks to Winfried...
authorBert Hubert <bert.hubert@netherlabs.nl>
Sat, 6 Feb 2010 12:20:31 +0000 (12:20 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Sat, 6 Feb 2010 12:20:31 +0000 (12:20 +0000)
commitc3828c030bdab300099783c42c908e3303040c55
treef81ff38ae459aceca4e7ca0efd6b52f3f2c3af44
parentd0e3f3442094d237b9f769d3e9b3174fbe11bf9a
do far more frequent cache cleaning, and less 'cache scanning'. Thanks to Winfried Angele for experimenting with best settings.
scale caches with number of threads - so '1000000' cache entries and 4 threads will give you 250000 entries per thread

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1507 d19b8d6e-7fed-0310-83ef-9ca221ded41b
pdns/pdns_recursor.cc
pdns/recursor_cache.cc
pdns/syncres.hh