Log Description

Ascend DMI records logs when executing commands. The logs are stored in the following paths:

When the size of the log file exceeds 10 MB, the file is saved as .XX.gz (XX is a natural number starting from 1). The total number of files to be saved cannot exceed 10. When the number of log files exceeds the maximum value, the earliest log files are deleted.

  1. When Ascend DMI fails to obtain a device type, logs are dumped to the preceding default path.
  2. When the device type queried by Ascend DMI is Atlas 500 A2 edge station, if the size of a log file exceeds 1MB, the log file is dumped to .XX.gz (XX is a natural number starting from 1). The total number of dumped files cannot exceed 10. When the number exceeds the maximum, the earliest log files are deleted. The path to save logs is /home/log/ascend-dmi.
  3. Debug logs whose size exceeds 10 MB are dumped only to the /var/log/ascend-dmi directory. Save debug logs in a timely manner in the Atlas 500 A2 edge station to prevent log loss upon restart.

Log Backup

For the Atlas 500 A2 edge station, ToolBox logs in the original storage path are deleted after a driver restart. However, the driver saves the logs in reboot_back_up_XX.tar.gz in the /home/log/kbox_last_logs/ directory. After decompressing the package, you can view the logs before the restart.

Data Flushing

If outputs of the bandwidth, computing power, and NIC diagnosis are in JSON format, data is flushed to drives, and the bandwidth or computing power of a specific device is displayed. Data flushing files are stored in the following paths:

For example, data flushing files are generated when the following commands are executed:

ascend-dmi -dg -i bandwidth -fmt json
ascend-dmi -dg -i aiflops -fmt json
ascend-dmi -dg -fmt json
ascend-dmi -dg -i nic -fmt json
  • For the Atlas 200T A2 Box16/Atlas 200I A2 Box16 heterogeneous subrack in the virtual machine scenario, due to the particularity of data transmission channels, the bandwidth test is not performed between two 8-NPU groups.

Table 1 Parameters in the displayed result

Parameter

Description

Numerical value

Bandwidth or computing power of a specific device.

The bandwidth unit is GB/s, and the computing power unit is TFLOPS.

X/NA

The value cannot be displayed.

FAIL

Execution failed.