HP NC-Series Mellanox Adapters Performance Tuning Guide Part Number 601717-002 March 2010 (Second Edition)
© Copyright 2010 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. Confidential computer software.
Contents Overview ..................................................................................................................................... 4 Performance tuning overview ...................................................................................................................... 4 Performance tuning ....................................................................................................................... 5 Linux..............................................................
Overview Performance tuning overview Depending on the application of your system, you may need to modify the default configuration of the 10GbE network adapters. This document describes important tuning parameters and settings that can result in improved performance for 10GbE adapters. Each setting, along with its potential effect, is described to help in making an informed judgment concerning its relevance to your system, the system workload, and the performance goals.
Performance tuning Linux Use the Linux sysctl command to modify default system network parameters that are set by the operating system to improve IPv4 and IPv6 traffic performance. The sysctl settings below for IPv4 are also used for IPv6. • • • • • • • Disable the TCP timestamps option for better cpu utilization: sysctl -w net.ipv4.tcp_timestamps=0 Disable the TCP selective acks option for better cpu utilization: sysctl -w net.ipv4.
• 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.
Technical support Before you contact HP Be sure to have the following information available before you call HP: • Technical support registration number (if applicable) • Product serial number • Product model name and number • Product identification number • Applicable error messages • Add-on boards or hardware • Third-party hardware or software • Operating system type and revision level HP contact information For the name of the nearest HP authorized reseller: • See the Contact HP worldwi
• For downloadable support software for HP Digital Networking Products, Hubs, Integrated Access Devices, Modems and ISDN, Adapters, Remote Access Concentrators/Servers, Software, and Switches, go to the HP software and drivers website (http://h18007.www1.hp.com/support/files/server). • All SoftPaqs sorted by SoftPaq number can be found at the HP ftp support website (ftp://ftp.compaq.com/pub/softpaq/). An ASCII version of a SoftPaq can be found by selecting a SoftPaq at the HP ftp support website.