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