本帖最後由 阿立 於 2011-11-4 07:09 編輯
這個程式對W7跟Vista修改會無效,
Vista除非要關閉"auto-tunning",
不然TCP Window會被限制到65535
詳細介紹
Sometimes it is helpful to disable Windows Vista's autotuning of TCP/IP.
Some networking devices, such as SPI firewalls, some NAT routers, VPN endpoints, WiFi devices have problems with the way Windows Vista resizes the TCP Window. Possible symptomps include: web traffic ok, email timeouts on receiving only, slow or no network file server access, random network timeouts or connectivity problems, freezing or slow web browsing or VPN connections.
Note that disabling TCP Window autotunning limits the TCP Window to 65535, which may not be adequate for faster broadband internet connections.
關閉方法
To disable TCP/IP autotunning, in "Elevated" Command Prompt type:
netsh interface tcp set global autotuning=disabled
To verify that it is dsabled:
netsh interface tcp show global
To set back to the default Windows Vista behavior:
netsh interface tcp set global autotuningl=normal
Windows has the ability to automatically overwrite the above user settings, so you may also want to enforce them with the following: netsh int tcp set heuristics disabled (for more information, see Windows 7/Vista Tweaks article)
Note: To get elevated command prompt (admin priviledges), you may need to do the following:
- Click the Start button
- In the Search box, type: Command Prompt
- Right-click on the Command Prompt icon and select "Run as administrator"
=============================================================================
W7的話則需要進行設定"auto tuning設定"
(僅有Restricted & HighlyRestricted 可以突破 65,536 限制)
兩者中會推薦Restricted
關於Receive Window Auto-Tuning(接收視窗自動調整層級)的參數選項:
本項共有五種參數可供選擇設定:
1. 設為 Disabled
Disable the autotunning feature in Vista completely、and fit and lock the RWIN receive
window to default value 65,536 bytes.
輸入:
netsh interface tcp set global autotuninglevel=disabled
2. 設為HighlyRestricted
Allow for the receive window to grow beyond the default value、but do so very conservatively.
In this mode、Vista will by default use RWIN of 16,384 bytes with a scale factor of 2.
輸入:
netsh interface tcp set global autotuninglevel=highlyrestricted
3. 設為Restricted
Allow the receive window to grow beyond its default value、but limit such growth in
some scenarios.
輸入:
netsh interface tcp set global autotuninglevel=restricted
4.設為 Normal (這是Windows 7,Server 2008,及Vista的預設值)
Allow for the receive window to grow to accommodate almost all scenarios. The default
setting in Vista. Specifying this command mean you want to turn back on AutoTuning feature.
輸入:
netsh interface tcp set global autotuninglevel=normal
5.設為Experimental
Allow for the receive window to grow to accommodate extreme scenarios. Note The
experimental value can decrease performance in common scenarios. This value should be
used only for research purposes.
輸入:
netsh interface tcp set global autotuninglevel=experimental
較詳細建議請看:
http://tinyurl.com/3mqg4o |