Skip to content

The output of many metrics are 0 when running metric tests #79

@Kepontry

Description

@Kepontry

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions