Hi, TCP coalesces both when sending and when receiving. If the sender really sends only every second a few bytes, those should be the only ones delivered, assuming the receiver reads the data as soon as it was received. To check that everything behaves as expected, try sending only 2 bytes and then check with “show session verbose 2” how many bytes tcp sent on one side and received on the other.
We’re often using iperf3 with ldp on different servers for throughput testing and, as far as I know, it should work fine. Regards, Florin > On Sep 20, 2020, at 6:08 PM, forxy <fo...@126.com> wrote: > > For VPP's user host stack, the IPERF3 test can be completed on the same > machine > according to the VPP official document configuration. However, moving the > iPerf3 > client to another machine do not work. > > After testing, I found that VPP's TCP user protocol stack, when receiving > less than 6 bytes of data, there will be problems, so I deliberately A simple > TCP client and server were written for validation. > > Every second a specified length of data occurs on the TCP client, > the server prints the length and data received (string printing). > > 1. start vpp > <1.jpg> > 2. tcp server configure: > <2.jpg> > 3. Normal communication of 6 bytes or more > <3.jpg> > 4. 2 bytes sent by client (error case, first data received is 6 bytes) > <4.jpg> > 5. 2 bytes sent by client > <5.jpg> > > Thank you very much !!! > > > > <1.jpg><2.jpg><3.jpg><4.jpg><5.jpg> > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17464): https://lists.fd.io/g/vpp-dev/message/17464 Mute This Topic: https://lists.fd.io/mt/76982296/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-