Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PREEMPT_RT latency performance for SDK 10.1 #137

Merged
merged 5 commits into from
Dec 23, 2024
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
20 changes: 13 additions & 7 deletions source/devices/AM62AX/linux/RT_Linux_Performance_Guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,21 @@ It is one of the most frequently used tools for evaluating the relative performa
Some performance tests which use Cyclictest are System benchmarking, Latency debugging with tracing and
approximating application performance.

Test command for running stress-ng and cyclictest together
Test commands used for running stress-ng and cyclictest together

``stress-ng --cpu-method=all -c 4 &``
.. code:: console

``cyclictest -m -Sp98 -D6h -h400 -i200 -q``
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:

.. csv-table::
:header: "Latencies","am62axx_sk-fs:per-core"
: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"

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

"Minimum (usec)","5,5,5,5"
"Average (usec)","6,6,6,6"
"Maximum (usec)","34,40,48,37"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 12 additions & 7 deletions source/devices/AM62PX/linux/RT_Linux_Performance_Guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,20 @@ It is one of the most frequently used tools for evaluating the relative performa
Some performance tests which use Cyclictest are System benchmarking, Latency debugging with tracing and
approximating application performance.

Test command for running stress-ng and cyclictest together
Test commands used for running stress-ng and cyclictest together

``stress-ng --cpu-method=all -c 4 &``
.. code:: console

``cyclictest -m -Sp98 -D6h -h400 -i200 -q``
stress-ng --cpu-method=all -c 4 &
cyclictest -m -Sp80 -D6h -h400 -i200 -M -q

The latencies observed with this SDK are summarized below:

.. csv-table::
:header: "Latencies","am62pxx_sk-fs:per-core"
: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"

"Minimum (usec)","4,4,5,4"
"Average (usec)","5,5,6,5"
"Maximum (usec)","33,34,36,44"
.. image:: img/rt-cpu-method-all-latency-histogram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 12 additions & 7 deletions source/devices/AM62X/linux/RT_Linux_Performance_Guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,20 @@ It is one of the most frequently used tools for evaluating the relative performa
Some performance tests which use Cyclictest are System benchmarking, Latency debugging with tracing and
approximating application performance.

Test command for running stress-ng and cyclictest together
Test commands used for running stress-ng and cyclictest together

``stress-ng --cpu-method=all -c 4 &``
.. code:: console

``cyclictest -m -Sp98 -D6h -h400 -i200 -q``
stress-ng --cpu-method=all -c 4 &
cyclictest -m -Sp80 -D6h -h400 -i200 -M -q

The latencies observed with this SDK are summarized below:

.. csv-table::
:header: "Latencies","am62xx_sk:per-core"
: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,4,4"
"Average (usec)","7,5,6,6"
"Maximum (usec)","69,51,62,50"
.. image:: img/rt-cpu-method-all-latency-histogram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 13 additions & 14 deletions source/devices/AM64X/linux/RT_Linux_Performance_Guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,23 @@ It is one of the most frequently used tools for evaluating the relative performa
Some performance tests which use Cyclictest are System benchmarking, Latency debugging with tracing and
approximating application performance.

Test command for running stress-ng and cyclictest together
Test commands used for running stress-ng and cyclictest together

``stress-ng --cpu-method=all -c 4 &``
.. code:: console

``cyclictest -m -Sp98 -D6h -h400 -i200 -q``
stress-ng --cpu-method=all -c 4 &
cyclictest -m -Sp80 -D6h -h400 -i200 -M -q

The latencies observed with this DK are summarized below:

.. csv-table::
:header: "Latencies", "am64xx-hsevm:per-core"
:header: "Latencies","CPU 0","CPU 1"

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

"Minimum (usec)","6,6"
"Average (usec)","8,9"
"Maximum (usec)","49,66"
.. image:: img/rt-cpu-method-all-latency-histogram.png

|

Expand Down Expand Up @@ -472,9 +477,6 @@ PCIe-ETH
PCIe-NVMe-SSD
^^^^^^^^^^^^^^^^^^^^^^^^^^^

AM64xx-EVM
"""""""""""""""""""""""""""

.. csv-table:: PCIE SSD EXT4 FIO 10G
:header: "Buffer size (bytes)","am64xx-hsevm: Write EXT4 Throughput (Mbytes/sec)","am64xx-hsevm: Write EXT4 CPU Load (%)","am64xx-hsevm: Read EXT4 Throughput (Mbytes/sec)","am64xx-hsevm: Read EXT4 CPU Load (%)"

Expand All @@ -493,11 +495,8 @@ AM64xx-EVM
OSPI Flash Driver
-------------------------

AM64XX-EVM
bryanbrattlof marked this conversation as resolved.
Show resolved Hide resolved
^^^^^^^^^^^^^^^^^^^^^^^^^^^

RAW
"""""""""""""""""""""""""""
^^^

.. csv-table:: OSPI Raw Flash Driver
:header: "File size (Mbytes)","am64xx-hsevm: Raw Read Throughput (Mbytes/sec)"
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