You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Clifford Jansen (Jira)" <ji...@apache.org> on 2019/11/25 20:14:00 UTC
[jira] [Created] (PROTON-2146) Reduce memory per connection
Clifford Jansen created PROTON-2146:
---------------------------------------
Summary: Reduce memory per connection
Key: PROTON-2146
URL: https://issues.apache.org/jira/browse/PROTON-2146
Project: Qpid Proton
Issue Type: Improvement
Components: proton-c
Affects Versions: proton-c-0.29.0
Reporter: Clifford Jansen
Assignee: Clifford Jansen
The transport currently starts with 2 16K buffers: one for input and one for output, and they grow from there depending on load.
Instrumenting with Quiver and Qpid dispatch router shows that these starting buffer sizes can be reduced to 8K without detectable performance degradation. This can reduce memory load by close to 16K per connection for processes with large numbers of lightly loaded connections. Connections with heavier load will still grow as large as before, but with one extra 8K->16K growth step in buffer size.
Reducing to 4K does lead to a degradation of several percent and further reductions to 2K leads to a degradation closer to 20%. So smaller starting sizes are not considered for now, but reworking the transport growth strategy might make it possible in future.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org