lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Efficient sending small data packets


From: Daniel Doron
Subject: Re: [lwip-users] Efficient sending small data packets
Date: Tue, 12 Nov 2013 19:34:26 +0000

The nagle algorithm can be disabled...

Daniel

"Pomeroy, Marty" <address@hidden> wrote:


-----Original Message-----
It worked but I noticed a relatively big latency (about 200ms or more)
between arrival of buf_n and buf_n+1.
Where does it come from? How lwip stack schedule an actual transmission
upon receipt of tcp_output?



If your receiving PC is running Windows, 200ms is a "smoking gun" for
Nagle's Algorithm.  Google that up.

On windows fix this by opening the Registry, go to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\In
terfaces
Find the correct interface under there by IP Address
Add these DWORD values
    "TcpAckFrequency"  DWORD 1
    "TCPNoDelay" DWORD 1
Then restart the PC.

HTH!

Marty

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



reply via email to

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