Diagnosing packet loss in virtual machines using E1000 or E1000e virtual NICs
search cancel

Diagnosing packet loss in virtual machines using E1000 or E1000e virtual NICs

book

Article ID: 431515

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Packet loss may be suspected in virtual machines that use the E1000 or E1000e virtual network interface card.

This issue can be investigated following the steps in the knowledge base article: Large packet loss (dropped packets in Virtual Machines) in the guest OS using VMXNET3 in ESXi

However, when investigating the packet loss using the command vsish -e get /net/portsets/<Switch Name>/ports/<PortNumber>/vmxnet3/rxSummary, the result "not supported" or "mal-formed path" is expected to appear. This is because the vmxnet3 keyword in the command should be replaced with e1000 or e1000e.

Resolution

Review the article Large packet loss (dropped packets in Virtual Machines) in the guest OS using VMXNET3 in ESXi for information on how buffers can impact VM network performance.

When troubleshooting a VM that uses the E1000 network card, use this format of command instead:

vsish -e get /net/portsets/<SwitchName>/ports/<PortNumber>/e1000/rxQueueStats

where <SwitchName> is the switch ID (e.g. DvsPortset-0) and <PortNumber> is the port number (e.g. 123456789).

You should receive output similar to one of these results below. Locate the number of packets dropped due to full ring and compare it to the total number of packets received.

Example 1

Rx Queue Stats {
   Rx Queue Stats:[0]: Rx Queue {
      Queue enabled:1
      Length:256
      Tail:32
      Head:41
      Packets received:100000000
      Packets dropped:2001
      Packets dropped due to full ring:2004

Example 2


Rx Queue Stats {
   Rx Queue Stats:[0]: Rx Queue {
      Queue enabled:1
      Length:256
      Tail:16
      Head:28
      Packets received:400000000
      Packets dropped:109000
      Packets dropped due to full ring:103000
      Packets dropped due to mapping errors:0
      Packets too large to be received:0
      Packets too small to be received:0
      Packets dropped due to copy to guest memory errors:0
      Packets dropped due to packet parsing errors or due to invalid headers:0
      Multicast packets filtered:10000000
      VLAN tagged packets filtered:0
      Queue packets on Rx ring full:0
      Current rx queue length:0
      Max runtime queue length:0
   }
}

Performance parameters for E1000 virtual NICs and VMXNET3 virtual NICs can be adjusted inside of the guest operating system.

The VMXNET3 virtual nic is expected to provide improved performance compared to E1000/E1000e virtual nics, and the use of the E1000/E1000e virtual network card may be a contributing factor for any packet drops or throughput bottlenecks that are occurring.

If packet drops or other network performance issues are identified with a virtual machine's E1000 or E1000e network interface, consider replacing the virtual NIC with a VMXNET3 virtual NIC.