Other Parts Discussed in Thread: AM62P,
Tool/software:
Hi
Other silicon vendors have DDR throughput
See:https://wiki.st.com/stm32mpu/wiki/How_to_measure_the_DDR_throughput.
Does TI have something similar to this.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi
Other silicon vendors have DDR throughput
See:https://wiki.st.com/stm32mpu/wiki/How_to_measure_the_DDR_throughput.
Does TI have something similar to this.
Hi
This is enabled through our K3conf tools
For AM62x, AM62P,
Please see the following link https://git.ti.com/cgit/k3conf/k3conf/tree/README.md & https://texasinstruments.github.io/processor-sdk-doc/processor-sdk-linux-AM62X/esd/docs/11_00_09_04/linux/How_to_Guides/Target/How_to_Use_K3Conf_Tool.html
root@am62xx-evm:~# k3conf ddrbw
We also incorporate this in some of out demos example
QT OOB which uses perf_stats.cpp underneath - https://texasinstruments.github.io/processor-sdk-doc/processor-sdk-linux-AM62X/esd/docs/11_00_09_04/_images/ti-apps-launcher-home-am62x.png
Right now the same tooling is not enabled AM62L (it is in our roadmap)
We will try to provide you a stop gap solution for that in coming weeks.
The tool k3conf (https://git.ti.com/cgit/k3conf/k3conf/) has command "ddrbw" to measure the DDR utilization.
Please clone the k3conf repo (https://git.ti.com/git/k3conf/k3conf.git, the current HEAD is 30a1d5b2d08c "soc: Add support for J742s2"), then apply the 2 patches attached below. The first patch enables the ddrbw command for AM62Lx, and the second patch fixes a bug in the ddrbw command.
0001-common-ddr-perf-enable-for-am62l-device.patch
0002-common-ddr-perf-Fix-backwards-read-and-write-counter.patch
Then follow the project README.md to compile k3conf:
$ sudo apt install build-essential cmake
$ sudo apt install gcc-aarch64-linux-gnu
$ export CC=aarch64-linux-gnu-gcc
$ mkdir build
$ cd build
$ cmake .. -Dstatic_exe=ON
$ make
Now copy the k3conf binary to the AM62Lx root filesystem. (for your convenience, I attached the binary below.)
To run the tool in AM62Lx Linux, do
# k3conf ddrbw [<sample_duration>] [<count>]
sample_duration: delay between samples in seconds (default: 1 second)
count: number of samples to capture before stopping (default: -1 infinite)