⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 s2io.txt

📁 linux 内核源代码
💻 TXT
字号:
Release notes for Neterion's (Formerly S2io) Xframe I/II PCI-X 10GbE driver.Contents=======- 1.  Introduction- 2.  Identifying the adapter/interface- 3.  Features supported- 4.  Command line parameters- 5.  Performance suggestions- 6.  Available Downloads 1.	Introduction:This Linux driver supports Neterion's Xframe I PCI-X 1.0 andXframe II PCI-X 2.0 adapters. It supports several features such as jumbo frames, MSI/MSI-X, checksum offloads, TSO, UFO and so on.See below for complete list of features.All features are supported for both IPv4 and IPv6.2.	Identifying the adapter/interface:a. Insert the adapter(s) in your system.b. Build and load driver # insmod s2io.koc. View log messages# dmesg | tail -40You will see messages similar to:eth3: Neterion Xframe I 10GbE adapter (rev 3), Version 2.0.9.1, Intr type INTAeth4: Neterion Xframe II 10GbE adapter (rev 2), Version 2.0.9.1, Intr type INTAeth4: Device is on 64 bit 133MHz PCIX(M1) busThe above messages identify the adapter type(Xframe I/II), adapter revision,driver version, interface name(eth3, eth4), Interrupt type(INTA, MSI, MSI-X).In case of Xframe II, the PCI/PCI-X bus width and frequency are displayedas well.To associate an interface with a physical adapter use "ethtool -p <ethX>".The corresponding adapter's LED will blink multiple times.3.	Features supported:a. Jumbo frames. Xframe I/II supports MTU upto 9600 bytes,modifiable using ifconfig command.b. Offloads. Supports checksum offload(TCP/UDP/IP) on transmitand receive, TSO.c. Multi-buffer receive mode. Scattering of packet across multiplebuffers. Currently driver supports 2-buffer mode which yieldssignificant performance improvement on certain platforms(SGI Altix,IBM xSeries).d. MSI/MSI-X. Can be enabled on platforms which support this feature(IA64, Xeon) resulting in noticeable performance improvement(upto 7%on certain platforms).e. NAPI. Compile-time option(CONFIG_S2IO_NAPI) for better Rx interrupt moderation.f. Statistics. Comprehensive MAC-level and software statistics displayedusing "ethtool -S" option.g. Multi-FIFO/Ring. Supports up to 8 transmit queues and receive rings, with multiple steering options.4.  Command line parametersa. tx_fifo_numNumber of transmit queuesValid range: 1-8Default: 1b. rx_ring_numNumber of receive ringsValid range: 1-8Default: 1c. tx_fifo_lenSize of each transmit queueValid range: Total length of all queues should not exceed 8192Default: 4096d. rx_ring_sz Size of each receive ring(in 4K blocks)Valid range: Limited by memory on systemDefault: 30 e. intr_typeSpecifies interrupt type. Possible values 1(INTA), 2(MSI), 3(MSI-X)Valid range: 1-3Default: 1 5.  Performance suggestionsGeneral:a. Set MTU to maximum(9000 for switch setup, 9600 in back-to-back configuration)b. Set TCP windows size to optimal value. For instance, for MTU=1500 a value of 210K has been observed to result in good performance.# sysctl -w net.ipv4.tcp_rmem="210000 210000 210000"# sysctl -w net.ipv4.tcp_wmem="210000 210000 210000"For MTU=9000, TCP window size of 10 MB is recommended.# sysctl -w net.ipv4.tcp_rmem="10000000 10000000 10000000"# sysctl -w net.ipv4.tcp_wmem="10000000 10000000 10000000"Transmit performance:a. By default, the driver respects BIOS settings for PCI bus parameters. However, you may want to experiment with PCI bus parameters max-split-transactions(MOST) and MMRBC (use setpci command). A MOST value of 2 has been found optimal for Opterons and 3 for Itanium.  It could be different for your hardware.  Set MMRBC to 4K**.For example you can set For opteron#setpci -d 17d5:* 62=1d For Itanium#setpci -d 17d5:* 62=3d For detailed description of the PCI registers, please see Xframe User Guide.b. Ensure Transmit Checksum offload is enabled. Use ethtool to set/verify this parameter.c. Turn on TSO(using "ethtool -K")# ethtool -K <ethX> tso onReceive performance:a. By default, the driver respects BIOS settings for PCI bus parameters. However, you may want to set PCI latency timer to 248.#setpci -d 17d5:* LATENCY_TIMER=f8For detailed description of the PCI registers, please see Xframe User Guide.b. Use 2-buffer mode. This results in large performance boost oncertain platforms(eg. SGI Altix, IBM xSeries).c. Ensure Receive Checksum offload is enabled. Use "ethtool -K ethX" command to set/verify this option.d. Enable NAPI feature(in kernel configuration Device Drivers ---> Network device support --->  Ethernet (10000 Mbit) ---> S2IO 10Gbe Xframe NIC) to bring down CPU utilization.** For AMD opteron platforms with 8131 chipset, MMRBC=1 and MOST=1 are recommended as safe parameters.For more information, please review the AMD8131 errata athttp://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/26310.pdf6.  Available DownloadsNeterion "s2io" driver in Red Hat and Suse 2.6-based distributions is kept up to date, also the latest "s2io" code (including support for 2.4 kernels) is available via "Support" link on the Neterion site:  http://www.neterion.com.For Xframe User Guide (Programming manual), visit ftp site ns1.s2io.com,user: linuxdocs password: HALdocs7. Support For further support please contact either your 10GbE Xframe NIC vendor (IBM, HP, SGI etc.) or click on the "Support" link on the Neterion site:  http://www.neterion.com.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -