lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Problem with sending big buffers tolwip_writeandsemapho


From: Kieran Mansley
Subject: Re: [lwip-users] Problem with sending big buffers tolwip_writeandsemaphoresduring big downloads.
Date: Thu, 12 Apr 2007 08:56:44 +0100

On Thu, 2007-04-12 at 08:29 +0200, address@hidden wrote:

> Yes, it looks like a deadlock problem. I haven't figured out why I
> only get it for data sizes over one TCP frame size though. 

If you send less than a frame size, chances are that the frame will go
out straight away.  If you send more than a frame size (particularly at
the start of the connection when the congestion window is small) the
second portion might be queued waiting for an acknowledgement.  If the
deadlock was a conflict between sending this second portion of the first
send, and the first portion of the second send, this would explain why
you get the difference in behaviour. i.e. I'd look at the send queue as
the first suspect.

Kieran





reply via email to

[Prev in Thread] Current Thread [Next in Thread]