[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] How to make tcp segment out as much as possible
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] How to make tcp segment out as much as possible |
Date: |
Thu, 15 Apr 2010 11:40:14 +0100 |
On Thu, 2010-04-15 at 18:18 +0800, yueyue papa wrote:
> send part (lwIP), ---> server is windows based.
>
> I find the lwIP only send 2 tcp segment and wait for ACK. I use
> TCP_NODELAY.
OK, so it is probably congestion window limited. When a connection is
first opened it will be in the "slow start" phase, and during this the
congestion window will increase with each ACK received. You should find
that it soon starts having more than 2 packets in flight at one time,
unless you're also seeing loss in which case the congestion window will
stay small.
Kieran