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-7453) [Java Broker] Hand off selection task only if connection tasks need to be processed
Date Wed, 19 Oct 2016 14:21:58 GMT

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

ASF subversion and git services commented on QPID-7453:

Commit 1765606 from orudyy@apache.org in branch 'java/trunk'
[ https://svn.apache.org/r1765606 ]

QPID-7453: Restore previous changes to reduce CPU utilization

> [Java Broker] Hand off selection task only if connection tasks need to be processed
> -----------------------------------------------------------------------------------
>                 Key: QPID-7453
>                 URL: https://issues.apache.org/jira/browse/QPID-7453
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>            Reporter: Keith Wall
>            Assignee: Alex Rudyy
>             Fix For: qpid-java-6.1
> Currently the selector thread always reschedules the selection task on the workQueue.
 In the case where the select was awoken for the purpose of reregistering a connection on
the selector, there will be no connection work to be done, so the potential hand off to of
the selection task will be needless.
> We can simply optimise the algorithm to hand off responsibility for the selection iff
there is connection work that can be consumed by this thread.

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