Hi!

i've tried to reduce  TCP_SND_QUEUE even to:

#define TCP_SND_QUEUELEN        TCP_SND_BUF/TCP_MSS

when i connect to highly loaded server lwip cannot transmit more than 256 
bytes at a time at very slow speed.

when i try to send more than 256 bytes at time i event didn't receive sent 
confirmation from remove server (lwip didn't call sent handler). and 
connection time outs.

lwip calls tcp_rexmit_rto, i checked this. but this doesn't help :(

On Tuesday 20 March 2007 18:32, Kieran Mansley wrote:

> On Tue, 2007-03-20 at 10:35 +0000, Kieran Mansley wrote:
> > On Tue, 2007-03-20 at 12:18 +0200, Vlad wrote:
> > > I've solved this by sending data with smaller chunks at a time ( i call
> > > tcp_write with TCP_MSS bytes at a time ). unfortunately this slows down
> > > uplink.
> >
> > Hmm, I'm sceptical that this has really solved the problem you described
>
> I've just realised that Vlad wasn't the original reporter of this
> problem, and was just suggesting this as a possible workaround.  I'd
> assumed he was the same person I'd replied to yesterday - apologies for
> getting muddled.  However, I still don't think the above is a complete
> solution.
>
> Kieran
>
>
>
> _______________________________________________
> lwip-users mailing list
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/lwip-users


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

Reply via email to