From: Howard Chu Date: Mon, 6 Feb 2017 09:30:51 +0000 (+0000) Subject: Document threadqueues option X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6f3c970f478ab52ddcb36424afe71873deb137df;p=openldap Document threadqueues option Implemented in 34f832faee9f215dfdb61de52506f2905258b147 --- diff --git a/doc/man/man5/slapd-config.5 b/doc/man/man5/slapd-config.5 index fc675958a5..068111ff71 100644 --- a/doc/man/man5/slapd-config.5 +++ b/doc/man/man5/slapd-config.5 @@ -795,6 +795,11 @@ Note that some OS-es implement automatic TCP buffer tuning. Specify the maximum size of the primary thread pool. The default is 16; the minimum value is 2. .TP +.B olcThreadQueues: +Specify the number of work queues to use for the primary thread pool. +The default is 1 and this is typically adequate for up to 8 CPU cores. +The value should not exceed the number of CPUs in the system. +.TP .B olcToolThreads: Specify the maximum number of threads to use in tool mode. This should not be greater than the number of CPUs in the system. diff --git a/doc/man/man5/slapd.conf.5 b/doc/man/man5/slapd.conf.5 index 5d4de5bb17..6207a1b269 100644 --- a/doc/man/man5/slapd.conf.5 +++ b/doc/man/man5/slapd.conf.5 @@ -1006,6 +1006,11 @@ Note that some OS-es implement automatic TCP buffer tuning. Specify the maximum size of the primary thread pool. The default is 16; the minimum value is 2. .TP +.B threadqueues +Specify the number of work queues to use for the primary thread pool. +The default is 1 and this is typically adequate for up to 8 CPU cores. +The value should not exceed the number of CPUs in the system. +.TP .B timelimit {|unlimited} .TP .B timelimit time[.{soft|hard}]= [...]