Skip to content

Commit 87dc909

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 <hnagalla@ti.com>
1 parent 760c6c1 commit 87dc909

5 files changed

Lines changed: 39 additions & 0 deletions

File tree

source/devices/AM64X/linux/RT_Linux_Performance_Guide.rst

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,3 +741,42 @@ 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 <https://git.ti.com/cgit/rpmsg/ti-rpmsg-char/>`__ is used to capture latency values.
756+
757+
Test commands used for running IPC latency tests:
758+
759+
.. code:: console
760+
761+
rpmsg_char_benchmark -r 2 -n 100000 -m 1 & chrt -f -p 80 $!
762+
763+
The latencies observed are summarized below:
764+
765+
766+
.. csv-table::
767+
:header: "Remote Processor","Message Size (in bytes)","Average round trip (usecs)","Max round trip (usecs)"
768+
769+
"R5F0_0","1","32","205"
770+
"R5F0_0","490","162","272"
771+
"M4F","1","41","186"
772+
"M4F","490","301","446"
773+
774+
.. image:: img/R5_0_0_m1_ipc_latency.png
775+
776+
.. image:: img/R5_0_0_m490_ipc_latency.png
777+
778+
.. image:: img/m4_0_m1_ipc_latency.png
779+
780+
.. image:: img/m4_0_m490_ipc_latency.png
781+
782+
|
7.42 KB
Loading
8.22 KB
Loading
7.47 KB
Loading
8.09 KB
Loading

0 commit comments

Comments
 (0)