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/04 19:40:39 UTC

[GitHub] [incubator-nuttx-apps] a-lunev edited a comment on pull request #952: netutils/netcat: implemented NETUTILS_NETCAT_SENDFILE option.

a-lunev edited a comment on pull request #952:
URL: https://github.com/apache/incubator-nuttx-apps/pull/952#issuecomment-1005114071


   > @a-lunev do you have any perf number with/without this feature?
   
   1. CONFIG_NET_TCP_WRITE_BUFFERS=n, CONFIG_NETUTILS_NETCAT_SENDFILE=n, file size is 500 KB, the payload throughput is 205 Kbit/s.
   
   2.a. CONFIG_NET_TCP_WRITE_BUFFERS=n, CONFIG_NETUTILS_NETCAT_SENDFILE=y, file size is 500 KB, the payload throughput is 4.1 Mbit/s.
   
   2.b. CONFIG_NET_TCP_WRITE_BUFFERS=n, CONFIG_NETUTILS_NETCAT_SENDFILE=y, file size is 1000 KB, the payload throughput is 8.19 Mbit/s.
   
   3. CONFIG_NET_TCP_WRITE_BUFFERS=y, CONFIG_NETUTILS_NETCAT_SENDFILE=n, file size is 500 KB, the payload throughput is 36.7 Kbit/s.
   
   4. CONFIG_NET_TCP_WRITE_BUFFERS=y, CONFIG_NETUTILS_NETCAT_SENDFILE=y, file size is 500 KB, the payload throughput is 4.1 Mbit/s.
   
   If CONFIG_NETUTILS_NETCAT_SENDFILE=y is enabled, the larger file size, the higher speed.


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