lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] transfer stucks when snd_wnd is less than TCP_MSS


From: Vlad
Subject: Re: [lwip-users] transfer stucks when snd_wnd is less than TCP_MSS
Date: Thu, 8 Mar 2007 19:18:13 +0200
User-agent: KMail/1.9.5

I mean second. lwip receives ack packets that sets snd_wnd less and less with 
every packet:

19:11:10.246024 IP x1:port1 > x2:port2: P 61680:63140(1460) ack 1 win 20480
19:11:10.246055 IP x2:port2 > x1:port1: . ack 63140 win 15340
19:11:10.246604 IP x1:port1 > x2:port2: P 63140:64600(1460) ack 1 win 20480
19:11:10.246641 IP x2:port2 > x1:port1: . ack 64600 win 13880
19:11:10.247193 IP x1:port1 > x2:port2: P 64600:66060(1460) ack 1 win 20480
19:11:10.247224 IP x2:port2 > x1:port1: . ack 66060 win 12420
19:11:10.248301 IP x1:port1 > x2:port2: P 66060:67520(1460) ack 1 win 20480
19:11:10.248340 IP x2:port2 > x1:port1: . ack 67520 win 10960
19:11:10.248974 IP x1:port1 > x2:port2: P 67520:68980(1460) ack 1 win 20480
19:11:10.249011 IP x2:port2 > x1:port1: . ack 68980 win 9500
19:11:10.249588 IP x1:port1 > x2:port2: P 68980:70440(1460) ack 1 win 20480
19:11:10.249619 IP x2:port2 > x1:port1: . ack 70440 win 8040
19:11:10.250184 IP x1:port1 > x2:port2: P 70440:71900(1460) ack 1 win 20480
19:11:10.250215 IP x2:port2 > x1:port1: . ack 71900 win 6580
19:11:10.250778 IP x1:port1 > x2:port2: P 71900:73360(1460) ack 1 win 20480
19:11:10.250814 IP x2:port2 > x1:port1: . ack 73360 win 5120
19:11:10.251726 IP x1:port1 > x2:port2: P 73360:74820(1460) ack 1 win 20480
19:11:10.251764 IP x2:port2 > x1:port1: . ack 74820 win 3660
19:11:10.252660 IP x1:port1 > x2:port2: P 74820:76280(1460) ack 1 win 20480
19:11:10.252705 IP x2:port2 > x1:port1: . ack 76280 win 2200
19:11:10.253375 IP x1:port1 > x2:port2: P 76280:77740(1460) ack 1 win 20480
19:11:10.253409 IP x2:port2 > x1:port1: . ack 77740 win 740

At this moment remote server (x2 - remote, x1 - local) stops send packets, and 
my program cannot send packets (they stays in queue) because snd_wnd == 740,
segment size is 1460 == TCP_MSS. Connection times out in 1 minute.

On Thursday 08 March 2007 19:02, Kieran Mansley wrote:

> On Thu, 2007-03-08 at 18:50 +0200, Vlad wrote:
> > How can i solve this problem ?
>
> Do you mean that you're configuring the send window to be less than 1
> MSS (e.g. in lwipopts.h), or that due to congestion control the send
> window is decreasing down to less than 1 MSS?
>




reply via email to

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