|
From: | address@hidden |
Subject: | Re: [lwip-users] netconn_write throughput stuck at 1024 bytes |
Date: | Wed, 21 Jan 2009 17:07:19 +0100 |
User-agent: | Thunderbird 2.0.0.19 (Macintosh/20081209) |
Kieran Mansley wrote:
In other words, is there a difference in this: netconn_write(..., 4096, ...); or netconn_write(..., 1460, ...); netconn_write(..., 1460, ...); netconn_write(..., 284, ...);The correct answer is "maybe".
I'd say netconn_write(4096) is faster since it implies less threading overhead (between application thread an lwIP's tcpip_thread) than calling netconn_write 3 times. But you couldn't say how much this influences data throughput...
Simon
[Prev in Thread] | Current Thread | [Next in Thread] |