How Do I Change the Number of TCP Data Retransmission Times?
TcpMaxDataRetransmissions indicates the number of TCP data retransmission times. If the network environment is poor, increase the value of this parameter for effective communication. If the network environment is good, decrease the value of this parameter to shorten the verification time. If multipathing software is available, it is advised to set this parameter to 3 so that multipathing software can receive link fault information in a timely manner and start path switchover.
To modify this parameter, perform the following steps:
- In Command Prompt, run the regedit command to go to the registry editing page.
- Choose HKEY_LOCAL_MACHINE > System > CurrentControlSet > Services > Tcpip > Parameters.
- Check whether TcpMaxDataRetransmissions exists.
- If yes, it is advised to change its value to 3.Figure 7-11 Modifying TcpMaxDataRetransmissions
- If no, right-click in the blank area and choose New > DWORD (32 bits) to create TcpMaxDataRetransmissions with its value being 3.Figure 7-12 Adding TcpMaxDataRetransmissions
- If yes, it is advised to change its value to 3.