You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/01/14 09:35:54 UTC

[GitHub] [incubator-nuttx] a-lunev commented on pull request #5226: sim/netdev: eliminated RX data stream congestion in case of high TX network traffic

a-lunev commented on pull request #5226:
URL: https://github.com/apache/incubator-nuttx/pull/5226#issuecomment-1012956135


   > @a-lunev what's the perf number before change?
   
   Actually, this throughput increase is due to https://github.com/apache/incubator-nuttx-apps/pull/952 enhancement in netcat. This PR #5226 just fixes the bug (hang-up) at high traffic. In https://github.com/apache/incubator-nuttx-apps/pull/952 I wrote that before enabling sendfile for netcat the TCP throughput was only 205 Kbit/s (not depending on the transmitted file size). After I enabled sendfile in netcat, the TCP throughput was up to 8.19 Mbit/s (the transmitted file was 1000 KB). However, if I tried to send larger file (10 MB), the TCP connection hung up.
   Thus PR #5226 fixes the issue with TCP connection hang-up because of RX stream congestion. After that I was able to test the performance using a larger file (10 MB). If the file size is 10 MB or larger, TCP throughput on Linux host (my setup) achieves now 234 Mbits/sec.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org