host_mem_usage (Host-Side Memory Usage)

The timeline information of the host-side memory usage data is displayed at the Memory Usage layer in the msprof_*.json file. The summary information is summarized in the host_mem_usage_*.csv file.

Applicable Products

Product

Supported

Atlas A3 training products/Atlas A3 inference products

√

Atlas A2 training products/Atlas A2 inference products

√

Atlas 200I/500 A2 inference products

√

Atlas inference products

√

Atlas training products

√

Ascend 950PR/Ascend 950DT

√

Data at the Memory Usage Layer in msprof_*.json

The following figure shows data at the Memory Usage level in the msprof_*.json file.

Figure 1 Memory Usage layer
Table 1 Field description

Field

Description

Memory Usage

Memory usage.

host_mem_usage_*.csv File

The file content is formatted as follows.

Figure 2 host_mem_usage_*.csv
Table 2 Field description

Field

Description

Device_id

Device ID. host is displayed for data on the host.

Total Memory(KB)

Total system memory (KB).

Peak Used Memory(KB)

Peak memory usage (KB).

Recommend Memory(KB)

Recommended memory allocation in virtualization scenarios (KB).