pespin submitted this change.
2 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
vty_cpu_sched.adoc: Document how to allow users to run with rtprio
Change-Id: I2281bef252f5ed60fd830714798c587173e7fbb5
---
M common/chapters/vty_cpu_sched.adoc
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/common/chapters/vty_cpu_sched.adoc b/common/chapters/vty_cpu_sched.adoc
index f3a7c09..308cad9 100644
--- a/common/chapters/vty_cpu_sched.adoc
+++ b/common/chapters/vty_cpu_sched.adoc
@@ -25,6 +25,13 @@
----
<1> Configure process to use _SCHED_RR_ policy with real time priority 1
+NOTE: Running a process under real time priority requires CAP_SYS_NICE
+capabilities. In order to avoid running the process as _root_ user, you can
+either modify the binary permissions with `setcap "CAP_SYS_NICE+ep"
+/path/to/binary`, or allow the user running the program to set rtprio by adding
+a file _/etc/security/limits.d/youruser_allow-rtprio.conf_ with something like
+`youruser - rtprio 99`. See `man 7 sched` for more information on the topic.
+
[[vty_cpu_sched_cpu_affinity_mask]]
=== CPU-Affinity Mask
To view, visit change 41852. To unsubscribe, or for help writing mail filters, visit settings.