Optimizing-QoS-vSphere_final
To verify that VMDq has been
successfully enabled:
1. Verify that NetQueue is Enabled
in the VMkernel using the VMware
Infrastructure (VI) Client:
a. Choose >
>
b. Verify that the
check box
is selected (see Figure 2)
2. Query which ports have loaded the
driver using esxcfg-nics -l. Then query
the statistics using ethtool. If VMDq is
enabled, statistics for multiple transmit
and receive queues are shown.
# esxcfg-nics –l
This command provides a list of vmnics
that are on the host and provides the
vmnic # to use in the next command to
list NIC statistics to show all the queues
availableonthespecicvmnic.
3. Use the ethtool –S command to show
the vmnic statics.
# ethtool -S vmnicN
Where N is the vmnic # of the vmnic
that you want the statics on.
While all Intel Ethernet 10GbE controllers
have multiple receive queues to scale
acrossmultipleCPUcoresandhelpprovide
near-native 10 Gbps throughput, similar
controllers from other manufacturers may
not have this functionality. Additionally,
not all adapters that support multiple
receive queues have driver and hardware
support to achieve near-10 Gbps
throughput. Therefore, it is critical to test
the maximum throughput of an adapter
when deciding whether it will meet a
specicsetofrequirements.
Name PCI Driver Link Speed Duplex MAC Address MTU Description
vmnic0 0000:04:00.00 ixgbe Up 10000Mbps Full 00:1b:21:5a:6b:28 1500 Intel Corporation Ethernet Server Adapter X520-2
vmnic1 0000:04:00.01 ixgbe Down 0Mbps Half 00:1b:21:5a:6b:29 1500 Intel Corporation Ethernet Server Adapter X520-2
vmnic2 0000:07:00.00 ixgbe Up 10000Mbps Full 00:1b:21:5a:69:f0 1500 Intel Corporation Ethernet Server Adapter X520-2
vmnic3 0000:07:00.01 ixgbe Down 0Mbps Half 00:1b:21:5a:69:f1 1500 Intel Corporation Ethernet Server Adapter X520-2
Output of esxcfg-nics -l, showing two 10GbE controllers, each with one port active and one port ready for future expansion.
Output of ethtool -S vmnicN.
rx_packets: 201457868
tx_packets: 21707296
rx_bytes: 297674697298
tx_bytes: 5885774324
lsc_int: 1
tx_busy: 0
non_eop_descs: 0
rx_errors: 0
tx_errors: 0
rx_dropped: 0
tx_dropped: 0
multicast: 2001990
broadcast: 70459
rx_no_buffer_count: 0
collisions: 0
rx_over_errors: 0
rx_crc_errors: 0
rx_frame_errors: 0
rx_fifo_errors: 0
rx_missed_errors: 0
tx_aborted_errors: 0
tx_carrier_errors: 0
tx_fifo_errors: 0
tx_heartbeat_errors: 0
tx_timeout_count: 0
tx_restart_queue: 0
rx_long_length_errors: 0
rx_short_length_errors: 0
tx_tcp4_seg_ctxt: 883844
tx_tcp6_seg_ctxt: 0
tx_flow_control_xon: 0
rx_flow_control_xon: 0
tx_flow_control_xoff: 0
rx_flow_control_xoff: 0
rx_csum_offload_good:
198662157
rx_csum_offload_errors: 0
tx_csum_offload_ctxt:
18405204
low_latency_interrupt: 0
alloc_rx_page_failed: 0
rx_hdr_split: 0
alloc_rx_buff_failed: 0
rx_no_dma_resources: 0
hw_rsc_count: 0
tx_queue_0_packets: 21707300
tx_queue_0_bytes: 5885775142
tx_queue_1_packets: 0
tx_queue_1_bytes: 0
tx_queue_2_packets: 0
tx_queue_2_bytes: 0
tx_queue_3_packets: 0
tx_queue_3_bytes: 0
tx_queue_4_packets: 0
tx_queue_4_bytes: 0
tx_queue_5_packets: 0
tx_queue_5_bytes: 0
tx_queue_6_packets: 0
tx_queue_6_bytes: 0
tx_queue_7_packets: 0
tx_queue_7_bytes: 0
rx_queue_0_packets: 11312977
rx_queue_0_bytes: 9925726966
rx_queue_1_packets: 36895994
rx_queue_1_bytes:
55736076500
rx_queue_2_packets: 47142685
rx_queue_2_bytes: 71373743266
rx_queue_3_packets: 44314104
rx_queue_3_bytes:
67091299624
rx_queue_4_packets: 45046987
rx_queue_4_bytes:
68200883038
rx_queue_5_packets: 5058088
rx_queue_5_bytes: 7657705704
rx_queue_6_packets: 4118692
rx_queue_6_bytes: 6231167104
rx_queue_7_packets: 8053350
rx_queue_7_bytes: 12192756320
NIC Statistics
5