-
Notifications
You must be signed in to change notification settings - Fork 8
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
base: main
Are you sure you want to change the base?
RTLA documentation #100
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks!
There was a problem hiding this 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]>
@farshidtz I added the note about Ubuntu Core not being supported. |
@benjamin051000 thanks for the changes. For your convenience, I've submitted a PR to merge them: #114 |
Signed-off-by: Farshid Tavakolizadeh <[email protected]>
@@ -217,3 +217,8 @@ ww | |||
xetex | |||
xindy | |||
yaml | |||
rtla |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
timerlat | ||
^^^^^^^^ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^^^^^^^^ | |
^^^^^^^^ | |
|
||
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -121,6 +164,8 @@ where: | |||
|
|||
This command runs the ``oslat`` test and then prints the results, which include latency measurements for each core. | |||
|
|||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this 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!
Note
Link to built docs: https://canonical-ubuntu-documentation-library--100.com.readthedocs.build/real-time/en/100/reference/real-time-metrics-tools/