Skip to content

Commit c83df2d

Browse files
committed
perf(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 0ba3bf5 commit c83df2d

File tree

5 files changed

+40
-0
lines changed

5 files changed

+40
-0
lines changed

source/devices/AM64X/linux/RT_Linux_Performance_Guide.rst

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,3 +741,43 @@ Listed for each algorithm are the code snippets used to run each benchmark test.
741741

742742

743743
|
744+
745+
RP Message Inter-Processor Communication (IPC) Latency
746+
------------------------------------------------------
747+
748+
RP Message latency Performance
749+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
750+
751+
RP Message latency is measured through a round trip echo message sent from linux application
752+
to remote processor and receiving back the message. The round trip delay is measured for
753+
RP message length of 1 byte and 490 bytes for comparison.
754+
755+
Linux userspace application rpmsg_char_benchmark is used to capture latency values:
756+
https://git.ti.com/cgit/rpmsg/ti-rpmsg-char/
757+
758+
Test commands used for running ipc latency tests
759+
760+
.. code:: console
761+
762+
rpmsg_char_benchmark -r 2 -n 100000 -m 1 & chrt -f -p 80 $!
763+
764+
The latencies observed are summarized below:
765+
766+
767+
.. csv-table::
768+
:header: "Remote Processor","Message Size (in bytes)","Average round trip (usecs)","Max round trip (usecs)"
769+
770+
"R5F0_0","1","32","205"
771+
"R5F0_0","490","162","272"
772+
"M4F","1","41","186"
773+
"M4F","490","301","446"
774+
775+
.. image:: img/R5_0_0_m1_ipc_latency.png
776+
777+
.. image:: img/R5_0_0_m490_ipc_latency.png
778+
779+
.. image:: img/m4_0_m1_ipc_latency.png
780+
781+
.. image:: img/m4_0_m490_ipc_latency.png
782+
783+
|
7.42 KB
Loading
8.22 KB
Loading
7.47 KB
Loading
8.09 KB
Loading

0 commit comments

Comments
 (0)