Skip to content

Commit ed62879

Browse files
h-nagallacshilwant
authored andcommitted
feat(linux): AM64X: Add remote proc performance numbers for 11.1 release
Initial RPMessage IPC latency numbers with RT-linux kernel. Signed-off-by: Hari Nagalla <[email protected]>
1 parent 4a8ac35 commit ed62879

File tree

5 files changed

+39
-0
lines changed

5 files changed

+39
-0
lines changed

source/devices/AM64X/linux/RT_Linux_Performance_Guide.rst

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,3 +757,42 @@ Listed for each algorithm are the code snippets used to run each benchmark test.
757757

758758

759759
|
760+
761+
RP Message Inter-Processor Communication (IPC) Latency
762+
------------------------------------------------------
763+
764+
RP Message latency Performance
765+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
766+
767+
RP Message latency is the delay measured from sending a round trip echo message from
768+
a Linux application to a remote processor and back. The following measurements use
769+
a RP message length of 1 byte and 490 bytes for comparison.
770+
771+
The Linux user space application `rpmsg_char_benchmark <https://git.ti.com/cgit/rpmsg/ti-rpmsg-char/>`__ captures these latency values.
772+
773+
Test commands used for running IPC latency tests:
774+
775+
.. code:: console
776+
777+
rpmsg_char_benchmark -r 2 -n 100000 -m 1 & chrt -f -p 80 $!
778+
779+
Latencies reported:
780+
781+
782+
.. csv-table::
783+
:header: "Remote Processor","Message Size (in bytes)","Average round trip (usecs)","Max round trip (usecs)"
784+
785+
"R5F0_0","1","32","205"
786+
"R5F0_0","490","162","272"
787+
"M4F","1","41","186"
788+
"M4F","490","301","446"
789+
790+
.. image:: img/R5_0_0_m1_ipc_latency.png
791+
792+
.. image:: img/R5_0_0_m490_ipc_latency.png
793+
794+
.. image:: img/m4_0_m1_ipc_latency.png
795+
796+
.. image:: img/m4_0_m490_ipc_latency.png
797+
798+
|
7.42 KB
Loading
8.22 KB
Loading
7.47 KB
Loading
8.09 KB
Loading

0 commit comments

Comments
 (0)