TCP/IP Performance Degrades When Resuming Large Data TransferLast reviewed: September 7, 1996Article ID: Q153596 |
The information in this article applies to:
SYMPTOMSWindows NT clients using TCP/IP may notice a considerable delay resuming data transfer to client applications that take a long time to clear the TCP/IP receive window. A Protocol Analyzer trace of the slow performance will show the following behavior:
CAUSEThe server falls out of sequence because its window probes are 240 seconds apart so the server has to ARP for the client's MAC address when the client advertises its new window space. The reason this causes the server to fall out of sequence is that the server begins sending data immediately after discovering that the client has additional window space. Because the ARP table entry for the client is in the resolving state when the server starts indicating data, TCP/IP cannot send the data to the client. In accordance with RFC the ARP cache will only buffer one packet when the destination IP address is in the resolving state. Windows NT buffers the last packet only, so all sends, except for the last, are dropped until the ARP entry has been resolved. When the ARP entry for the client is resolved TCP/IP sends the last packet that was cached to the client; the packet is out of sequence because the prior sends were dropped while the ARP entry was resolving. The excessive delay that occurs is caused by the server's taking 240 seconds to send the correct sequence number. The reason the server takes 240 seconds to send the correct sequence number is that a retransmit timer has started running. The retransmit timer takes 240 seconds to complete before the packet with the correct sequence number can be sent. Note: For additional information on the ARP cache please refer to RFC 1122. MORE INFORMATIONExample Protocol Analyzer Trace:
1 0.000 Client -> Server TCP .A...., len: 0, seq:2192824888, ack: 578989364, win: 02 153.452 Client -> Server TCP .AP..., len: 512, seq:2192824888, ack: 578989364, win: 0 3 0.008 Client -> Server TCP .A...., len: 0, seq:2192825400, ack: 578989364, win:14336 4 0.002 Client -> Server ARP Reply 5 0.001 Server -> Client TCP .A...., len: 1460, seq: 578992284, ack:2192825400, win:48640 6 0.005 Client -> Server TCP .A...., len: 0, seq:2192825400, ack: 578989364, win:14336 7 0.195 Client -> Server TCP .A...., len: 0, seq:2192825400, ack: 578989364, win:14336 8 4.785 Server -> Client TCP .A...., len: 357, seq: 578993744, ack:2192825400, win:48640 9 0.003 Client -> Server TCP .A...., len: 0, seq:2192825400, ack: 578989364, win:14336 10 0.193 Client -> Server TCP .A...., len: 0, seq:2192825400, ack: 578989364, win:1433611 235.180 Client -> Server ARP Reply 12 0.000 Server -> Client TCP .A...., len: 1460, seq: 578989364, ack:2192825400, win:48640 STATUSMicrosoft has confirmed this to be a problem in Windows NT version 3.51. This problem was corrected in the latest Windows NT 3.51 U.S. Service Pack. For information on obtaining the Service Pack, query on the following word in the Microsoft Knowledge Base (without the spaces):
S E R V P A C K |
KBCategory: kbnetwork
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |