L2Cache (L2 Cache Hit Ratio)

The L2 cache hit ratio data is saved in the L2Cache.csv file, which affects the memory transfer engine (MTE2). You are advised to properly plan the data transfer logic to increase the hit ratio. For details, see the field description in the following table.

Figure 1 L2Cache.csv file
See the following table for more details.
Table 1 Field description

Field

Description

block_id

Number of running task blocks, which corresponds to the number of cores configured during task running.

sub_block_id

Name and sequence number of each block used for task running.

aic_time(us)

Execution time (μs) on each AI Cube Core compute unit after the task is allocated to each AI Cube Core compute unit.

aic_total_cycles

Total number of cycles executed on each AI Cube Core compute unit after the task is allocated to each AI Cube Core compute unit.

aiv_time(us)

Execution time of each AI Vector Core compute unit after the task is allocated to the unit, in μs.

aiv_total_cycles

Total number of cycles executed on each AI Vector Core compute unit after the task is allocated to the unit.

ai*_write_cache_hit

Write cache hits.

ai*_write_cache_miss_allocate

Cache re-allocations upon write cache missing.

ai*_r*_read_cache_hit

Read cache hits in the r* channel.

ai*_r*_read_cache_miss_allocate

Cache re-allocations upon read cache missing in the r* channel.

ai*_write_hit_rate(%)

Write cache hit ratio.

ai*_read_hit_rate(%)

Read cache hit ratio.

ai*_total_hit_rate(%)

Read/Write cache hit ratio.

Figure 2 L2Cache.csv file
See the following table for more details.
Table 2 Field description

Field

Description

aic_l2_cache_hit_rate

Ratio of the number of times that memory access requests hit L2 to the total number of memory access requests.