Bandwidth Diagnosis

Function

Diagnose the local bandwidth and output the diagnosis result.

Table 1 Diagnostic items

Item

Time Required

Whether NPU Training or Inference Is Affected

Application Scenario

bandwidth

1min~15min

Yes

Training or inference service rollout

Preparations

Before conducting the test, you are advised to install fuser in the environment so that Ascend DMI can monitor the NPU process.

Parameters

Table 2 lists only a test-specific parameter. For details about other common parameters, see Common Parameters.

Table 2 Parameter description

Parameter

Description

Mandatory

[-i, --items]

Specifies the diagnosis check item.
  • bandwidth: local bandwidth, including the Host to Device, Device to Host, Device to Device and Peer to Peer directions.

Yes

Example

ascend-dmi --dg -i bandwidth

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
[***@***]# ascend-dmi --dg -i bandwidth
This test will affect the business on this server. To ensure the correctness and accuracy of the test, perform the operation separately.Do you want to continue?(Y/N)y
Summary:
    Arch: aarch64
    Mode: ******
    Time: 20250529-19:29:06
 
Hardware:
    bandwidth:
        PASS

Fault Check Items

Table 3 Fault check items

Command Output

Description

PASS

The bandwidth test result is normal.

SKIP

The current product or scenario does not support this function.

FAIL

  • Failed to execute the bandwidth test.
  • The bandwidth test result is less than the reference value.
  • Solution: Contact Huawei technical support or locate the fault by referring to the section FAQs.