nuttxs opened a new pull request, #16684:
URL: https://github.com/apache/nuttx/pull/16684

   ## Summary
   The ARP implementation overly strict expiration check mechanism. When an ARP 
entry expires, data packets are immediately discarded, causing TCP connections 
to pause and wait for ARP to resolve again.
   Reducing unnecessary ARP requests can mitigate network congestion and avoid 
packet delays caused by waiting for ARP responses.
   
   ## Impact
   New Feature/Change: arp optimize
   User Impact: Prevent file descriptor leakage.
   Build Impact:No new Kconfig options or build system changes.
   Hardware Impact: No
   Security: No
   Compatibility: Backward-compatible; no breaking changes.
   
   ## Testing
   Verification phenomenon: iperf+TCP communication
   1. During high-speed communication (e.g., iperf), an abnormal throughput 
drop occurs due to ARP expiration checks.
   2. The problem reproduction cycle is consistent with the NET_ARP_MAXAGE 
duration.
   (To facilitate issue reproduction, temporarily reduce NET_ARP_MAXAGE)
   ```
          Interval         Transfer         Bandwidth
      0.00-   1.00 sec    2310144 Bytes   18.47 Mbits/sec
      1.00-   2.00 sec    2326528 Bytes   18.60 Mbits/sec
      2.00-   3.00 sec    2326528 Bytes   18.60 Mbits/sec
      3.00-   4.00 sec    2342912 Bytes   18.73 Mbits/sec
      4.00-   5.00 sec    2326528 Bytes   18.60 Mbits/sec
      5.00-   6.00 sec    2326528 Bytes   18.60 Mbits/sec
      6.00-   7.00 sec    2326528 Bytes   18.60 Mbits/sec
      7.00-   8.00 sec    2326528 Bytes   18.60 Mbits/sec
      8.00-   9.00 sec    2326528 Bytes   18.60 Mbits/sec
      9.00-  10.01 sec    2375680 Bytes   18.99 Mbits/sec
     10.01-  11.01 sec    2375680 Bytes   18.99 Mbits/sec
     11.01-  12.01 sec    1064960 Bytes    **8.51 Mbits/sec**
     12.01-  13.01 sec     114688 Bytes    **0.92 Mbits/sec**
     13.01-  14.01 sec    2326528 Bytes   18.60 Mbits/sec
     14.01-  15.01 sec    2326528 Bytes   18.60 Mbits/sec
   ```
   After fixed, there is no longer a through exception reduction issue.
   


-- 
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-unsubscr...@nuttx.apache.org

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

Reply via email to