@@ -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+ |
0 commit comments