]> granicus.if.org Git - pdns/commit
make pdns-distributes-queries use a hash so queries get sent to the same thread....
authorbert hubert <bert.hubert@netherlabs.nl>
Wed, 23 Apr 2014 20:33:18 +0000 (22:33 +0200)
committerbert hubert <bert.hubert@netherlabs.nl>
Wed, 23 Apr 2014 20:33:18 +0000 (22:33 +0200)
commit06ea90158e37de98e04deb0a158b34e26bebe497
tree825056cc5e9cee9a244533e3e06e4c887cb692f4
parentf3799c1080c81a386e6064ca540a4ec4e2f10f42
make pdns-distributes-queries use a hash so queries get sent to the same thread. Original ideal from https://github.com/paddg/pdns/commit/9e176976e2499998787e15a45fbe5da250d20fc1
Astoundingly effective, approximately halves CPU usage.
pdns/dns.cc
pdns/dns.hh
pdns/dnspcap.hh
pdns/misc.cc
pdns/misc.hh
pdns/pdns_recursor.cc
pdns/syncres.hh