HP NC-Series Mellanox Adapters Performance Tuning Guide
Performance tuning 6
• Enable fast datagram sending for UDP traffic:
FastSendDatagramThreshold, type REG_DWORD, value set to 64K.
Under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ndis\Parameters:
• Set RSS parameters:
RssBaseCpu, type REG_DWORD, value set to 1.
MaxNumRssCpus, type REG_DWORD, value set to 4.
Enable RSS
To enable Receive Side Scaling (RSS) execute the following command:
netsh int tcp set global rss = enabled
Disable Windows Firewall and Filtering Engine
The following services are disabled:
"Base Filtering Engine” (BFE)
"Windows Firewall” (MpsSvc)
Registry tuning on Windows Server 2003
Under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters:
• Increase the TCP buffer size for TCP connections:
TcpWindowSize, type REG_DWORD, value set to 512K.
GlobalMaxWindowSize, type REG_DWORD, value set to 512K.
• Enable the Window scaling option:
Tcp1323Opts, type REG_DWORD, value set to 1.
• Disable TCP selective sacks option for better CPU utilization:
SackOpts, type REG_DWORD, value set to 0.
• Enable Receive Side Scaling:
EnableRss, type REG_DWORD, value set to 1.
RssBaseCpu, type REG_DWORD, value set to 1.
MaxNumRssCpus, type REG_DWORD, value set to 4.
Under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AFD\Parameters:
• Enable fast datagram sending for UDP traffic:
FastSendDatagramThreshold, type REG_DWORD, value set to 64K.
Disable Windows Firewall
The following service is disabled to enable TCP Segmentation Offload:
"Windows Firewall/Internet Connection Sharing (ICS)"








