diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/AbstractConnector.java b/jetty-server/src/main/java/org/eclipse/jetty/server/AbstractConnector.java index 96ff17812fb..232f96ac97f 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/AbstractConnector.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/AbstractConnector.java @@ -129,7 +129,7 @@ import org.eclipse.jetty.util.thread.Scheduler; *
  • call the {@link #getDefaultConnectionFactory()} {@link ConnectionFactory#newConnection(Connector, org.eclipse.jetty.io.EndPoint)} * method to create a new Connection instance.
  • * - * The default number of acceptor tasks is the minimum of 1 and half the number of available CPUs. Having more acceptors may reduce + * The default number of acceptor tasks is the minimum of 1 and the number of available CPUs divided by 8. Having more acceptors may reduce * the latency for servers that see a high rate of new connections (eg HTTP/1.0 without keep-alive). Typically the default is * sufficient for modern persistent protocols (HTTP/1.1, HTTP/2 etc.) */ diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/ServerConnector.java b/jetty-server/src/main/java/org/eclipse/jetty/server/ServerConnector.java index 52df1828fe6..db6a05e17f8 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/ServerConnector.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/ServerConnector.java @@ -71,7 +71,7 @@ import org.eclipse.jetty.util.thread.Scheduler; * that these callbacks may do some non-blocking IO work, but will always dispatch to the * {@link Executor} service any blocking, long running or application tasks. *

    - * The default number of selectors is equal to the number of processors available to the JVM, + * The default number of selectors is equal to half of the number of processors available to the JVM, * which should allow optimal performance even if all the connections used are performing * significant non-blocking work in the callback tasks. */