Virtual machines experience performance degradation and latency spikes on NFS datastores
search cancel

Virtual machines experience performance degradation and latency spikes on NFS datastores

book

Article ID: 439255

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Production virtual machines may experience severe performance degradation, intermittent "gray-outs," or unresponsiveness. This is typically characterized by extreme latency spikes on one or more NFS datastores.

  • vmkernel.log shows significant latency increases, for example: NFS: 5937: vscsi0:0: ... latency has increased from 3943us to 1218966us (1.2 seconds).
  • vmkwarning.log may report RDMA device errors such as: WARNING: rdmaDriver: RDMACM_BindLegacy:4306: The provided interface ([IP_ADDRESS]) does not have a registered rdma device.
  • Intermittent performance deterioration messages indicating I/O latency has exceeded the default threshold (10ms).
  • Hardware Acceleration status for the affected NFS mounts is listed as "Not Supported."

Environment

  • NFS Storage Infrastructure (e.g., NetApp, Dell Unity)
  • Versions (7.x, 8.x)
  • Protocol (NFSv3/NFSv4.1)
  • OpenShift

Cause

The primary cause is storage array controller saturation or protocol-level contention, which is often exacerbated by the lack of VAAI-NAS (vSphere Storage APIs for Array Integration) hardware acceleration.

When hardware acceleration is "Not Supported," complex storage primitives (such as UNMAP or Cloning) must be handled via software I/O by the ESXi host. This increases the load on both the host and the storage controllers. Intermittent latency spikes (e.g., jumping from 3ms to 1200ms) are characteristic of controller buffer exhaustion or backend storage "hiccups."

Physical network health (NIC CRC/Frame errors) was verified as stable, isolating the bottleneck to protocol-level contention on the storage array

The lack of VAAI-NAS hardware acceleration forces ESXi to handle complex storage primitives (UNMAP/Cloning) via software I/O, leading to controller saturation during peak bursts

Resolution

Follow these steps to resolve the latency issues and optimize NFS performance:

  1. Engage Storage Vendor for Controller Analysis: Open a high-priority case with your storage hardware vendor. Request an analysis of controller CPU utilization, cache saturation, and disk shelf latency during the specific timestamps when spikes were observed in ESXi.

  2. Enable VAAI-NAS Acceleration: Install the vendor-specific VAAI-NAS plugin (e.g., NetApp NFS Plug-in for VMware, Dell Unity VAAI) on all ESXi hosts in the cluster. This allows the host to offload storage operations directly to the array, significantly reducing protocol overhead and network traffic.

  3. Disable Unused RDMA Services: If your architecture does not explicitly use RDMA, disable the RDMA and RDT services to prevent listener failure errors from consuming system resources and flooding logs.

    ⚠️ IMPORTANT: Verify your network architecture alignment before executing these commands.

    Run the following command on the affected ESXi host:

    esxcli system settings kernel set -s rdmaDriver -v FALSE

Implementing VAAI-NAS reduces the I/O burden on the storage protocol layer by delegating tasks to the hardware. Disabling unused drivers reduces kernel overhead and log noise, while array-side analysis identifies the physical root cause of service-time failures during peak bursts.

Additional Information

Impact of NFS Latency on vCenter and VM Manageability