]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Start all TCP worker threads on startup
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 12 Jan 2021 14:29:30 +0000 (15:29 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 12 Jan 2021 14:29:30 +0000 (15:29 +0100)
commit90e4fcd85890714016114427ed99f38440817b97
tree76cf7d235cfaa15964f69df3d3c6cc82a52a73c3
parentddf49d2d867846a4019dcd36eed1fdf264e0e979
dnsdist: Start all TCP worker threads on startup

Instead of starting only as many TCP worker threads on startup as
the number of TCP listeners, then starting more at runtime, start
all TCP worker threads on startup.
Change the default number of worker threads to at least 10, up to
the number of TCP listener threads.
Document that change and improve the tuning page a bit.
pdns/dnsdist-lua-inspection.cc
pdns/dnsdist-tcp.cc
pdns/dnsdist.cc
pdns/dnsdist.hh
pdns/dnsdistdist/docs/advanced/tuning.rst
pdns/dnsdistdist/docs/reference/tuning.rst