Instructions

Switching Cards

MindStudio Insight allows you to switch Rank ID to view the memory information of different cards. Click the Rank ID text box in the upper part of the page and select the card number to be viewed from the drop-down list. After the switching, the operator memory curve and memory allocation/release details table of the corresponding card are displayed, as shown in Figure 1.

Figure 1 Switching Rank ID

Switching the Display Dimension

MindStudio Insight allows you to switch Group By to view the operator memory curve in different dimensions. Click the Group By text box in the upper part of the page and select the dimension to be viewed from the drop-down list. This function is supported only in the dynamic curve scenario.

Zooming In and Out on a Memory Line Chart

MindStudio Insight allows you to left-click to drag select and zoom in on the selected part of the curve and right-click to zoom out on the curve. To improve the display performance, most points are hidden in the curve when the data volume is large. You can select a fine area to display all points or right-click the selected part to restore the original display effect.

In the curve, click and drag the mouse to the end point to be zoomed in and release the mouse. The selected area is zoomed in. If some points are still hidden, repeat the zoom-in operation to display the hidden points. Figure 5 shows the selected zoom-in area. Figure 6 shows the zoom-in effect.

Figure 5 Selecting an enlarged area
Figure 6 Local zoom-in display
  • Click in the upper right corner of the curve. If the button is dimmed, the curve is locked and cannot be zoomed in by clicking and dragging the mouse. You can click the button again or right-click the curve to restore the chart. The zoom-in function is enabled by default.
  • Click in the upper right corner of the curve. The curve is restored to the initial state.

Searching for Operators

MindStudio Insight allows you to search for operators. The filter criteria column and control buttons are set in the memory allocation/release details table. You can set search criteria to display the operator details table. The search criteria include the operator name and the range of the memory size occupied by the operator (minimum value and maximum value). By default, the minimum and maximum memory sizes occupied by the operator in the selected card are displayed. You can adjust them according to the actual situation.

You can click Query to query the information, or click Reset to reset the search criteria and query the information again.

In the MindSpore static curve scenario, the memory allocation/release details table of operators in the static curve is displayed. In other scenarios, the memory allocation/release details table of operators in the dynamic curve is displayed.

Highlighting

When Group By is set to Overall and you move the pointer to a data record in the table (the curve is zoomed in to display all operators in the table), if the point (including the allocation time and release time) corresponding to the data record is displayed above the curve, the corresponding point on the curve is highlighted. This helps you quickly locate the operator.

When Group By is set to Component, highlighting is not supported.

Move the pointer to the red box in the table. The operator position is highlighted in the curve, as shown in Figure 10.

Figure 10 Operator highlighting

Comparing the Performance of Cards

MindStudio Insight allows you to compare the memory performance of cards. For details about how to set the comparison data, see Data Comparison.

In card performance comparison mode, the value of Rank ID is fixed and cannot be switched. Group By can be set only to Global or Component. The operator memory curve displays the memory changes of two cards, so that you can view the memory comparison trend between the two cards. The memory allocation/release details table displays the data difference between two cards. You can search for operators by name and memory size. The minimum memory size can be a negative value, and the search criteria are limited to the comparison result, as shown in Figure 11.

When Group By is set to Component, operators cannot be searched in the memory allocation/release details table.

You can click See more in the Details column of the memory allocation/release details table to view the baseline data and comparison data details.

Figure 11 Performance comparison