Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions source/devices/AM64X/linux/RT_Linux_Performance_Guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -618,3 +618,41 @@
time -v openssl speed -elapsed -evp aes-128-cbc

|

RP Message Inter-Processor Communication (IPC) Latency

Check warning on line 622 in source/devices/AM64X/linux/RT_Linux_Performance_Guide.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.Headings] Use sentence-style capitalization in 'RP Message Inter-Processor Communication (IPC) Latency'. Raw Output: {"message": "[RedHat.Headings] Use sentence-style capitalization in 'RP Message Inter-Processor Communication (IPC) Latency'.", "location": {"path": "source/devices/AM64X/linux/RT_Linux_Performance_Guide.rst", "range": {"start": {"line": 622, "column": 1}}}, "severity": "INFO"}
-------------------------------------------------------

RP Message latency Performance

Check warning on line 625 in source/devices/AM64X/linux/RT_Linux_Performance_Guide.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.Headings] Use sentence-style capitalization in 'RP Message latency Performance'. Raw Output: {"message": "[RedHat.Headings] Use sentence-style capitalization in 'RP Message latency Performance'.", "location": {"path": "source/devices/AM64X/linux/RT_Linux_Performance_Guide.rst", "range": {"start": {"line": 625, "column": 1}}}, "severity": "INFO"}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

RP Message latency is the delay measured from sending a round trip echo message from
a Linux application to a remote processor and back. The following measurements use
a RP message length of 1 byte and 490 bytes for comparison.

The Linux user space application `rpmsg_char_benchmark <https://git.ti.com/cgit/rpmsg/ti-rpmsg-char/>`__ captures these latency values.

Test commands used for running IPC latency tests:

.. code:: console

rpmsg_char_benchmark -r 2 -n 100000 -m 1 & chrt -f -p 80 $!

Latencies reported:

.. csv-table::
:header: "Remote Processor","Message Size (in bytes)","Average round trip (usecs)","Max round trip (usecs)"

Check warning on line 643 in source/devices/AM64X/linux/RT_Linux_Performance_Guide.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.Spelling] Verify the word 'usecs'. It is not in the American English or Red Hat terminology spelling dictionaries used by Vale. Raw Output: {"message": "[RedHat.Spelling] Verify the word 'usecs'. It is not in the American English or Red Hat terminology spelling dictionaries used by Vale.", "location": {"path": "source/devices/AM64X/linux/RT_Linux_Performance_Guide.rst", "range": {"start": {"line": 643, "column": 104}}}, "severity": "WARNING"}

Check warning on line 643 in source/devices/AM64X/linux/RT_Linux_Performance_Guide.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.Spelling] Verify the word 'usecs'. It is not in the American English or Red Hat terminology spelling dictionaries used by Vale. Raw Output: {"message": "[RedHat.Spelling] Verify the word 'usecs'. It is not in the American English or Red Hat terminology spelling dictionaries used by Vale.", "location": {"path": "source/devices/AM64X/linux/RT_Linux_Performance_Guide.rst", "range": {"start": {"line": 643, "column": 79}}}, "severity": "WARNING"}

"R5F0_0","1","35","194"
"R5F0_0","490","154","255"
"M4F","1","43","162"
"M4F","490","282","439"

.. image:: img/R5_0_0_m1_ipc_latency.png

.. image:: img/R5_0_0_m490_ipc_latency.png

.. image:: img/m4_0_m1_ipc_latency.png

.. image:: img/m4_0_m490_ipc_latency.png

|
Binary file modified source/devices/AM64X/linux/img/R5_0_0_m1_ipc_latency.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified source/devices/AM64X/linux/img/R5_0_0_m490_ipc_latency.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified source/devices/AM64X/linux/img/m4_0_m1_ipc_latency.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified source/devices/AM64X/linux/img/m4_0_m490_ipc_latency.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading