From 6f3c970f478ab52ddcb36424afe71873deb137df Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 6 Feb 2017 09:30:51 +0000 Subject: [PATCH] Document threadqueues option Implemented in 34f832faee9f215dfdb61de52506f2905258b147 --- doc/man/man5/slapd-config.5 | 5 +++++ doc/man/man5/slapd.conf.5 | 5 +++++ 2 files changed, 10 insertions(+) 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}]= [...] -- 2.39.5