Devices are reporting high latency virtual machines may become unresponsive during I/O operations.
In TKGS Environment due to latency Supervisor pods (etcd, kube-apiserver) restart.
Virtual machines may appear to "freeze" or experience brief pauses. In severe cases, virtual disks may disconnect or guest OS filesystems may be marked as read-only.
Increased I/O latency as reflected in log messages has been observed.
Storage latency alerts have been triggered at the vCenter level.
High I/O wait is observed for VMs from the application level.
VM clone tasks are getting queued.
vSphere ESXi 7.x
vSphere ESXi 8.x
vSphere ESX 9.x
The numbers reported in the events are in microseconds and refer to the DAVG measurements in the esxtop storage screen.
Refer: Using esxtop to identify storage performance issues for ESXi
With traditional non-flash based technologies, the generally accepted threshold is about 10 milliseconds (10,000 microseconds).
With flash-based storage, it is rare to see DAVG latency above 1-2 milliseconds, so these events should be investigated if the latency is higher.
Latency is a measure of the round-trip time between the issuance of a SCSI command from the hypervisor, through the transport to the surface of the media, and the return. Therefore, the source of the delay could be anywhere in the fabric, the storage infrastructure, or anywhere along the storage path.
From Esxi, var/run/log/vmkernel.log there is an event for "performance has deteriorated"
[YYYY-MM-DDTHH:MM:SS] cpu51:2098041)WARNING: ScsiDeviceIO: 513: Device naa.########## performance has deteriorated. I/O latency increased from average value of 38762 microseconds to 776315 microseconds.[YYYY-MM-DDTHH:MM:SS] cpu47:2098037)WARNING: ScsiDeviceIO: 1443: Device naa.######### performance has deteriorated. I/O latency increased from average value of 12017 microseconds to 254228 microseconds.[YYYY-MM-DDTHH:MM:SS] cpu47:2098038)WARNING: ScsiDeviceIO: 1216: Device naa.######### performance has deteriorated. I/O latency increased from average value of 18057 microseconds to 534229 microseconds.
If the device latency is high for a consistent period of time, check the storage performance. If failures are logged on the storage array side, contact the storage vendor for further assistance.
Check if these messages are generated during any scheduled tasks such as backups or replications, as these can cause intermittent performance problems.
Overload conditions on the device:
Use the following framework to characterize the observed latency:
For example, a limited magnitude (e.g., 20–30 ms) occurring for only a few seconds on a small subset of datastores represents a vastly different situation than magnitudes of multiple seconds lasting for several minutes.
Note: ESXi does not cause latency spikes; it merely reports them. While the root cause cannot be determined from the ESXi perspective alone, the data outlined above can help guide an investigation into the external storage infrastructure.