Creating a Memory Access Analysis Task
Function
The tool accesses the PMU events of the cache and memory and analyzes the number of storage access times, hit rate, and bandwidth.
Prerequisites
- No nodes are in the Offline state.
- The OS is openEuler (kernel version: 4.19 or later) or CentOS 7.6 (kernel version: 4.14.0-115.el7a.0.1/4.14.0-115.2.2.el7a/4.14.0-115.5.1.el7a/4.14.0-115.6.1.el7a/4.14.0-115.7.1.el7a/4.14.0-115.8.2.el7a/4.14.0-115.10.1.el7a), and the SPE environment is configured. For details, see Configuring the SPE Environment.
Procedure
- Click
next to System Profiler.Choose General Analysis from the drop-down list. The page for creating a task is displayed.
- Set task parameters by referring to "Task Management" and Table 1.Create a memory access statistics analysis task, see Figure 1.
Table 1 Parameters for creating a memory access analysis task Parameter
Description
Task Name
Name of the task. The name must meet the following requirements:
- Contain only letters, digits, and underscores (_).
- Contain 1 to 64 characters.
Select Nodes
Select the nodes to be analyzed. If there is only one node, this node is selected by default. A maximum of 10 nodes can be selected at a time.
Analysis Object
Select System.
Analysis Type
Select Memory Access.
Access Analysis Type
Select Memory access statistics.
Sampling Duration (s)
Sampling duration, in seconds. The default value is 30. The value range is 1 to 300.
Sampling Interval (ms)
Sampling interval, in milliseconds. The default value is 1000. You can set this parameter in Advanced Configurations. The options are:
- 100
- 1000
NOTE:The Sampling Interval value must be less than or equal to half of the Sampling Duration value.
Sampling Type
Type of the analysis to be performed, which can be Cache Access or DDR Access. By default, both of the options are selected. You need to set this parameter in Advanced Configurations.
- Click OK.
You can click the icons next to the task name to perform the following operations:
: cancels the analysis task. After an analysis task is canceled, the collected information will be deleted.
: restarts the analysis task. You can modify task parameter settings and restart an analysis task. This button is available when a task is canceled or fails.
: deletes the analysis task. After a task is deleted, all data of this task will be deleted. Exercise caution when performing this operation.
: performs the analysis again. The analysis task is renamed and restarted.
: creates a task for comparing analysis results.
: changes the task or report name. The report naming rule is the same as that of a task.
