方案
Windows 系统上的网络性能很低。
解决方案
通过调整 Windows 操作系统来优化网络性能。
要优化 Windows 性能:
TcpTimedWaitDelay
此步骤可减少操作系统等待回收已关闭端口的时间,其默认设置为 4 分钟(240 秒)。该参数位于 HKLM\System\CurrentControlSet\Services\Tcpip\Parameters
HKLM\System\CurrentControlSet\Services\Tcpip\Parameters
参数名称:TcpTimedWaitDelay
MaxUserPort
此步骤可增加在应用程序上能打开的端口数(默认值为 5,000)。该参数位于 HKLM\System\CurrentControlSet\Services\Tcpip\Parameters
参数名称:MaxUserPort
此页上的脚本内容仅用于导航目的且不会以任何方式更改内容。