tcp write buffering
2013-06-19 07:55:40 GMT
I am using Nuttx/uIP in my project which needs both interactive TCP communication between PC host and embedded host, and high throughput data transferring. There is a telnet server in the embedded host. The telnet session from a Window host is slow due to the delayed ACK problem (no problem if telnet from Linux host). Even I checked the "disable Nagle's Alogrithm (CP_NODELAY option)" in putty. Also I checked CONFIG_NET_TCP_SPLIT=y, the result is the same. The only workaround is to set CONFIG_NET_TCP_SPLIT_SIZE to a small value, such as 2. But this will have a great impact on the performance. It looks like the only solution is to implement TCP write buffering. I have tried to do so without success. I am lack of the knowledge about TCP/IP and its implementation, it is a big cha llenge to me. Do you have any plan to implement TCP write buffering? It is so valuable to the stack running on modern MCU.
|Reply via web post||Reply to sender||Reply to group||Start a New Topic||Messages in this topic (1)|