AnsweredAssumed Answered

About MMDC Profiling Tool for i.MX6

Question asked by yuuki on Feb 2, 2017
Latest reply on Mar 1, 2017 by Yuri Muhin

Dear all,

 

We want to check a operating rate of CPU and GPU.
We used mmdc2 command.

We have some questions about MMDC Profiling.

 

<Q1>
About the result of the following command.
What does Utilization mean?
Is it the average of the operation rate of CPU#0 and CPU#2?

================================================
root@imx6qdlsolo:/unit_tests# ./mmdc2
i.MX6DL detected.
MMDC SUM

MMDC new Profiling results:
***********************
Measure time: 500ms
Total cycles count: 198076320
Busy cycles count: 30948398
Read accesses count: 739442
Write accesses count: 955
Read bytes count: 47310392
Write bytes count: 30560
Avg. Read burst size: 63
Avg. Write burst size: 32
Read: 90.24 MB/s / Write: 0.06 MB/s Total: 90.30 MB/s
Utilization: 9%
Overall Bus Load: 15%
Bytes Access: 63
================================================


Furthermore, we tried the following command.

 

<Q2>
About the result of the following command.
Does this show a profiling result of CPU#0?

================================================
root@imx6qdlsolo:/unit_tests# ./mmdc2 ARM
i.MX6DL detected.
MMDC ARM

MMDC new Profiling results:
***********************
Measure time: 500ms
Total cycles count: 198083214
Busy cycles count: 30898478
Read accesses count: 3738
Write accesses count: 552
Read bytes count: 228288
Write bytes count: 17664
Avg. Read burst size: 61
Avg. Write burst size: 32
Read: 0.44 MB/s / Write: 0.03 MB/s Total: 0.47 MB/s
Utilization: 0%
Overall Bus Load: 15%
Bytes Access: 57
================================================

<Q3>
If <Q2> is Yes,
Can we check Profiling of CPU#0 and CPU#1 separately?


<Q4>
According to the source code of the mmdc command, it seems to refer to AXI_ID
We referred to a reference manual.

 

IMX6SDLRM Rev. 2, 04/2015:
- "Table 45-10. i.MX 6Solo/6DualLite AXI ID" (P.3930)

 

However, AXI_ID for GPU3D1, GPU3D2 and VPU is not explained.
Would you tell me these AXI_ID?

 

May I have advice?

 

Best Regards,
Yuuki

Outcomes