You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/07/08 14:29:00 UTC

[jira] [Commented] (DISPATCH-759) Core thread consumed deleting deliveries

    [ https://issues.apache.org/jira/browse/DISPATCH-759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16079163#comment-16079163 ] 

ASF GitHub Bot commented on DISPATCH-759:
-----------------------------------------

GitHub user ChugR opened a pull request:

    https://github.com/apache/qpid-dispatch/pull/175

    DISPATCH-759: Move freeing message and iterator out of core thread

    Some of delivery deletion requires core context and that part stays.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ChugR/qpid-dispatch DISPATCH-759

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/qpid-dispatch/pull/175.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #175
    
----
commit a32a4e556b41a998ee5b0b558688919d6e536d92
Author: Chuck Rolke <cr...@redhat.com>
Date:   2017-07-08T14:25:24Z

    DISPATCH-759: Move freeing message and iterator out of core thread
    
    Some of delivery deletion requires core context and that part stays.

----


> Core thread consumed deleting deliveries
> ----------------------------------------
>
>                 Key: DISPATCH-759
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-759
>             Project: Qpid Dispatch
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>         Environment: Fedora 25 laptop
> Single router, 8 worker threads, single receiver, single sender. Messages have 200 100-byte annotations.
>            Reporter: Chuck Rolke
>            Assignee: Chuck Rolke
>
> Without the annotations the router passes 33,000 messages per second. With the annotations the router passes about 500 messages per second. The whole router process is consumed creating and freeing messages.
> The issue exposes the fact that the router core thread is involved (90% cpu) in qdr_delete_delivery_CT. The core thread should not be involved in deleting deliveries and freeing messages.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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