Skip to content
Open
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
14 changes: 11 additions & 3 deletions source/devices/AM62AX/linux/RT_Linux_Performance_Guide.rst
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At line no. 2,

RT-linux 11.01 Performance Guide

Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,22 @@
stress-ng --cpu-method=all -c 4 &
cyclictest -m -Sp80 -D6h -h400 -i200 -M -q
The latencies where observed with this SDK are summarized below:
The latencies observed with the default yocto SDK are summarized below:

Check warning on line 60 in source/devices/AM62AX/linux/RT_Linux_Performance_Guide.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.TermsSuggestions] Depending on the context, consider using 'after', 'later', or 'following' rather than 'below'. Raw Output: {"message": "[RedHat.TermsSuggestions] Depending on the context, consider using 'after', 'later', or 'following' rather than 'below'.", "location": {"path": "source/devices/AM62AX/linux/RT_Linux_Performance_Guide.rst", "range": {"start": {"line": 60, "column": 66}}}, "severity": "INFO"}

Check warning on line 60 in source/devices/AM62AX/linux/RT_Linux_Performance_Guide.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.PassiveVoice] 'are summarized' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice. Raw Output: {"message": "[RedHat.PassiveVoice] 'are summarized' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "source/devices/AM62AX/linux/RT_Linux_Performance_Guide.rst", "range": {"start": {"line": 60, "column": 51}}}, "severity": "INFO"}

.. note::

A known issue in this SDK release is affecting this benchmark.
Applying `this patch`_ on Yocto's meta-ti layer will restore the
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not all customers are likely going to have ability to rebuild Yocto to restore the switch latencies. Could there be instructions added that could be an alternative to having to rebuild Yocto for those who don't have the hardware/ability to do so?

context switch latencies to the values you see below:

Check warning on line 66 in source/devices/AM62AX/linux/RT_Linux_Performance_Guide.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.TermsSuggestions] Depending on the context, consider using 'after', 'later', or 'following' rather than 'below'. Raw Output: {"message": "[RedHat.TermsSuggestions] Depending on the context, consider using 'after', 'later', or 'following' rather than 'below'.", "location": {"path": "source/devices/AM62AX/linux/RT_Linux_Performance_Guide.rst", "range": {"start": {"line": 66, "column": 51}}}, "severity": "INFO"}

.. csv-table::
:header: "Latencies","CPU 0","CPU 1","CPU 2","CPU 3"

"Minimum (us)","5","5","5","5"
"Average (us)","5","6","6","5"
"Maximum (us)","68","31","34","28"
"Average (us)","6","6","6","6"
"Maximum (us)","31","29","30","30"

.. image:: img/rt-cpu-method-all-latency-histogram.png


.. _this patch: https://lists.yoctoproject.org/g/meta-ti/message/19089
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 11 additions & 3 deletions source/devices/AM62LX/linux/RT_Linux_Performance_Guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,21 @@
stress-ng --cpu-method=all -c 4 &
cyclictest -m -Sp80 -D6h -h400 -i200 -M -q

The latencies observed with this SDK are summarized below:
The latencies observed with the default yocto SDK are summarized below:

Check warning on line 59 in source/devices/AM62LX/linux/RT_Linux_Performance_Guide.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.TermsSuggestions] Depending on the context, consider using 'after', 'later', or 'following' rather than 'below'. Raw Output: {"message": "[RedHat.TermsSuggestions] Depending on the context, consider using 'after', 'later', or 'following' rather than 'below'.", "location": {"path": "source/devices/AM62LX/linux/RT_Linux_Performance_Guide.rst", "range": {"start": {"line": 59, "column": 66}}}, "severity": "INFO"}

Check warning on line 59 in source/devices/AM62LX/linux/RT_Linux_Performance_Guide.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.PassiveVoice] 'are summarized' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice. Raw Output: {"message": "[RedHat.PassiveVoice] 'are summarized' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "source/devices/AM62LX/linux/RT_Linux_Performance_Guide.rst", "range": {"start": {"line": 59, "column": 51}}}, "severity": "INFO"}

.. note::

A known issue in this SDK release is affecting this benchmark.
Applying `this patch`_ on Yocto's meta-ti layer will restore the
context switch latencies to the values you see below:

Check warning on line 65 in source/devices/AM62LX/linux/RT_Linux_Performance_Guide.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.TermsSuggestions] Depending on the context, consider using 'after', 'later', or 'following' rather than 'below'. Raw Output: {"message": "[RedHat.TermsSuggestions] Depending on the context, consider using 'after', 'later', or 'following' rather than 'below'.", "location": {"path": "source/devices/AM62LX/linux/RT_Linux_Performance_Guide.rst", "range": {"start": {"line": 65, "column": 51}}}, "severity": "INFO"}

.. csv-table::
:header: "Latencies","CPU 0","CPU 1"

"Minimum (us)","5","5"
"Average (us)","6","8"
"Maximum (us)","47","53"
"Average (us)","8","7"
"Maximum (us)","57","48"

.. image:: img/rt-cpu-method-all-latency-histogram.png

