Document realtime options in .service units

It's not immediately obvious what numeric values mean for CPU scheduling policy.
Let's document this and add doc reference.

Related: OS#4107
Change-Id: Ib047762a336851e6205d77c83068a99d8a868e8b
changes/06/29306/2
Maxim Suraev 3 months ago committed by msuraev
parent 9b7a48421c
commit e826d78399
  1. 4
      contrib/systemd/osmo-bts-lc15.service
  2. 4
      contrib/systemd/osmo-bts-oc2g.service
  3. 4
      contrib/systemd/osmo-bts-sysmo.service
  4. 4
      contrib/systemd/osmo-bts-trx.service
  5. 4
      contrib/systemd/osmo-bts-virtual.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

@ -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

@ -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

@ -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

@ -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

Loading…
Cancel
Save