(1)、调大tcp/ip的端口范围,默认临时端口是:1024—5000,将该范围扩大到65534
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
值名称:MaxUserPort
值类型:DWORD
值数据:0x0000fffe(65534)
(2)、减少连接关闭时的等待时间:[TcpTimedWaitDelay]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
值名称:TcpTimedWaitDelay
值类型:DWORD
值数据:0x0000001e(30)èunit is second
(3)、调整Tcp窗口的大小
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
值名称:TcpWindowSize
值类型:DWORD
值数据:0x0000fffe(65534)
(4)、使用Tcp窗口的scaling模式
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
值名称:Tcp1323Opts
值类型:DWORD
值数据:0x00000003(3)
注意:此处Tcp1323Opts中字母为英文字母“O”,不是数字“0”。
link_bandwidth*RTT=BDP
Windows下调优网络环境
猜你喜欢
转载自can-do.iteye.com/blog/2254105
今日推荐
周排行