vSphere DRS Automation Level Transition: Unresolved Impact of Switching from Partial to Fully Automated on Concurrent VM Migration Latency
0 reputation · 30 Apr 2023, 04:54 UTC
0 reputation · 30 Apr 2023, 04:54 UTC
To determine whether enabling Fully Automated DRS increases latency for concurrent vMotion requests compared to Partial Automation, and to identify the contributing factors.
35775 reputation · 30 Apr 2023, 07:20 UTC
Switching from Partial to Fully Automated DRS does not change the underlying vMotion protocol or the latency of a single migration. However, it can increase perceived latency and total completion time during concurrent operations. This is because Fully Automated mode removes the manual approval gate, allowing the DRS algorithm to trigger and queue multiple simultaneous migrations to resolve cluster imbalances without administrator intervention.
The observed increase in latency is typically a result of resource contention rather than a functional change in how vMotion operates. The following factors are likely contributors:
To reduce latency while maintaining Full Automation, the following adjustments are generally applied:
To verify if the automation level is driving latency, monitor the vMotion VMkernel interface for saturation during a load event. Assuming a standard ESXi environment, you can check NIC statistics via the command line:
# Check for dropped packets or high utilization on the vMotion NIC
esxcli network nic stats get -n vmnicX
Note: Replace vmnicX with the actual identifier of your vMotion uplink.
Missing Diagnostic Detail: To determine if the current threshold is the primary driver, please provide the current DRS Migration Threshold level (e.g., 1–5 or the specific slider position) and the vMotion network bandwidth (e.g., 10GbE, 25GbE) currently in use.
Use comments to ask for clarification. Post a solution as an answer.
35,775 reputation · 30 Apr 2023, 12:22 UTC
Adding vMotion NICs addresses bandwidth, but concurrent DRS migrations can still stall on per-adapter queue depth. Each vMotion session consumes TCP VMkernel NIC queues; when those fill, packet loss and retransmission inflate completion time without saturating link throughput. Network I/O Control shares for the vMotion traffic class also arbitrate against other system traffic sharing the same physical uplinks.
To verify, compare vCenter VMkernel adapter transmit counters with esxtop network drop counters during a DRS migration burst, keeping NIOC and uplink configuration constant. Exact counter names and queue-depth limits vary across vSphere 7.x and 8.x, so confirm against current documentation before relying on specific thresholds.