Power Consumption Stress Test

Function

Diagnose the EDP/TDP power consumption and output the diagnosis result.

Table 1 Diagnostic items

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.

Table 2 Parameter description

Parameter

Description

Mandatory

[-i, --items]

Specifies the stress test item.
  • EDP: Estimated Design Power
  • TDP: Thermal Design Power

Yes

[-st, --st, --stress-time]

Specifies the time for the EDP and TDP stress tests.

  • The value ranges from 60 to 604800, in seconds.
  • This parameter must be used together with [-s, --stress] in the scenario where EDP and TDP stress test items are included.

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

Table 3 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.