Skip to content

Commit fd8c499

Browse files
author
Murilo Marinho
committed
[docker] Adding basics of realtime.
1 parent 456d44b commit fd8c499

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

docs/source/docker/index.rst

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ then
5353
5454
.. important::
5555

56-
A reboot of the system is recommended so that the group addition is propagated when you open a new terminal.
56+
A reboot of the system is in general needed so that the group addition is propagated when you open a new terminal.
5757

5858
If you're curious, here are the main contents of the script.
5959

@@ -163,6 +163,28 @@ Docker container in a realtime kernel
163163

164164
TODO
165165

166+
Install PREEMPT_RT
167+
++++++++++++++++++
168+
169+
.. seealso::
170+
171+
*. https://ubuntu.com/real-time
172+
*. https://canonical-ubuntu-pro-client.readthedocs-hosted.com/en/latest/howtoguides/enable_realtime_kernel/
173+
174+
.. code-block:: console
175+
176+
sudo pro attach
177+
sudo apt update && sudo apt install ubuntu-advantage-tools
178+
sudo pro enable realtime-kernel
179+
180+
.. tip::
181+
182+
You can check if a process has properly been elevated to ``SCHED_FIFO`` with the following command.
183+
184+
.. code-block:: console
185+
186+
ps -eLfc | grep FF
187+
166188
Common issues
167189
-------------
168190

0 commit comments

Comments
 (0)