Skip to content

RTLA documentation #100

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

RTLA documentation #100

wants to merge 2 commits into from

Conversation

benjamin051000
Copy link
Contributor

@benjamin051000 benjamin051000 commented Mar 25, 2025

@benjamin051000 benjamin051000 added the documentation Improvements or additions to documentation label Mar 25, 2025
@benjamin051000 benjamin051000 requested a review from khbecker March 25, 2025 17:00
@benjamin051000 benjamin051000 self-assigned this Mar 25, 2025
Copy link
Contributor

@khbecker khbecker left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks!

Copy link
Member

@farshidtz farshidtz left a comment

Choose a reason for hiding this comment

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

Thanks for the additions.

The commands are structured differently from every other command in this document:

  • cyclictest
  • dstat
  • oslat
  • RTLA
    • osnoise
    • hwnoise
    • timerlat
  • ps
  • perf
  • stress-ng
  • watch

I suggest maintaining a flat structure, sorted alphabetically:

  • cyclictest - from RT Tests
  • dstat
  • hwnoise - from RTLA
  • oslat - from RT Tests
  • osnoise - from RTLA
  • ps
  • perf
  • stress-ng
  • timerlat - from RTLA
  • watch

Signed-off-by: Benjamin Wheeler <[email protected]>
@benjamin051000
Copy link
Contributor Author

@farshidtz I added the note about Ubuntu Core not being supported.

@farshidtz
Copy link
Member

@benjamin051000 thanks for the changes.
Apologies, as I just realized that I've mistaken osnoise, hwnoise and timerlat as standalone applications part of RTLA, while they are instead sub-commands of the rtla command. So the original structuring made more sense.

For your convenience, I've submitted a PR to merge them: #114

@farshidtz farshidtz mentioned this pull request Apr 15, 2025
Signed-off-by: Farshid Tavakolizadeh <[email protected]>
@farshidtz farshidtz requested a review from AnneCYH April 15, 2025 18:48
@@ -217,3 +217,8 @@ ww
xetex
xindy
yaml
rtla
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you sort this @benjamin051000 ?
makes it easier to manage the list.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will do. Note that I opened an issue in the starter pack to auto-sort in CI:
canonical/sphinx-docs-starter-pack#380

rtla
-----

`RTLA`_ provides a set of tools for the analysis of the kernel's realtime behavior on specific hardware.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
`RTLA`_ provides a set of tools for the analysis of the kernel's realtime behavior on specific hardware.
`RTLA`_ provides a set of tools for the analysis of the kernel's real-time behavior on specific hardware.


hwnoise
^^^^^^^
See how hardware noise affects kernel threads.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
See how hardware noise affects kernel threads.
See how hardware noise affects kernel threads.

^^^^^^^
See how hardware noise affects kernel threads.

hwnoise is similar to osnoise, except that it disables interrupts. Only non-maskable interrupts and hardware-related noise will affect the test.
Copy link
Collaborator

@AnneCYH AnneCYH Apr 17, 2025

Choose a reason for hiding this comment

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

Suggested change
hwnoise is similar to osnoise, except that it disables interrupts. Only non-maskable interrupts and hardware-related noise will affect the test.
``hwnoise`` is similar to ``osnoise``, except that it disables interrupts.
Only non-maskable interrupts and hardware-related noise will affect the test.


osnoise
^^^^^^^
See how operating system noise (preemption, IRQs/soft-IRQs) affect kernel threads.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
See how operating system noise (preemption, IRQs/soft-IRQs) affect kernel threads.
See how operating system noise (preemption, IRQs/soft-IRQs) affect kernel threads.

^^^^^^^
See how operating system noise (preemption, IRQs/soft-IRQs) affect kernel threads.

osnoise is part of the `rtla`_ suite, which comes pre-installed on Ubuntu 24.04 LTS (Noble Numbat) and later.
Copy link
Collaborator

@AnneCYH AnneCYH Apr 17, 2025

Choose a reason for hiding this comment

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

Suggested change
osnoise is part of the `rtla`_ suite, which comes pre-installed on Ubuntu 24.04 LTS (Noble Numbat) and later.
``osnoise`` is part of the `rtla`_ suite, which comes pre-installed on Ubuntu 24.04 LTS (Noble Numbat) and later.


For more information, see the `rtla-osnoise-top`_ and `rtla-osnoise-hist`_ documentation.


Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change



timerlat
^^^^^^^^
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
^^^^^^^^
^^^^^^^^


timerlat
^^^^^^^^
timerlat runs threads which periodically wake up and sleep, and data is collected about how much latency overhead the operating system adds to them.
Copy link
Collaborator

@AnneCYH AnneCYH Apr 17, 2025

Choose a reason for hiding this comment

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

Suggested change
timerlat runs threads which periodically wake up and sleep, and data is collected about how much latency overhead the operating system adds to them.
``timerlat`` runs threads which periodically wake up and sleep, and data is collected about how much latency overhead the operating system adds to them.

^^^^^^^^
timerlat runs threads which periodically wake up and sleep, and data is collected about how much latency overhead the operating system adds to them.

Like osnoise, timerlat offers both a ``timerlat top`` and ``timerlat hist`` mode.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
Like osnoise, timerlat offers both a ``timerlat top`` and ``timerlat hist`` mode.
Like ``osnoise``, ``timerlat`` offers both a ``timerlat top`` and ``timerlat hist`` mode.


For more information, see the `rtla-timerlat-top`_ and `rtla-timerlat-hist`_ documentation.


Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change

@@ -121,6 +164,8 @@ where:

This command runs the ``oslat`` test and then prints the results, which include latency measurements for each core.



Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change

Copy link
Collaborator

@AnneCYH AnneCYH left a comment

Choose a reason for hiding this comment

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

hey @benjamin051000 , some formatting-related changes suggested.
Otherwise it reads well; thanks for the effort!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants