TCP/IP 預設接收緩衝區 (TCP Window) 僅 576 Bytes。若單一封包錯誤,整個視窗內資料皆需重傳,嚴重降低 ADSL/光纖傳輸效率。適度增大視窗大小,可減少重傳開銷,提升吞吐量。
regeditHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ParametersGlobalMaxTcpWindowSize| 頻寬 x 延遲積 (BDP) | 建議視窗大小 | 十進位值 |
|---|---|---|
| ≤ 100 Mbps × 50ms | 64 KB | 65536 |
| 100~500 Mbps × 50ms | 256 KB | 262144 |
| > 500 Mbps 或高延遲 | 1 MB | 1048576 |
一般家用 ADSL/光纖 100M 內,256960 (256 KB) 為平衡效能與相容性的最佳值。
netsh interface tcp show globalnetsh interface tcp set global congestionprovider=ctcp
netsh interface tcp set global ecncapability=enabled
netsh interface tcp set global timestamps=enabled
CTCP (Compound TCP) 為 Vista/Win7 預設演算法,對高 BDP 連線有顯著改善;Win10/11 已內建 CUBIC 並預設啟用。
適度調大 TCP 接收視窗,配合現代擁塞控制演算法,能在不換硬體、不換方案前提下,榨乾寬帶最後一絲效能。