[
https://issues.apache.org/jira/browse/QPID-6697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14701160#comment-14701160
]
ASF subversion and git services commented on QPID-6697:
-------------------------------------------------------
Commit 1696408 from [email protected] in branch 'java/trunk'
[ https://svn.apache.org/r1696408 ]
QPID-6697: [Java Broker] Add min/max thread pool size to AMQP port and Virtual
Host
work by Lorenz Quack <[email protected]> and Alex Rudyy.
> 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: [email protected]
For additional commands, e-mail: [email protected]