hardware_resources.md 3.0 KB
Newer Older
1
# Hardware Resources
2

J
JunYuLiu 已提交
3 4
`Ascend` `Model Optimization` `Intermediate` `Expert`

5 6 7 8 9 10 11 12 13
<!-- TOC -->

- [Overview](#overview)
- [Ascend AI Processor Board](#ascend-ai-processor-board)
- [CPU Board](#cpu-board)
- [Memory Board](#memory-board)

<!-- /TOC -->

14
<a href="https://gitee.com/mindspore/docs/blob/master/tutorials/source_en/advanced_use/hardware_resources.md" target="_blank"><img src="../_static/logo_source.png"></a>
15 16 17

## Overview

18 19
Users can view hardware resources such as Ascend AI processor, CPU, memory, etc., so as to allocate appropriate resources for training.
Just [Start MindInsight](https://www.mindspore.cn/tutorial/en/master/advanced_use/mindinsight_commands.html#start-the-service), and click "Hardware Resources" in the navigation bar to view it.
20 21 22 23 24

## Ascend AI Processor Board

The Ascend AI processor board is used to view the current information of each NPU chip.

25
![resources_npu.png](./images/resources_npu.png)
26

27
Figure 1: Hardware resources Ascend AI processor board
28 29 30 31

Figure 1 is a table, each row shows the information of each NPU chip at a certain time. The metrics in each column are as follows:

- **Name**: The name of the chip.
L
Li Hongzhang 已提交
32
- **ID**: The chip ID, from `0` to `7`.
33 34 35 36 37 38 39 40 41 42 43 44 45
- **Available**: Whether the chip is available.
- **Health**: The chip health status.
- **IP Address**: The chip IP address.
- **HBM-Usage(MB)**: The chip used HBM memory.
- **Power(W)**: The chip power.
- **Temp(°C)**: The chip temperature.

> The result of whether the chip is available is for reference only.

## CPU Board

The CPU board is used to view the current system CPU total and the information of each core.

46
![resources_cpu.png](./images/resources_cpu.png)
47

48
Figure 2: Hardware resources CPU board
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70

The two-dimensional table in Figure 2 shows the percentage of CPU utilization for each core; the following two rows show the detailed metrics of *CPU-total* and *CPU-selected*.

- **user**: Time spent by normal processes executing in user mode.
- **system**: Time spent by processes executing in kernel mode
- **idle**: Time spent doing nothing.
- **nice**: Time spent by niced (prioritized) processes executing in user mode.
- **iowait**: Time spent waiting for I/O to complete.
- **irq**: Time spent for servicing hardware interrupts.
- **softirq**: Time spent for servicing software interrupts.
- **steal**: Time spent by other operating systems running in a virtualized environment.
- **guest**: Time spent running a virtual CPU for guest operating systems under the control of the Linux kernel.
- **guest_nice**: Time spent running a niced guest.
- **interrupt**: Time spent for servicing hardware interrupts.
- **dpc**: Time spent servicing deferred procedure calls (DPCs).

> The CPU metrics displayed by different systems may be different.

## Memory Board

The memory board is used to view the current system memory information.

71
![resources_mem.png](./images/resources_mem.png)
72

73
Figure 3: Hardware resources memory board
74 75

Figure 3 shows a pie chart showing used memory and available memory. Other memory types are classified into *others*.