From 4c258296294f5336124bbffeb68a1ed578e8a60d Mon Sep 17 00:00:00 2001 From: Luca Toscano Date: Tue, 5 Apr 2016 09:46:40 +0000 Subject: [PATCH] Added more info for the ListenCoresBucketsRatio directive and mentioned it in MinSpareThreads git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1737809 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mpm_common.xml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/manual/mod/mpm_common.xml b/docs/manual/mod/mpm_common.xml index 737c60ff48..8488e7addb 100644 --- a/docs/manual/mod/mpm_common.xml +++ b/docs/manual/mod/mpm_common.xml @@ -274,6 +274,13 @@ in *BSDs. then make each child handle a single bucket (with round-robin distribution of the buckets at children creation time).

+ Meaning of "online" CPU core +

On Linux (and also BSD) a CPU core can be turned on/off if + Hotplug + is configured, therefore ListenCoresBucketsRatio needs to + take this parameter into account while calculating the number of buckets to create.

+
+

ListenCoresBucketsRatio can improve the scalability when accepting new connections is/becomes the bottleneck. On systems with a large number of CPU cores, enabling this feature has @@ -283,7 +290,10 @@ in *BSDs.

There must be at least twice the number of CPU cores than the configured ratio for this to be active. The recommended ratio is 8, hence at least 16 - cores should be available at runtime when this value is used.

+ cores should be available at runtime when this value is used. + The right ratio to obtain maximum performance needs to be calculated + for each target system, testing multiple values and observing the variations in your + key performance metrics.

@@ -472,7 +482,9 @@ spikes MinSpareThreads 75 and deal with idle threads on a server-wide basis. If there aren't enough idle threads in the server then child processes are created until the number of idle threads is greater - than number.

+ than number. Please also note that additional processes/threads + might be created if ListenCoresBucketsRatio + is enabled.

mpm_netware uses a default of MinSpareThreads 10 and, since it is a single-process -- 2.49.0