Eye Diagram Test

Ascend DMI supports the eye diagram test on the network to query the current signal quality.

This function can query the specific data of signal quality. To check the signal quality of the current port, diagnose signal quality. For details, see Eye Diagram Diagnosis.

Function

Query the signal quality of the PCIe, HCCS, RoCE, and UB communication ports on the NPU.

Parameters

You can run either of the following commands to view the available parameters of the signal quality query command:

ascend-dmi --sq -h

ascend-dmi --sq --help

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

Table 1 Parameters

Parameter

Description

Mandatory

[-sq, --sq, --signal-quality]

Queries the PCIe, HCCS, RoCE, and UB communication ports on the NPU and the signal quality of the HCCS communication ports on the CPU.

Yes

[-d, --device]

Specifies the device ID of the NPU or CPU to be queried. If multiple chips are specified, use commas (,) to separate them. If this parameter is not specified, all NPUs or CPUs on the device are queried by default.

  • For the Atlas A2 training product, Atlas 800I A2 inference server, and A200I A2 Box heterogeneous component, if the HCCS type is specified, two devices must be specified. If the Atlas 200T A2 Box16/Atlas 200I A2 Box16 heterogeneous subrack is used to specify the HCCS type, at least two devices must be specified for the first eight or last eight NPUs.
  • For the Atlas 300I Duo inference card, if type is set to pcie, this parameter cannot specify the secondary chip.

No

[-t, --type]

Specifies the type of the communication port. Currently, PCIe, HCCS, RoCE, and UB are supported. Use commas (,) to separate multiple communication port types.

  • For the Atlas 800T A2 training server, Atlas 900 A2 PoD cluster basic unit, Atlas 900 A2 PoDc cluster basic unit, Atlas 200T A2 Box16/Atlas 200I A2 Box16 heterogeneous subrack, Atlas 800I A2 inference server, A200I A2 Box heterogeneous component, and A200T A3 Box8 SuperPoD Server, the PCIe and RoCE signal qualities are queried by default.
  • For the Atlas 800I A3 SuperPoD Server, Atlas 9000 A3 SuperPoD, and Atlas 900 A3 SuperPoD, the RoCE signal quality is queried by default.
  • For servers equipped with Atlas 300I Duo inference cards, the primary chip supports both PCIe and HCCS, and the secondary chip supports only HCCS. By default, the PCIe signal quality is queried.
  • The Atlas 800I A2 inference server (32 GB PCIe) does not support the query of the HCCS signal quality.
  • The Atlas 300I A2 inference card supports only the query of the PCIe signal quality.
  • The Atlas 350 accelerator card supports only PCIe and UB.
  • The Atlas 850E/Atlas 650E server supports only RoCE and UB.
  • The Atlas 950 SuperPoD supports only UB.

The options are as follows:

  • pcie: A PCIe link facilitates communication between the NPU and the CPU. The PCIe signal quality is determined by the value of the quad-eye diagram of the macro port connected to the PCIe link on the NPU.
  • hccs: An HCCS link is set up between multiple NPUs. The HCCS signal quality is determined by the signal-to-noise ratio (SNR) and half-eye height of the macro port connected to the HCCS link on the NPU.
  • roce: A RoCE link is used by NPUs for external cluster communication. The RoCE signal quality is determined by the SNR and half-eye height of the macro port connected to the RoCE link on the NPU.
  • ub: A UB link is used by NPUs to communicate with other devices in a cluster. The UB signal quality is determined by the SNR value of the macro port connecting the UB link on the NPU side

No

[-m, --module]

Queries the CPU and NPU eye diagrams. If this parameter is not specified, the NPU eye diagram is queried by default. This parameter is supported only by the Atlas A3 training product and Atlas A3 inference product.

The options are as follows:

  • cpu: queries the signal quality of the HCCS link connected to the CPU.
  • npu: queries the signal quality of the PCIe, HCCS, RoCE, and UB links connected to the NPU.

No

[-r, --result]

Specifies the output path for the full eye diagram results, for example, /test. The specified path must meet security requirements and cannot contain the wildcard (*).

  • If you specify a path for saving the result, the ascend_check folder is created in the specified path. If you do not specify a path, the result is saved in the default path /var/log/ascend_check.
  • To prevent the permission on the result saving directory from being modified, you can set the permission on ascend_check to 700 for security purposes.

No

Examples

The command output on an inference server is similar to that on a training server. The following uses the screenshots on a training server as an example.