Use new libosmovty cpu sched config features

Using the new libosmovty features allow for:
* Setting different cpu-affinity masks for each thread in the process,
  both at startup through .cfg file as well as changing it at runtime.
* Unified VTY interface to change the scheduling policy of the process
  inherited by all osmocom processes enabling the feature.

Depends: libosmocore.git Change-Id If76a4bd2cc7b3c7adf5d84790a944d78be70e10a
Depends: osmo-gsm-masnuals.git Change-Id Icd75769ef630c3fa985fc5e2154d5521689cdd3c

Related: SYS#4986
Change-Id: I3798603779b88ea37da03033cf7737a6e4751d6e
This commit is contained in:
Pau Espin Pedrol
2020-07-29 18:05:25 +02:00
parent 1d165a043e
commit 553a25033e
11 changed files with 32 additions and 7 deletions

View File

@@ -9,13 +9,14 @@ log stderr
line vty
no login
!
cpu-sched
policy rr 18
trx
bind-ip 127.0.0.1
remote-ip 127.0.0.1
egprs disable
tx-sps 4
rx-sps 4
rt-prio 18
chan 0
tx-path BAND1
rx-path LNAW

View File

@@ -9,13 +9,14 @@ log stderr
line vty
no login
!
cpu-sched
policy rr 18
trx
bind-ip 127.0.0.1
remote-ip 127.0.0.1
egprs disable
tx-sps 4
rx-sps 4
rt-prio 18
chan 0
tx-path BAND1
rx-path LNAW

View File

@@ -9,6 +9,8 @@ log stderr
line vty
no login
!
cpu-sched
policy rr 18
trx
bind-ip 127.0.0.1
remote-ip 127.0.0.1
@@ -17,6 +19,5 @@ trx
tx-sps 4
rx-sps 4
rssi-offset 38
rt-prio 18
chan 0
chan 1

View File

@@ -9,6 +9,8 @@ log stderr
line vty
no login
!
cpu-sched
policy rr 18
trx
bind-ip 127.0.0.1
remote-ip 127.0.0.1
@@ -19,6 +21,4 @@ trx
tx-sps 4
rx-sps 4
clock-ref external
rt-prio 18
chan 0

View File

@@ -31,6 +31,8 @@ include::{srcdir}/chapters/trx-backends.adoc[]
include::{srcdir}/chapters/code-architecture.adoc[]
include::./common/chapters/vty_cpu_sched.adoc[]
include::./common/chapters/trx_if.adoc[]
include::./common/chapters/port_numbers.adoc[]