How to Increase Ring Buffer Sizes on an NSX Edge VM
search cancel

How to Increase Ring Buffer Sizes on an NSX Edge VM

book

Article ID: 430694

calendar_today

Updated On:

Products

VMware NSX VMware vSphere ESXi

Issue/Introduction

The following alarms or events are triggered in the NSX Manager UI:

  • Alarm Title: Alarm for Edge NIC out of receive buffer OR Alarm for Edge NIC out of transmit buffer

  • Event ID: edge_health.edge_nic_out_of_receive_buffer / edge_health.edge_nic_out_of_transmit_buffer

Environment

  • Product: VMware NSX

  • Component: NSX Edge Node (VM)

  • Process / Feature: Datapath Network Interfaces (RX/TX Ring Buffers)

Cause

Network traffic volumes exceed the default receive (RX) or transmit (TX) ring buffer capacity on the Edge node datapath interface, causing dropped packets and buffer exhaustion alarms.

Resolution

Important: Changing the ring buffer size requires placing the NSX Edge node into Maintenance Mode, which temporarily stops the dataplane process and triggers a failover to the active peer in an HA configuration. Perform these steps during a scheduled maintenance window or one node at a time in an HA cluster.

Step-by-Step Procedure

  1. Place the Target Edge Node into Maintenance Mode Place the specific Edge VM into NSX Maintenance Mode (via NSX Manager UI or CLI) to safely pause the data plane service and shift traffic to the passive node.

  2. Configure the Ring Buffer Sizes Log into the CLI of the target Edge VM as an administrative user and adjust the receive and transmit ring buffer values.

    Note: Buffer sizes must be increased in increments of 1024 (e.g., 2048, 3072, 4096).

    Execute the following commands:

    set dataplane ring-size rx <new_ring_size>
    set dataplane ring-size tx <new_ring_size>
    

    Example:

    set dataplane ring-size rx 4096
    set dataplane ring-size tx 4096
    
  3. Exit Maintenance Mode Bring the Edge node back online by exiting Maintenance Mode via the NSX Manager UI or CLI.

  4. Verify the Configuration Confirm that the updated buffer sizes have been applied successfully:

    get dataplane | find ring
    
    • If the output reflects the new values: The update is complete.

    • If the output does not reflect the new values: Reboot the Edge VM to force the datapath service to re-initialize with the updated parameters.

  5. Repeat for High Availability Peers Repeat Steps 1 through 4 for each remaining Edge node in the cluster.

Additional Information