-
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -217,3 +217,8 @@ ww | |
xetex | ||
xindy | ||
yaml | ||
rtla | ||
osnoise | ||
timerlat | ||
hwnoise | ||
maskable |
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -86,6 +86,49 @@ where: | |||||||
|
||||||||
This command displays system resource statistics with timestamps and shows most frequent interrupts. | ||||||||
|
||||||||
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 commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|
||||||||
RTLA comes pre-installed on Ubuntu 24.04 LTS (Noble Numbat) and later. | ||||||||
It is not available as a package on Ubuntu Core. | ||||||||
|
||||||||
hwnoise | ||||||||
^^^^^^^ | ||||||||
See how hardware noise affects kernel threads. | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|
||||||||
Run ``rtla hwnoise top`` for a top-like interface that shows the time each thread takes to read the current time. | ||||||||
|
||||||||
Run ``rtla hwnoise hist`` for a histogram, which may be better suited for logging. | ||||||||
|
||||||||
For more information, see the `rtla-hwnoise`_ documentation. | ||||||||
|
||||||||
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 commentThe 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. | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
It does not support older versions of Ubuntu. | ||||||||
|
||||||||
Run ``rtla osnoise top`` for a top-like interface that shows the time each thread takes to read the current time. | ||||||||
|
||||||||
Run ``rtla osnoise hist`` for a histogram, which may be better suited for logging. | ||||||||
|
||||||||
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 commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
timerlat | ||||||||
^^^^^^^^ | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|
||||||||
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 commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
oslat | ||||||||
----- | ||||||||
|
||||||||
|
@@ -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 commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
ps | ||||||||
--- | ||||||||
|
||||||||
|
@@ -219,6 +264,14 @@ This could be used to monitor real-time observation of system activities such as | |||||||
.. _cyclictest: https://man.archlinux.org/man/cyclictest.8.en | ||||||||
.. _dstat: https://manpages.ubuntu.com/manpages/jammy/man1/pcp-dstat.1.html | ||||||||
.. _oslat: https://manpages.ubuntu.com/manpages/jammy/man8/oslat.8.html | ||||||||
|
||||||||
.. _rtla: https://docs.kernel.org/tools/rtla/index.html | ||||||||
.. _rtla-osnoise-top: https://docs.kernel.org/tools/rtla/rtla-osnoise-top.html | ||||||||
.. _rtla-osnoise-hist: https://docs.kernel.org/tools/rtla/rtla-osnoise-hist.html | ||||||||
.. _rtla-hwnoise: https://docs.kernel.org/tools/rtla/rtla-hwnoise.html | ||||||||
.. _rtla-timerlat-top: https://docs.kernel.org/tools/rtla/rtla-timerlat-top.html | ||||||||
.. _rtla-timerlat-hist: https://docs.kernel.org/tools/rtla/rtla-timerlat-hist.html | ||||||||
|
||||||||
.. _ps: https://www.man7.org/linux/man-pages/man1/ps.1.html | ||||||||
.. _perf: https://www.man7.org/linux/man-pages/man1/perf.1.html | ||||||||
.. _stress-ng: https://manpages.ubuntu.com/manpages/noble/en/man1/stress-ng.1.html | ||||||||
|
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