You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2015/08/18 14:11:45 UTC

[jira] [Resolved] (QPID-6697) Give IO thread pools a minimum/maximum size and provide advice to user to help them select sensible values

     [ https://issues.apache.org/jira/browse/QPID-6697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Rudyy resolved QPID-6697.
------------------------------
       Resolution: Fixed
         Assignee: Alex Rudyy
    Fix Version/s: qpid-java-6.0

> 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
>            Assignee: Alex Rudyy
>            Priority: Critical
>             Fix For: qpid-java-6.0
>
>
> 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