I am using i.MX93 EVK and want to monitor the Ethos-U NPU temperature & utilization(load) at runtime how can I get this data ?
The agenda is to monitor the HW-parameters during the inference of AI-models.
I could monitor the below parameters using i.MX8MPlus I want to achieve the similar for i.MX93.
How can I monitor the GPU_LOAD & GPU_TEMP for i.MX93 npu(ethos-u) ?
Neither the i.MX 8M Plus nor the i.MX 93 offers a method to monitor NPU temperature in real time.
- imx8MP, thermal_zone0 represents the cpu-thermal temperature ,thermal_zone1 represents the soc-thermal temperature.
- imx93, thermal_zone0 represents the cpu-thermal temperature.
- NPU, There is no such tool like nputop.
For information on performance tuning, please refer to Section 7.1.2, "Profiling for Hardware Accelerators," in the ML User Guide.
B.R
@pengyong_zhang Thanks for clarifying the thermal zones for the i.MX 8M Plus and i.MX 93. Could you please clarify the following:
i.MX8MPLUS
1. GPU Temperature: Is there a dedicated system path (like /sys/class/thermal/thermal_zoneX/temp) to read individual GPU temperatures, or is it covered solely under the soc-thermal zone (thermal_zone1)?
2. GPU Load: Is reading /sys/kernel/debug/gc/load the standard method for checking GPU load, or is the process detailed in Section 7.1.2 of the ML User Guide required for this as well?
i.MX93:
Since there is no native tool (like nputop) to monitor NPU load and temperature, we would like to ask: Is it valid to derive relative NPU utilization by measuring the reduction in CPU load when offloading inference execution to the NPU vs. running on the CPU alone?
If this method isn't recommended, is there any alternative driver node or performance counter we can use to estimate NPU activity during an inference run?