In this section:
The following sections contain VMware performance tuning recommendations to improve system performance. These performance recommendations are general guidelines and are not all-inclusive.
BIOS Setting Recommendations
Ribbon recommends the following BIOS settings for optimum performance. The following table is intended as a reference. Exact values may vary based on vendor and HW.
General Recommendations
- Ensure the number of vCPUs in an instance is always an even number (4, 6, 8, and so on), as hyper threaded vCPUs are used.
- For best performance, make sure a single instance is confined to a single NUMA. Performance degradation occurs if an instance spans across multiple NUMAs.
- Ensure the physical NICs associated with an instance are connected to the same NUMA/socket where the instance is hosted. Doing so reduces the remote node memory access, which in turn helps improve the performance.
Log in to the ESX host
Check the NIC in use by using the
esxcli network nic list
command.Find out the NUMA affinity of the NIC using the command
vsish -e get /net/pNics/<vmnicx>/properties | grep "NUMA".
ESXi Host Configuration Parameters
Use the VMware vSphere client to configure the following ESXi host configuration parameters on the Advanced Settings page (see figure below) before installing the SBC SWe.
Path: Host > Manage > Advanced Settings
VM Settings
CPU Settings
To edit CPU, go to Edit instance settings > Virtual Hardware > CPU.
Recommended CPU Settings
Memory Settings
To edit Memory, go to Edit instance settings > Virtual Hardware > Memory.
Recommended Memory Settings
Latency Sensitivity Settings
To edit Latency sensitivity, go to Edit instance settings > VM Options > Advanced > Latency sensitivity.
Configure the VM Latency Sensitivity to High, if the ESX allows it.
- ESX 6.5 allows configuring latency sensitivity to High even with hyper-threaded CPU reservation.
- ESX 6.7 and above does not allow configuring latency sensitivity to High without full CPU core reservation.
NUMA Settings
To edit NUMA settings, go to Edit instance settings > VM Options > Advanced > Configuration Parameters > Edit Configuration.
Configure numa.nodeAffinity based on the NUMA node to which Pkt NICs are attached (as mentioned in General Recommendations). Ensure the VM memory fits in a single NUMA node, so that remote memory access does not happen.
Configure numa.autosize.once = FALSE.