From: Otto Moerbeek Date: Fri, 1 Sep 2023 07:12:47 +0000 (+0200) Subject: Before this PR, if pdns-distributes-queries is *false* worker threads process both... X-Git-Tag: rec-5.0.0-alpha2~58^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77fbf36dc972850ae2775943b336e7099bff1259;p=thirdparty%2Fpdns.git Before this PR, if pdns-distributes-queries is *false* worker threads process both UDP and TCP queries --- diff --git a/pdns/recursordist/docs/performance.rst b/pdns/recursordist/docs/performance.rst index 9acb87fe65..b5163b6645 100644 --- a/pdns/recursordist/docs/performance.rst +++ b/pdns/recursordist/docs/performance.rst @@ -185,7 +185,7 @@ Before version 5.0.0, TCP queries are processed by either the distributer thread Starting with version 5.0.0, :program:`Recursor` has dedicated thread(s) processing TCP queries. The maximum number of mthreads consumed by TCP queries is :ref:`setting-max-tcp-clients` times :ref:`setting-max-concurrent-requests-per-tcp-connection`. -If :ref:`setting-pdns-distributes-queries` is true, this number should be (much) lower than :ref:`setting-max-mthreads`, to also allow UDP queries to be handled as these also consume mthreads. +Before version 5.0.0, if :ref:`setting-pdns-distributes-queries` is false, this number should be (much) lower than :ref:`setting-max-mthreads`, to also allow UDP queries to be handled as these also consume mthreads. Note that :ref:`setting-max-mthreads` is a per Posix thread setting. This means that the global maximum number of mthreads is (#distributor threads + #worker threads) * max-mthreads.