One-Click Stream Test

Function

Test Principle

Application Scenario

Preparations

Parameters

You can run either of the following commands to list the parameters of the stream test command:

ascend-dmi --prbs-check -h

ascend-dmi --prbs-check --help

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

For the Ascend 950PR and 950DT products, if stream is sent for multiple consecutive times, the command execution interval must be greater than 15 seconds.

Table 1 Parameters

Parameter

Description

Restrictions

Mandatory

[-pc, --pc, --prbs-check]

Performs a PRBS stream test.

-

Yes

[-dur, --dur, --duration]

Specifies the duration of a stream test.

  • The value ranges from 3 to 10, in seconds.
  • If the parameter value is not specified, 3 is used by default.

-

No

[-ds, --ds, --device-src]

Specifies the ID of the source device for a stream test. This parameter must be used together with [-dd, --dd, --device-dst]. The values following the parameters must be different. If neither of the two parameters is specified, all Ascend NPUs are tested.

This parameter is supported only by the Ascend 950PR and 950DT products.

No

[-dd, --dd, --device-dst]

Specifies the ID of the destination device for a stream test. This parameter must be used together with [-ds, --ds, --device-src]. The values following the parameters must be different. If neither of the two parameters is specified, all Ascend NPUs are tested.

This parameter is supported only by the Ascend 950PR and 950DT products.

No

[-lt, --lt, --link-type]

Specifies the link type corresponding to a port. For one-click stream testing, the value can only be mesh, indicating UB direct-connect links.

This parameter is supported only by the Ascend 950PR and 950DT products.

No

Example

Follow-up Procedure