You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Gordon Sim (JIRA)" <ji...@apache.org> on 2014/09/04 15:38:52 UTC
[jira] [Created] (PROTON-659) if protons internal buffer gets
large, performance can suffer
Gordon Sim created PROTON-659:
---------------------------------
Summary: if protons internal buffer gets large, performance can suffer
Key: PROTON-659
URL: https://issues.apache.org/jira/browse/PROTON-659
Project: Qpid Proton
Issue Type: Improvement
Components: proton-c
Affects Versions: 0.7
Reporter: Gordon Sim
Priority: Minor
In doing some performance investigations using qpid::messaging over 1.0, in particular as message size got larger, I saw much lower throughput and lots of cpu used. From callgrind it looked like this was from shuffliing up the buffer in pn_dispatcher_output. Because of the threading in qpid::messaging, it was possible for the application to generate too much output using the top-half of the engine API before the IO was done for the bottom half. Fixing that in qpid:messaging improved performance.
There may perhaps be something that proton could do to make users more aware of this (e.g. a log message if the buffer exceeds a certain size? or just documentation?)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)