Cross-Server Stream Test

Function

Cross-server stream test refers to the stream test of UB direct-connect links between NPUs on two servers. This function is supported only by the Atlas 650E server.

Test Principle

For two NPUs directly connected through UB, a test stream is transmitted from NPU A (TX) of Server 1 and then received and verified by NPU B (RX) of Server 2. This is used to inspect the signal quality of the direct link between the two NPUs.

Figure 1 Stream test in direct-connection mode

Application Scenario

Query the metrics of signal quality of UB direct-connect links.

Preparations

Ensure that the entered IP address is valid.

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 test-specific parameters. For details about other common parameters, see Common Parameters.

If stream is sent for multiple consecutive times, the command execution interval must be greater than 15 seconds.

Table 1 Parameters

Parameter

Description

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.

Yes

[-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.

Yes

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

Specifies the link type corresponding to a port. The value can only be crossMesh, indicating a cross-server UB direct-connect link.

Yes

Example

In the following example, xx.xx.xx.xx and yy.yy.yy.yy indicate the IP addresses of the two servers.

Follow-up Operations