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
yuuki Have you found how to fix the strange result? May be it is a normal, but I am not sure.
Hello
The MMDC Profiling tool uses the Profiling Control Registers. Please refer to
section 45.7 (MMDC Profiling) of i.MX 6Solo/6DualLite Applications Processor
Reference Manual, Rev. 2, 04/2015.
MMDC source code may be found in the tests package.
< http://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.7.tar.gz >
Hope the sources help to clarify parameters, provided by the Profiling tool.
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!