Optimizing-QoS-vSphere_final
Using dual-port 10GbE server adapters
helpsmakeoptimaluseofPCIe
motherboard slots, allowing for future
expansion. Therefore, when available
PCIeconnectivityonthemotherboard
permits it, dual-port server adapters are
preferable to single-port ones.
To provide near-native 10 Gbps
throughput, it is necessary to ensure that
thereisenoughPCIebandwidthavailable
totheadapterorLAN-on-Motherboard
connection.WithregardtoPCIe
requirements, one must consider both
speed(forexample,PCIeGen1orPCIe
Gen 2) and channel width (for example,
x4orx8).TheminimumPCIerequirements
for one-port and two-port server
adapters are as follows:
•
requirePCIeGen1x8orPCIeGen2
x4 connections
•
requirePCIeGen2x8connections
Whiletwo-portPCIeGen1adaptersare
available, it is important to note that the
maximum unidirectional bandwidth of
about 12 Gbps is shared between the
two ports. Most of the Gen 1 adapters
were released prior to Gen 2 being
widely available and were the only
option. Further, the size of a physical
PCIeconnectorisnotnecessarilyan
accurate indication of channel width. For
example, an x8 physical connector on
a motherboard may provide only x4 or
even x1 connectivity. Refer to the server
documentation to verify the proper
adapter placement.
Testing shows a bidirectional limit of
approximately25Gbpswhenusinga
dual-portadapteronaPCIeGen1
connection.PCIeGen2canprovide
enough bandwidth for a dual-port 10GbE
adapter, and when used in conjunction
with NetQueue, near-native throughput
is possible. Testing shows greater than
30Gbpsofbidirectionaltrafcacrossa
two-port10GbEadapterusingaPCIeGen2
connection and larger buffer size,
as shown in Figure 1.
6
The maximum
bandwidth that ESX* can use will continue
to increase as newer and more powerful
server platforms become available, making
this an important best practice going
forward.AlsonotethatwhilePCIeGen
3 will be available on servers by the end
of 2011, the additional bandwidth is not
needed on dual-port 10GbE controllers for
full bidirectional
line rate.
QoS Best Practice 2: Use VMware
VMware supports NetQueue, a
performancetechnologythatsignicantly
improves performance in 10GbE
virtualized environments by aligning and
spreadingthenetworkI/Oprocessing
across multiple processor cores. Even
with today’s high performance servers
and hypervisor improvements, it can
bedifculttoachievenear-native
performance without spreading the load
across multiple cores. While NetQueue is
enabled by default in ESX versions 4.0
and 4.1, when using Ethernet controllers
that support NetQueue, the following
procedure can be used to verify that it is
enabled.
7
NetQueue* is enabled in the VMkernel using the Advanced Settings dialogue box.
4