pespin has uploaded this change for review.

View Change

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(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-manuals refs/changes/52/41852/1
diff --git a/common/chapters/vty_cpu_sched.adoc b/common/chapters/vty_cpu_sched.adoc
index f3a7c09..76e2e3c 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`.
+
[[vty_cpu_sched_cpu_affinity_mask]]
=== CPU-Affinity Mask


To view, visit change 41852. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Change-Id: I2281bef252f5ed60fd830714798c587173e7fbb5
Gerrit-Change-Number: 41852
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>