lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Web browser waits 200ms before ACK


From: address@hidden
Subject: Re: [lwip-users] Web browser waits 200ms before ACK
Date: Tue, 02 Feb 2010 22:14:29 +0100
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1

Nagle is something different, what you are facing is delayed ACK: TCP tries to reduce the amount of small packets by only ACKing every 2nd segment. To reduce your delays, you have to make sure that your webserver doesn't wait to send data until the first segment is ACKed. This is also called the "sliding window" mechanism. I can't currently tell you how to achieve this since I don't know the webserver. Maybe next week I can tell you more when we get the Luminary-http sources.

The defines below at least look OK to achieve good throughput...

Simon


gregoryhouse wrote:
Hi,

I have a web server (Luminary Micro contrib module with SSI and CGI). The page content is sent in few parts. When server sends a part, web browser waits 200ms before sending ACK.
I think there is nothing I can do with this, but I hope you could help me somehow. I read a lot about 200 ms delays, Nagle, but the problem still exist. Wireshark capture file is attached.

Settings:
#define TCP_WND                         4096
#define TCP_MSS                       	1460
#define TCP_SND_BUF                     (4 * TCP_MSS)

Best regards.
_______________________________________________ lwip-users mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

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