IvS Latency status check on ESXi
search cancel

IvS Latency status check on ESXi

book

Article ID: 399464

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

Industrial vSwitch (IvS) supports realtime applications that requires low latency packet forwarding. Industrial ethernet, Profinet, is one of the use cases of IvS and it is used in the factory. In the case of application communication trouble over Profinet, you need to check the latency status on IvS if there is high latency happened or not.
This article describe how to get the latency information from ESXi.

Environment

4.2.x

Resolution

IvS is running as vDS on ESXi. As a first step, you need to ssh to ESXi host.

You can use the nsxcli command on ESXi to get the latency status.

The command “nsxcli -c get ens latency system dump” can display the latency counters histogram. You need to find and specify the switch ID. 

[root@localhost:~] nsxcli -c get ens latency system dump 0
Fri Feb 21 2025 UTC 14:13:42.322
Latency histogram after cumulating all lcores result
Latency Uplink Tx Polling ports Scheduling the lcore ENS Slowpath
TotalSamples 2640680911 7862608284 8994941858 86388
minLatency 1 1 0 1
maxLatency 220 354 62 74
mean 9273294567 19309157547 833374881 644015
32us 2640677211 7862605459 8994941857 85288
64us 3441 2774 1 1099
96us 181 6 0 1
128us 16 0 0 0
160us 5 0 0 0
192us 43 25 0 0
256us 14 15 0 0
512us 0 5 0 0
1024us 0 0 0 0
2048us 0 0 0 0
4096us 0 0 0 0
MAX 0 0 0 0
PortID: XXXXXXXX SampleRate: 1 enableE2E: 1
Latency txLatencyHisto rxLatencyHisto vmRxLatencyHisto intrLatencyHisto
TotalSamples 326347969 277450089 277448041 586576634
minLatency 0 1 2 0
maxLatency 66 222 227 25
mean 2 2 7 1
32us 326347952 277450011 277445097 586576634
64us 15 77 2942 0
96us 2 0 0 0
128us 0 0 0 0
160us 0 0 0 0
192us 0 0 1 0
256us 0 1 1 0
512us 0 0 0 0
1024us 0 0 0 0
2048us 0 0 0 0
4096us 0 0 0 0
MAX 0 0 0 0

(Note: please ignore the first output showing stats for TotalSamples)