On Thu, 2009-03-05 at 08:11 -0500, Chen wrote:

> /* TCP receive window. */
> #define TCP_WND                 1500
> 
> /* TCP sender buffer space (bytes). */
> #define TCP_SND_BUF             2150

The above two settings are much too small to expect decent throughput,
and almost certainly explain the poor performance in the 2048-byte-write
capture you sent.  You can probably get away with leaving TCP_WND alone
if you're acting purely as a sender of packets, but TCP_SND_BUF should
be as large as you can make it.

Kieran



_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to