From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 20 May 2025 12:48:43 +0000 (-0400) Subject: spelling: equal X-Git-Tag: rec-5.3.0-alpha2~16^2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47c4bc3f136b5cbdcb49cda698f8a1f01ee73cb4;p=thirdparty%2Fpdns.git spelling: equal Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/pdns/recursordist/docs/performance.rst b/pdns/recursordist/docs/performance.rst index 74eb8ceae6..4369ca6288 100644 --- a/pdns/recursordist/docs/performance.rst +++ b/pdns/recursordist/docs/performance.rst @@ -87,7 +87,7 @@ When a ``MThread`` is started, a new stack is dynamically allocated for it. The To reduce the cost of allocating a new stack for every query, the recursor can cache a small amount of stacks to make sure that the allocation stays cheap. This can be configured via the :ref:`setting-yaml-recursor.stack_cache_size` setting. This limit is per physical (Posix) thread. -The only trade-off of enabling this cache is a slightly increased memory consumption, at worst equals to the number of stacks specified by :ref:`setting-yaml-recursor.stack_cache_size` multiplied by the size of one stack, itself specified via :ref:`setting-yaml-recursor.stack_size`. +The only trade-off of enabling this cache is a slightly increased memory consumption, at worst equal to the number of stacks specified by :ref:`setting-yaml-recursor.stack_cache_size` multiplied by the size of one stack, itself specified via :ref:`setting-yaml-recursor.stack_size`. Linux limits the number of memory mappings a process can allocate by the ``vm.max_map_count`` kernel parameter. A single ``MThread`` stack can take up to 3 memory mappings.