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
39 changes: 39 additions & 0 deletions source/devices/AM64X/linux/RT_Linux_Performance_Guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -757,3 +757,42 @@


|

RP Message Inter-Processor Communication (IPC) Latency

Check warning on line 761 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": 761, "column": 1}}}, "severity": "INFO"}
------------------------------------------------------

RP Message latency Performance

Check warning on line 764 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": 764, "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.

Check warning on line 771 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 'rpmsg_char_benchmark'. It is not in the American English spelling dictionary used by Vale. Raw Output: {"message": "[RedHat.Spelling] Verify the word 'rpmsg_char_benchmark'. It is not in the American English spelling dictionary used by Vale.", "location": {"path": "source/devices/AM64X/linux/RT_Linux_Performance_Guide.rst", "range": {"start": {"line": 771, "column": 35}}}, "severity": "WARNING"}

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 783 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 spelling dictionary used by Vale. Raw Output: {"message": "[RedHat.Spelling] Verify the word 'usecs'. It is not in the American English spelling dictionary used by Vale.", "location": {"path": "source/devices/AM64X/linux/RT_Linux_Performance_Guide.rst", "range": {"start": {"line": 783, "column": 104}}}, "severity": "WARNING"}

Check warning on line 783 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 spelling dictionary used by Vale. Raw Output: {"message": "[RedHat.Spelling] Verify the word 'usecs'. It is not in the American English spelling dictionary used by Vale.", "location": {"path": "source/devices/AM64X/linux/RT_Linux_Performance_Guide.rst", "range": {"start": {"line": 783, "column": 79}}}, "severity": "WARNING"}

"R5F0_0","1","32","205"
"R5F0_0","490","162","272"
"M4F","1","41","186"
"M4F","490","301","446"

.. 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

|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.