qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lorenz Quack (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-6697) Give IO thread pools a minimum/maximum size and provide advice to user to help them select sensible values
Date Mon, 17 Aug 2015 11:40:45 GMT
Lorenz Quack created QPID-6697:
----------------------------------

             Summary: Give IO thread pools a minimum/maximum size and provide advice to user
to help them select sensible values
                 Key: QPID-6697
                 URL: https://issues.apache.org/jira/browse/QPID-6697
             Project: Qpid
          Issue Type: Improvement
          Components: Java Broker
            Reporter: Lorenz Quack
            Priority: Critical


Informal performance tests against the Java Broker revealed that on a machine with a small
number of cores, we needed to raise the number of threads in the virtualhost IO pool to allow
the performance of the system to match that of 0.32.  For this use case/hardware defaulting
to numberOfCores is a poor choice.   We recognize that there is no algorithm that will select
the ideal thread pool size for all use-cases on all hardware.

We want to:

* Replace current pool size attribute with two attributes minimum and maximum thread pool
sizes for the Broker/Virtualhost IO pool sizes defaulted from context vars. defaulted as follows:
 For VH minPoolSize = Math.min(numberOfCores, 8)...  max = Math.max(numberOfCores*2, 64),
for Ports default to min=2, max=8.
* Extend the Port and Virtualhost UI to allow these values to be changed. The UI changes should
be extended to the Http Ports too.
* document the settings + give the information the user needed to adjust these values sensibly.
* append the number of cores to the platform message (BRK-1010 : Platform ... cores : x) and
extend the Broker model to have a new derived attribute numberOfCores.  We will use this information
is support calls to help advise customer to raise/lower pool sizes.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message