intel / intel/linux-npu-driver
The output of many metrics are 0 when running metric tests
- Dominant language
- C++
- Stars
- 458
- Forks
- 54
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 3
Description
Hi, jwludzik,
I’m using the NPU on Lunar Lake with driver version 1.13.0 and Ubuntu 24.04. While running the metrics test in umd-tests and attempting workload profiling, I noticed that out of the eight metric groups, I only get output from the first metric in the NOC group. However, the outputs for ShaveIL1Cache, ShaveDL1Cache, and ShaveL2Cache are all zero, and I do not see any output for other metric groups such as ResMgr.
I tested this using the add_abc and memory copy examples in experiments.
My questions are:
How can I retrieve performance metrics for the NPU, similar to PMU counters for the CPU?
Could this issue be due to the workload being too simple?
Is it possible that the workloads do not invoke the Shave module at all?
Or is the support for these metrics not yet fully implemented?
Would appreciate any insights—thanks!
Contributor guide
Assessment
This issue has not been assessed yet.