aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2022-11-06 15:44:12 +0300
committermsuraev <msuraev@sysmocom.de>2022-11-14 10:18:38 +0000
commit1002c4330d94a866550a6f359315cccf86605bfb (patch)
tree0d852481117fe22f46d34c07c35d0d01df3a14fd
parentf94562a62299db66920f120755e464e85f980ee8 (diff)
Update and document realtime scheduling priority in service file
-rw-r--r--contrib/systemd/osmo-pcu.service7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/systemd/osmo-pcu.service b/contrib/systemd/osmo-pcu.service
index 73d8b9c4..94616e34 100644
--- a/contrib/systemd/osmo-pcu.service
+++ b/contrib/systemd/osmo-pcu.service
@@ -9,10 +9,11 @@ WorkingDirectory=%S/osmocom
Restart=always
RestartSec=2
RestartPreventExitStatus=1
-
-# The msg queues must be read fast enough
+# CPU scheduling policy:
CPUSchedulingPolicy=rr
-CPUSchedulingPriority=1
+# For real-time scheduling policies an integer between 1 (lowest priority) and 99 (highest priority):
+CPUSchedulingPriority=11
+# See sched(7) for further details on real-time policies and priorities
[Install]
WantedBy=multi-user.target