aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/systemd')
-rw-r--r--contrib/systemd/osmo-bts-lc15.service4
-rw-r--r--contrib/systemd/osmo-bts-oc2g.service4
-rw-r--r--contrib/systemd/osmo-bts-sysmo.service4
-rw-r--r--contrib/systemd/osmo-bts-trx.service4
-rw-r--r--contrib/systemd/osmo-bts-virtual.service4
5 files changed, 15 insertions, 5 deletions
diff --git a/contrib/systemd/osmo-bts-lc15.service b/contrib/systemd/osmo-bts-lc15.service
index 0266c9ad..1fe2758f 100644
--- a/contrib/systemd/osmo-bts-lc15.service
+++ b/contrib/systemd/osmo-bts-lc15.service
@@ -11,9 +11,11 @@ Restart=always
RestartSec=2
RestartPreventExitStatus=1
-# The msg queues must be read fast enough
+# CPU scheduling policy:
CPUSchedulingPolicy=rr
+# For real-time scheduling policies an integer between 1 (lowest priority) and 99 (highest priority):
CPUSchedulingPriority=1
+# See sched(7) for further details on real-time policies and priorities
[Install]
WantedBy=multi-user.target
diff --git a/contrib/systemd/osmo-bts-oc2g.service b/contrib/systemd/osmo-bts-oc2g.service
index b0b1f7e2..fbf26081 100644
--- a/contrib/systemd/osmo-bts-oc2g.service
+++ b/contrib/systemd/osmo-bts-oc2g.service
@@ -11,9 +11,11 @@ Restart=always
RestartSec=2
RestartPreventExitStatus=1
-# The msg queues must be read fast enough
+# CPU scheduling policy:
CPUSchedulingPolicy=rr
+# For real-time scheduling policies an integer between 1 (lowest priority) and 99 (highest priority):
CPUSchedulingPriority=1
+# See sched(7) for further details on real-time policies and priorities
[Install]
WantedBy=multi-user.target
diff --git a/contrib/systemd/osmo-bts-sysmo.service b/contrib/systemd/osmo-bts-sysmo.service
index f297cfc8..2a6f7115 100644
--- a/contrib/systemd/osmo-bts-sysmo.service
+++ b/contrib/systemd/osmo-bts-sysmo.service
@@ -13,9 +13,11 @@ Restart=always
RestartSec=2
RestartPreventExitStatus=1
-# The msg queues must be read fast enough
+# CPU scheduling policy:
CPUSchedulingPolicy=rr
+# For real-time scheduling policies an integer between 1 (lowest priority) and 99 (highest priority):
CPUSchedulingPriority=1
+# See sched(7) for further details on real-time policies and priorities
[Install]
WantedBy=multi-user.target
diff --git a/contrib/systemd/osmo-bts-trx.service b/contrib/systemd/osmo-bts-trx.service
index e73e7935..bbfa99cf 100644
--- a/contrib/systemd/osmo-bts-trx.service
+++ b/contrib/systemd/osmo-bts-trx.service
@@ -9,9 +9,11 @@ WorkingDirectory=%S/osmocom
Restart=always
RestartSec=2
-# Let it process messages quickly enough
+# CPU scheduling policy:
CPUSchedulingPolicy=rr
+# For real-time scheduling policies an integer between 1 (lowest priority) and 99 (highest priority):
CPUSchedulingPriority=1
+# See sched(7) for further details on real-time policies and priorities
[Install]
WantedBy=multi-user.target
diff --git a/contrib/systemd/osmo-bts-virtual.service b/contrib/systemd/osmo-bts-virtual.service
index 877181b7..54d0eb1a 100644
--- a/contrib/systemd/osmo-bts-virtual.service
+++ b/contrib/systemd/osmo-bts-virtual.service
@@ -9,9 +9,11 @@ WorkingDirectory=%S/osmocom
Restart=always
RestartSec=2
-# Let it process messages quickly enough
+# CPU scheduling policy:
CPUSchedulingPolicy=rr
+# For real-time scheduling policies an integer between 1 (lowest priority) and 99 (highest priority):
CPUSchedulingPriority=1
+# See sched(7) for further details on real-time policies and priorities
[Install]
WantedBy=multi-user.target