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/12/22 07:13:43 UTC

[GitHub] [nuttx] wengzhe opened a new pull request, #7951: net/nat: Use hashtable to optimize performance

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

   ## Summary
   - patches included:
     - hashtable.h: Added a hashtable implementation 
     - net/nat: Use hashtable to optimize performance 
     - net/nat: Add auto reclaim logic for NAT entries. 
     - doc/nat: update config options 
   
   - Performance tested on simulator:
       ```
       Before optimization:      -25% bandwidth @2k entries, -64% @10k entries
       hashtable size= 32(5bits): -3% bandwidth @2k entries, -14% @10k entries
       hashtable size=256(8bits): -1% bandwidth @2k entries,  -3% @10k entries
       
       Note: Tested on worst performance, the earliest entry will be the worst.
       ```
   
   ## Impact
   - Optimize NAT performance
   
   ## Testing
   - Tested by simulator on Ubuntu 22.04
   


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


[GitHub] [nuttx] xiaoxiang781216 merged pull request #7951: net/nat: Use hashtable to optimize performance

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged PR #7951:
URL: https://github.com/apache/nuttx/pull/7951


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