Silicon Power Computer & comm 74669003 manual SGI ProPack Performance Tuning

Page 35

SGI® 10-Gigabit Ethernet Network Adapter User’s Guide

SGI ProPack Performance Tuning

This section discusses the following:

"Socket Read and Write Buffer Sizes for SGI ProPack" on page 19

"Jumbo Frames and SGI ProPack" on page 19

"Read/Write Size and SGI ProPack" on page 19

"TCP/IP Socket Buffer Size and SGI ProPack" on page 19

Socket Read and Write Buffer Sizes for SGI ProPack

The largest-allowed socket read and write buffer sizes are controlled by the following files:

Read: /proc/sys/net/core/rmem_max

Write: /proc/sys/net/core/wmem_max

Jumbo Frames and SGI ProPack

Using a large maximum transmission unit (MTU) is necessary for the best 10–Gbit Ethernet performance. Generally, the bigger the MTU, the better. The driver supports MTUs as large as 9600 bytes.

Read/Write Size and SGI ProPack

Applications should read large buffers from and write large buffers to the network for the best throughput and to reduce CPU utilization.

For example, an application that uses recv(2) calls with 32–KB buffers will generally have better throughput than if the application were to use twice as many recv calls with 16-KB buffers.

TCP/IP Socket Buffer Size and SGI ProPack

In SGI ProPack, /proc/sys/net/core/rmem_max and /proc/sys/net/core/wmem_max are both set to at least 524288 bytes, which is usually large enough to provide good performance. Reducing rmem_max and

007–4669–003

19

Image 35
Contents SGI 10-Gigabit Ethernet Network Adapter User’s Guide Contributors TUV Page New Features Page Version Description Record of RevisionPage Contents Glossary Index Important Information About this GuideAudience Related Publications Scope of this GuideConventions Obtaining PublicationsUser input Reader Comments Product SupportSGI Chapter Cabling FeaturesTools Configuration LimitsPage Connecting the Adapter to a Network Connecting the Adapter to a Network 2Release 2 Card Fibre Optic Connections Page Verifying Functionality Using LEDs to Determine FunctionalityOperating the Adapter Link Verifying Adapter RecognitionLinux Adapter Recognition Verification Enabling the Adapter Verifying that the Adapter is Properly Configured and EnabledLinux Adapter Configuration Verification Resetting the AdapterLinux Configuration MTU Size SettingsConfiguration Irix ConfigurationOutput should look similar to the following Page Jumbo Frames and Irix Performance TuningIrix Performance Tuning Socket Buffer Size and Irix Multibuffer Mode and IrixRead/Write Size and Irix Read/Write Size and SGI ProPack SGI ProPack Performance TuningSocket Read and Write Buffer Sizes for SGI ProPack Jumbo Frames and SGI ProPackPerformance Tuning CD-ROM CD GlossaryTCP/IP Index Index Xgcmd diagnostic tool