Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,17 @@
Validating We Are Using A Real-Time Capable Kernel
--------------------------------------------------

Because of the length of time the real-time patchset has been working
its way into the mainline Linux kernel some of its features are already
in use with vanilla kernel builds. This can make it difficult to
determine if the kernel is fully real-time capable.

One easy way to determine if the kernel currently running is real-time
capable is by looking if the realtime file exists in our :file:`/sys`
directory
capable is by looking for :code:`PREEMPT_RT` or :code:`PREEMPT_DYNAMIC`
in the output of the :code:`uname -a` command.

.. code:: console

cat /sys/kernel/realtime
uname -a

If the file is not found then the current kernel does not have all the
required features needed by the kernel to be fully preemptible and is
not suited for running a real-time application.
If the output contains only :code:`PREEMPT` the kernel does not have all

Check warning on line 49 in source/linux/How_to_Guides/Target/How_to_Tune_Real_Time_Linux.rst

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [RedHat.SimpleWords] Use simple language. Consider using 'has' rather than 'contains'. Raw Output: {"message":"[RedHat.SimpleWords] Use simple language. Consider using 'has' rather than 'contains'.","location":{"path":"source/linux/How_to_Guides/Target/How_to_Tune_Real_Time_Linux.rst","range":{"start":{"line":49,"column":15},"end":{"line":49,"column":23}}},"severity":"INFO","code":{"value":"RedHat.SimpleWords","url":"https://redhat-documentation.github.io/vale-at-red-hat/reference-guide.html#simple-words"}}
the required features needed by the kernel to be fully preemptible and
is not suited for running a real-time application.

Testing Kernel Performance
--------------------------
Expand Down
Loading