Power Consumption Stress Test
Function
Diagnose the EDP/TDP power consumption and output the diagnosis result.
Item |
Time Required |
Whether NPU Training or Inference Is Affected |
Application Scenario |
|---|---|---|---|
TDP stress test |
20 minutes by default |
Yes |
Training or inference service rollout |
EDP stress test |
5 minutes by default |
Yes |
Training or inference service rollout |
Parameters
Table 2 lists only test-specific parameters. For details about other common parameters, see Common Parameters.
Parameter |
Description |
Mandatory |
|---|---|---|
[-i, --items] |
Specifies the stress test item.
|
Yes |
[-st, --st, --stress-time] |
Specifies the time for the EDP and TDP stress tests.
|
No |
[--skip-check] |
Reports overtemperature alarms. This parameter is available only when items is set to edp or tdp. |
No |
Example
- Example of setting the EDP stress test duration to 300s:
1 2 3 4 5 6 7 8 9
[***@***]# ascend-dmi -dg -i edp -s -st 300 -q Summary: Arch: aarch64 Mode: ****** Time: 20250529-20:05:02 Hardware: edp: PASS
- Example of setting the TDP stress test duration to 1200s:
1 2 3 4 5 6 7 8 9
[***@***]# ascend-dmi -dg -i tdp -s -st 1200 -q Summary: Arch: aarch64 Mode: ****** Time: 20250529-20:23:32 Hardware: tdp: PASS
Fault Check Items
Command Output |
Description |
|---|---|
PASS |
The power consumption stress test result is normal. |
SKIP |
The product or scenario does not support the power consumption stress test. |
IMPORTANT_WARN |
A processor alarm is generated during the stress test. Handle the alarm based on the description. If the problem persists, contact Huawei technical support. |
FAIL |
The power consumption stress test fails. Contact Huawei technical support. |