.. _this patch: https://lists.yoctoproject.org/g/meta-ti/message/19089
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 11 additions & 3 deletions source/devices/AM62PX/linux/RT_Linux_Performance_Guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,21 @@
stress-ng --cpu-method=all -c 4 &
cyclictest -m -Sp80 -D6h -h400 -i200 -M -q

The latencies observed with this SDK are summarized below:
The latencies observed with the default yocto SDK are summarized below:

Check warning on line 60 in source/devices/AM62PX/linux/RT_Linux_Performance_Guide.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.TermsSuggestions] Depending on the context, consider using 'after', 'later', or 'following' rather than 'below'. Raw Output: {"message": "[RedHat.TermsSuggestions] Depending on the context, consider using 'after', 'later', or 'following' rather than 'below'.", "location": {"path": "source/devices/AM62PX/linux/RT_Linux_Performance_Guide.rst", "range": {"start": {"line": 60, "column": 66}}}, "severity": "INFO"}

Check warning on line 60 in source/devices/AM62PX/linux/RT_Linux_Performance_Guide.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.PassiveVoice] 'are summarized' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice. Raw Output: {"message": "[RedHat.PassiveVoice] 'are summarized' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "source/devices/AM62PX/linux/RT_Linux_Performance_Guide.rst", "range": {"start": {"line": 60, "column": 51}}}, "severity": "INFO"}

.. note::

A known issue in this SDK rlease is affecting this benchmark.

Check warning on line 64 in source/devices/AM62PX/linux/RT_Linux_Performance_Guide.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.Spelling] Verify the word 'rlease'. It is not in the American English spelling dictionary used by Vale. Raw Output: {"message": "[RedHat.Spelling] Verify the word 'rlease'. It is not in the American English spelling dictionary used by Vale.", "location": {"path": "source/devices/AM62PX/linux/RT_Linux_Performance_Guide.rst", "range": {"start": {"line": 64, "column": 30}}}, "severity": "WARNING"}
Applying `this patch`_ on Yocto's meta-ti layer will restore the
context switch latencies to the values you see below.

Check warning on line 66 in source/devices/AM62PX/linux/RT_Linux_Performance_Guide.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.TermsSuggestions] Depending on the context, consider using 'after', 'later', or 'following' rather than 'below'. Raw Output: {"message": "[RedHat.TermsSuggestions] Depending on the context, consider using 'after', 'later', or 'following' rather than 'below'.", "location": {"path": "source/devices/AM62PX/linux/RT_Linux_Performance_Guide.rst", "range": {"start": {"line": 66, "column": 51}}}, "severity": "INFO"}

.. csv-table::
:header: "Latencies","CPU 0","CPU 1","CPU 2","CPU 3"

"Minimum (usec)","5","5","5","5"
"Average (usec)","6","6","5","6"
"Maximum (usec)","30","33","31","35"
"Average (usec)","6","6","7","6"
"Maximum (usec)","36","34","37","34"

.. image:: img/rt-cpu-method-all-latency-histogram.png

.. _this patch: https://lists.yoctoproject.org/g/meta-ti/message/19089
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 13 additions & 4 deletions source/devices/AM62X/linux/RT_Linux_Performance_Guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,22 @@ Test commands used for running stress-ng and cyclictest together
stress-ng --cpu-method=all -c 4 &
cyclictest -m -Sp80 -D6h -h400 -i200 -M -q

The latencies observed with this SDK are summarized below:
The latencies observed with the default yocto SDK image on
https://www.ti.com/tool/SK-AM62B-P1 are summarized below:

.. note::

A known issue in this SDK release is affecting this benchmark.
Applying `this patch`_ on Yocto's meta-ti layer will restore the
context switch latencies to the values you see below.

.. csv-table::
:header: "Latencies","CPU 0","CPU 1","CPU 2","CPU 3"

"Minimum (usec)","5","5","4","4"
"Average (usec)","7","5","6","6"
"Maximum (usec)","66","41","73","70"
"Minimum (usec)","5","5","5","5"
"Average (usec)","6","6","6","6"
"Maximum (usec)","62","46","47","52"

.. image:: img/rt-cpu-method-all-latency-histogram.png

.. _this patch: https://lists.yoctoproject.org/g/meta-ti/message/19089
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 12 additions & 4 deletions source/devices/AM64X/linux/RT_Linux_Performance_Guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,23 @@ Test commands used for running stress-ng and cyclictest together

The latencies observed with this DK are summarized below:

.. note::

A known issue in this SDK release is affecting this benchmark.
Applying `this patch`_ on Yocto's meta-ti layer will restore the
context switch latencies to the values you see below.

.. csv-table::
:header: "Latencies","CPU 0","CPU 1"

"Minimum (usec)","6","6"
"Average (usec)","8","8"
"Maximum (usec)","77","105"
"Average (usec)","10","9"
"Maximum (usec)","77","52"

.. image:: img/rt-cpu-method-all-latency-histogram.png

.. _this patch: https://lists.yoctoproject.org/g/meta-ti/message/19089

|

LMBench
Expand Down Expand Up @@ -791,8 +799,8 @@ RP Message Inter-Processor Communication (IPC) Latency
RP Message latency Performance
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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
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.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading