msuraev has submitted this change. (
https://gerrit.osmocom.org/c/osmo-pcu/+/30043 )
Change subject: Update and document realtime scheduling priority in service file
......................................................................
Update and document realtime scheduling priority in service file
Related: OS#5687
Change-Id: I1694af74eee2624709ad6cebbc4fb37320e2ef9d
---
M contrib/systemd/osmo-pcu.service
1 file changed, 4 insertions(+), 3 deletions(-)
Approvals:
laforge: Looks good to me, but someone else must approve
pespin: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/contrib/systemd/osmo-pcu.service b/contrib/systemd/osmo-pcu.service
index 73d8b9c..94616e3 100644
--- a/contrib/systemd/osmo-pcu.service
+++ b/contrib/systemd/osmo-pcu.service
@@ -9,10 +9,11 @@
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
--
To view, visit
https://gerrit.osmocom.org/c/osmo-pcu/+/30043
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I1694af74eee2624709ad6cebbc4fb37320e2ef9d
Gerrit-Change-Number: 30043
Gerrit-PatchSet: 4
Gerrit-Owner: msuraev <msuraev(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: msuraev <msuraev(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged