카테고리 없음

NIC 설정

보미아빠 2014. 12. 7. 00:29

10G 이상에서 생각해볼 옵션들

1Gbit /Sec 에 근처도 가지 않는다면 모든 옵션을 disable 하고 그 이상의 패킷이 발생하고 이 패킷처리가 특정 cpu core 에 몰린다면 적용 해볼만한 옵션들이다. 



TCP Chimney Offload 

This feature transfers TCP/IP protocol processing from the CPU to a network adapter during network data transfer.

CPU -> NIC 로 변경


Receive Side Scaling 

This feature enables the network load from a network adapter to be distributed across multiple CPUs in a multiprocessor computer.

하나의 Core -> 여러 Core 로 분산


NetDMA 

This feature provides services for offloading the memory copy operation that is performed by the networking subsystem to a dedicated direct memory access (DMA) engine when receiving network packets.

패킷수신시 DMA 사용


TOE 란 

http://en.wikipedia.org/wiki/TCP_offload_engine

H/W 와 OS 가 동시에 지원해야 함


상태확인

netsh interface tcp show global

netstat -nt | findstr /i offloaded

netstat -nt

Netsh int tcp show chimneystats

Netsh int tcp show chimneystats 3

등등의 조합


상태변경

netsh int tcp set global rss=enabled

netsh int tcp set global rss=disabled

netsh int tcp set global chimney=enabled

netsh int tcp set global chimney=disabled


강제설정변경 

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters


읽을만한 KB

http://support.microsoft.com/kb/942861/en-us

http://support.microsoft.com/kb/936594/en-us

http://blogs.technet.com/b/wincat/archive/2012/08/27/using-powershell-for-nic-configuration-tasks.aspx

http://sqltouch.blogspot.kr/2013/03/tcp-chimney-offloads-and-sql-server.html

http://blogs.msdn.com/b/sql_protocols/archive/2008/05/20/connectivity-troubleshooting-in-sql-server-2008-with-the-connectivity-ring-buffer.aspx