Fortinet black logo

VMware ESXi Administration Guide

NIC queues (ring buffer size)

Copy Link
Copy Doc ID 1ee71d39-a936-11ec-9fd1-fa163e15d75b:778068
Download PDF

NIC queues (ring buffer size)

Maximize the receive queue/buffer on the NIC to optimize throughput. This is not expressly needed, but maximizing the transmit queue is also performed:

[root@esxi-tiger-14-7:~] esxcli network nic ring current get -n vmnic4
   RX: 1024
   RX Mini: 0
   RX Jumbo: 0
   TX: 1024

[root@esxi-tiger-14-7:~] esxcli network nic ring preset get -n vmnic4
   Max RX: 4096
   Max RX Mini: 0
   Max RX Jumbo: 0
   Max TX: 4096

[root@esxi-tiger-14-7:~] esxcli network nic ring current set -n vmnic4 -r 4096 -t 4096

[root@esxi-tiger-14-7:~] esxcli network nic ring current get -n vmnic4
   RX: 4096
   RX Mini: 0
   RX Jumbo: 0
   TX: 4096

In the case of the documented setup, this is a setting is persisted across reboots. This has not always been the case. It is worth checking and making provisions accordingly.

NIC queues (ring buffer size)

Maximize the receive queue/buffer on the NIC to optimize throughput. This is not expressly needed, but maximizing the transmit queue is also performed:

[root@esxi-tiger-14-7:~] esxcli network nic ring current get -n vmnic4
   RX: 1024
   RX Mini: 0
   RX Jumbo: 0
   TX: 1024

[root@esxi-tiger-14-7:~] esxcli network nic ring preset get -n vmnic4
   Max RX: 4096
   Max RX Mini: 0
   Max RX Jumbo: 0
   Max TX: 4096

[root@esxi-tiger-14-7:~] esxcli network nic ring current set -n vmnic4 -r 4096 -t 4096

[root@esxi-tiger-14-7:~] esxcli network nic ring current get -n vmnic4
   RX: 4096
   RX Mini: 0
   RX Jumbo: 0
   TX: 4096

In the case of the documented setup, this is a setting is persisted across reboots. This has not always been the case. It is worth checking and making provisions accordingly.