TShopping

 找回密碼
 註冊
搜索
查看: 1241|回復: 0

[分享] TCP Chimney 疑難排解

[複製鏈接]
發表於 2017-4-11 01:02:46 | 顯示全部樓層 |閱讀模式
 
Push to Facebook Push to Plurk  
其實這不僅僅是發生在Azure,一般Server也有同樣的狀況。
If the server is exhibiting a strange network performance problem or strange connectivity problem maybe the issue is with TCP Chimney.

The fastest way to determine if any TCP connection on the system is offloaded is to use the netstat command with the –t command. Here is an example:

  1. C:\Windows\system32>netstat -t
複製代碼

Active Connections
  Proto  Local Address          Foreign Address        State          Offload State
  TCP    10.70.92.177:57505     157.54.118.28:http     CLOSE_WAIT      InHost
  TCP    10.70.92.177:57758     157.54.27.21:http      CLOSE_WAIT      InHost
  TCP    128.208.191.70:62520   mail:https             ESTABLISHED     InHost
  TCP    128.208.191.70:62521   mail:https             ESTABLISHED  Offloaded
  TCP    128.208.191.70:62531   mail:https             ESTABLISHED     InHost

You cannot take a network capture of an offloaded connection on the machine where the connection is offloaded.

If you want to take a network capture (with Netmon or Ethreal|Wireshark) for a TCP connection that is offloaded you will have to take the capture on the other machine involved in the TCP connection or via 3rd machine that is attached to a mirrored port on the same switch as the machine under investigation.

Sometimes it is beneficial to determine if any of the two machines involved in a TCP conversation have the connection offloaded in hardware. You can determine this by looking at a network trace.
1.jpg




根據KB951037 (http://support.microsoft.com/kb/951037),在某些硬體設備上會造成TCP連接的問題。


1.Windows Server 2008 R2環境上以命令提示字元執行下列步驟中的command:
netsh int tcp set global chimney=disabled


2. 於網路介面卡上關閉TCP Large Send Offload:

開啟[裝置管理員],找到[網路介面卡],在您每一張網卡上按滑鼠右鍵>「內容」
於內容視窗上點選[進階]頁籤後,在”內容”區塊找到名為「Large Send Offload v2 (IPv4)」或「TCP Large Send Offload」的選項,將其數值變更為Disabled



3. 修改下列機碼

於電腦上左下角點選「開始」>「執行」> 輸入「regedit」,開啟登錄編輯器。
找到下列路徑:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
建立或修改機碼(DWORD 32位元值):「EnableTCPChimney」值為「1」
建立或修改機碼(DWORD 32位元值):「EnableRSS」值為「1」
建立或修改機碼(DWORD 32位元值):「EnableTCPA」值為「1」
重啟電腦
文章來源

 

臉書網友討論
您需要登錄後才可以回帖 登錄 | 註冊 |

本版積分規則



Archiver|手機版|小黑屋|免責聲明|TShopping

GMT+8, 2020-12-4 18:11 , Processed in 0.054928 second(s), 24 queries .

本論壇言論純屬發表者個人意見,與 TShopping綜合論壇 立場無關 如有意見侵犯了您的權益 請寫信聯絡我們。

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回復 返回頂部 返回列表