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