win7网络参数优化

前面发了一个mac下的网络优化,再发一个win7的。单位用的win7和linux.

把下面脚本写字本保存为a.bat,以管理员身份运行一下。

@echo off
echo Setting TCP/IP flags...
echo -----------------------
echo This only succeeds when run as an administrator,
echo when run as a user it only shows the current settings.
echo.
pause
echo.
netsh int tcp set global rss=enabled
netsh int tcp set global chimney=automatic
netsh int tcp set global netdma=enabled
netsh int tcp set global dca=enabled
netsh int tcp set global autotuninglevel=normal
netsh int tcp set global congestionprovider=ctcp
netsh int tcp set global ecncapability=enabled
netsh int tcp set global timestamps=disabled
pause
cls
echo Current settings:
echo -----------------
netsh int tcp show global
pause

相关推荐