qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-7024) BDB HA - Group change thread-pool sized to availableProcessors +1
Date Wed, 03 Feb 2016 12:48:39 GMT

    [ https://issues.apache.org/jira/browse/QPID-7024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15130326#comment-15130326

ASF subversion and git services commented on QPID-7024:

Commit 1728302 from [~k-wall] in branch 'java/trunk'
[ https://svn.apache.org/r1728302 ]

QPID-7024: Set the number of threads in 'group change learner' thread pool to 'group size'
+ 1

Improve comments/remove TODO
Avoid unnecessary resize of the pool when creating a new node of a new group

> BDB HA - Group change thread-pool sized to availableProcessors +1
> -----------------------------------------------------------------
>                 Key: QPID-7024
>                 URL: https://issues.apache.org/jira/browse/QPID-7024
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Keith Wall
>            Assignee: Keith Wall
>            Priority: Minor
>             Fix For: qpid-java-6.0.1, qpid-java-6.1
> The BDB HA implementation internally uses a thread pool to process group change events.
 This thread pool is sized to {{Runtime.getRuntime().availableProcessors() + 1}}.  On a machine
with many cores, this will create a very large number of threads.
> There is probably no reason why this thread pool needs to be quite so large.  This problem
does not cause a functional impact, but will consume more resources (threads + stack) than

This message was sent by Atlassian JIRA

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

View raw message