NSX-T Data Center REST API

CpuStats (schema)

CPU core statistics

Provides the following CPU stats for a given core:

- Core ID.
- CPU type.
- Number of packets sent and received per second on the core for the last 100ms.
- Number of packets received per second from the crypto module, the KNI interface,
the slowpath threads and the other cores within the last 100ms.
- Statistics of the mega flow cache which holds flow cache key and the corresponding
flow cache actions for all the entries. The counts are from the time the edge
dataplane is UP and will be reset on edge reboot or edge dataplane restart.
- Statistics of the micro flow cache which holds a hash of the entire flow cache key
and a pointer to the mega flow cache entry. The counts are from the time the edge
dataplane is UP and will be reset on edge reboot or edge dataplane restart.
- Percentage of live CPU utilization of the core sampled within the last 60 seconds.
- Percentage of CPU utilization of the core for actual packet processing for the last
100ms.

Name Description Type Notes
core core id

CPU id
string Readonly
cpu_type cpu type

cpu type, one of datapath_core, controlpath_core and service_core
string Readonly
Enum: datapath_core, controlpath_core, service_core
Default: "controlpath_core"
crypto CPU crypto packet rate

The total number of packets per second (pps) received from the crypto module for the
last 100ms.
string Readonly
intercore CPU intercore packet rate

The total number of packets per second (pps) received from other cores for the
last 100ms.
string Readonly
kni CPU Kernel Network Interface (KNI) packet rate

The total number of packets per second (pps) received from Linux KNI interface for the
last 100ms.
string Readonly
mega_flowcachestats Mega flow cache stats

Provides statistics of the mega flow cache which holds the flow cache key and
the corresponding flow cache actions for all the entries. The flow cache
key is the five tuples of an IP connection - src/dst IP, protocol, and
src/dst ports.
This will be reset on edge reboot or edge dataplane restart.
FlowCacheStatistics Readonly
micro_flowcachestats Micro flow cache stats

Provides statistics of the micro flow cache which holds a hash of the entire
flow cache key and a pointer to the mega flow cache entry, where the flow
cache key and actions are stored.
This will be reset on edge reboot or edge dataplane restart.
FlowCacheStatistics Readonly
packet_processing_usage Datapath CPU packet processing usage

Provides the percentage of CPU utilization of the core on actual packet processing
for the last 100ms. It is percentage of busy cycles vs. total cycles, where busy
cycles are the cycles spent in a poll round where at least one packet was received.
string Readonly
rx CPU Rx packet rate

The total number of packets per second (pps) received from NICs for the last 100ms.
string Readonly
slowpath CPU slowpath packet rate

The total number of packets per second (pps) received from slowpath threads for the last 100ms.
string Readonly
tx CPU Tx packet rate

The total number of packets per second (pps) transmitted from NICs for the last 100ms. This
also includes the packets dropped due to Tx ring full.
string Readonly
usage CPU usage

Provides the percentage of live CPU utilisation of the core sampled within the last
60 seconds.
string Readonly