Sunday, August 02, 2009

調整Vista Auto-Tuning功能

由於買了新的NB搭載新的作業系統Vista,所以讓我開始對他的各項功能感到興趣。其中"改善Vista網路連線",這個詞一直在Google上出現Vista相關的議題。原來是vista新功能"Auto-Tuning"。

什麼是"Auto-Tuning"?
他是能根據網路流量調整接收資料量的緩衝區大小,在Vista中共有Disabled、HighlyRestricted、Restricted、Normal、Experimental等五種設定,後面會在提到他們的意義與指令。
  
如何調整調整Vista Auto-Tuning功能
1.點選"開始",在指令列打上cmd後,將ctrl+shift+enter同時按以取得使用者最高權限。


2.檢查現在的狀況輸入:
netsh interface tcp show global
P.S:我的設定已經是關閉的狀態。

3.關掉Auto-Tuning功能
netsh interface tcp set global autotuninglevel=disabled



附錄: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

No comments:

Post a Comment