Performance counters for accelerators

I see performance counters here for BlueField-2. https://docs.nvidia.com/networking/display/BlueFieldDPUOSLatest/Performance+Monitoring+Counters Is it possible to access performance counters for accelerators (regex, compression, and PKA), like monitoring the utilization of accelerators?

Thanks in advance!

Hi HKylin,

Thank you for posting your inquiry to the NVIDIA Developer Forums!

Unfortunately, there are no exposed performance counters for the hardware offload functions on the Bluefield-2, the counters detailed in the DPU OS documentation you’ve linked are the only ones exposed (aside from traditional adapter performance counters).

The adapter’s traditional performance counters can be read via NEO-Host, but this does not include any of the hardware offload/acceleration counters you are attempting to gather. For more information on NEO-Host installation, please review the following section (‘Installing NEO-Host Using mlnxofedinstall Script’) in the MLNX_OFED user manual:

https://docs.nvidia.com/networking/display/MLNXOFEDv590560/Installing+MLNX_OFED#InstallingMLNX_OFED-neo-hostinstallationInstallingNEO-HostUsingmlnxofedinstallScript

Once installed, these counters can be read with the included python script within the NEO-Host SDK, for example:

# python3 /opt/neohost/sdk/get_device_performance_counters.py --mode=shell --dev-uid=0000:d8:00.0 --get-analysis --run-loop

Thanks,
NVIDIA Enterprise Support

The method takes advantage of collecting hardware performance counters (also known as profiling counters) during empirical tuning. I see performance spacebar counter counters here for BlueField-2. … Is it possible to access performance counters for accelerators (regex, com… This paper investigates the use of CPU performance counters for estimating the quality of hybrid CPU-accelerator systems generated by HLS tools.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.