HCX Network Extension appliances may experience packet loss and high CPU ready times when handling high-density VLANs.
Symptoms include
To verify high CPU ready times using esxtop
esxtop
Check the %RDY column - values consistently above 10% indicate high CPU ready times
Two primary factors tend to contribute to packet loss and high CPU ready times on HCX network extensions
These factors can work independently or compound each other, leading to performance degradation. The solution may require both optimizing CPU thread allocation and reducing network load through strategic workload placement or enabling features like MON.
Before making any configuration changes
If unable to make the above changes or the above steps don't resolve the issues, since the packet loss and high CPU ready times can be caused by limited CPU thread allocation for network processing, increasing the number of CPU threads available through the ctxPerDev setting will allow for better distribution of the network processing load and improved performance.
Modify the network adapter context settings for the Network Extension appliances using the following procedure
This modification optimizes CPU thread utilization for network processing. The setting of ctxPerDev=3 is recommended for high-density environments. Continue monitoring performance during peak usage periods to validate the change.
If issues persist after the ctxPerDev changes, revisit the options of extending separate VLANs, moving VMs to the local side, or enabling MON to further reduce network load.
WARNING: Modifying ctxPerDev values for ethernet adapters not used for extended networks can lead to unnecessary resource consumption and potential performance degradation. Only modify the specific ethernet adapter used for the extended network segment.
Note: The Network Extension appliances should be modified during a maintenance window to allow for downtime.
After implementing these changes
Monitor the following metrics after implementation