標籤:des http 使用 strong io 資料 for cti
Windows作業系統使用Maximum Transmission Unit (MTU) 來確定在下面的網路層上可以傳輸的協議資料包(protocol data packet)的最大尺寸. MTU參數通常出現在與某一個介面(網卡, 串口等)的通訊中, 並且每個介面都是分開設定的.
為了達到最優的網路效能, 並且防止fragmentation (片段), MTU應該足夠大以至於任何IP 資料報(datagram)都可以被一個幀(frame)容納. 比MTU大的IP資料報會被拆分成大小為8位位組的倍數的片段. 片段會被分別傳遞到目標主機, 然後重新組裝成幀, 之後資料報才會被處理. 所以, 很小的MTU的值對於最佳化的網路效能是沒啥好處的.
[原文中有更多關於Windows上該選項解釋, 請參考最後的連結.]
修改步驟:
1. 使用下面的命令來查看所有的網卡, 以及他們的MTU的大小.
netsh interface ipv4 show subinterfaces
或
netsh interface ipv6 show subinterfaces
2. 使用下面的命令來設定一個新的MTU的值.
netsh interface ipv4 set subinterface "Local Area Connection" mtu=nnnn store=persistent
3. 重啟機器,用以使新選項生效.
4. 使用下面的命令來檢查修改是否已經生效.
netsh int ip show int
netsh interface ipv4 show subinterfaces
netsh interface ipv6 show subinterfaces
還可以使用註冊表來進行同樣的修改.
1.Run Registry Editor (RegEdit).
2.Navigate to the following registry key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters\Interfaces
3.Select the registry sub-key of the network interface that you want to change its MTU. For example, {ABCD1234-EF56-GH78-IJ90-KLMNOP123456}. As a guide, you can look through the list of interface available, and find the one that has IP address or gateway IP address which is matching.
4.Right click on blank area of the right pane, and select New -> DWORD (32-bit) Value, and name the new registry value as MTU
5.Right click on MTU and select Modify, and enter the desired MTU value in Decimal. Common MTU values in decimal are 1300, 1400, 1462, 1480, and 1500.
資料來源
===============================
How to Set and Change MTU in Windows 7 or Vista
http://www.mydigitallife.info/how-to-set-and-change-mtu-in-windows-7-or-vista/