PRB: Poor TCP/IP Performance When Doing Small SendsLast reviewed: January 29, 1998Article ID: Q126716 |
4.00 | 3.10 3.50 3.51WINDOWS | WINDOWS NT kbnetwork kbnetwork kbprb The information in this article applies to:
SYMPTOMSWhen doing multiple sends of less than the Maximum Transmission Unit (MTU), you may see poor performance. On an Ethernet network, the MTU for TCP/IP is 1460 bytes.
CAUSEWhen an application does two sends of less than a transport MTU, the second send is delayed until an ACK is received from the remote host. The delay occurs in case the application does another small send. TCP can then coalesce the two small sends into one larger packet. This concept of collecting small sends into larger packets is called Nagling.
RESOLUTIONThere are a number of ways to avoid Nagling in an application. Here are two. The second is more complex but gives a better performance benefit:
REFERENCESMore information about Nagling and the Nagle algorithm can be found in RFC 1122.
|
Additional reference words: 3.10 3.50 4.00 95
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |