You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Charles E. Rolke (Jira)" <ji...@apache.org> on 2021/02/22 15:35:00 UTC

[jira] [Created] (DISPATCH-1975) TCP adaptor sends only 512-byte packets over network

Charles E. Rolke created DISPATCH-1975:
------------------------------------------

             Summary: TCP adaptor sends only 512-byte packets over network
                 Key: DISPATCH-1975
                 URL: https://issues.apache.org/jira/browse/DISPATCH-1975
             Project: Qpid Dispatch
          Issue Type: Bug
          Components: Protocol Adaptors
    Affects Versions: 1.15.0
            Reporter: Charles E. Rolke


h2. Setup

Running some iperf3 tests with a single router over localhost interfaces and looking at wireshark traces.
h2. Observation

* router is receiving from the iperf3 client in 64k-byte packets
* router is sending to the iperf3 server in 512-byte packets
h2. Discussion

This is perfectly understandable if the iperf3 server connection is setting NO_DELAY=true.

This is really bad for performance in general. Network performance loves bigger data frames on the wire.

Single-router performance would be improved if dispatch coalesced the 512-byte buffers into something bigger before handing them off to proton. The idea is for TCP to share the HTTP2 raw buffering scheme that uses 16k-byte proton raw buffers.



--
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