Skip to content
Success

Changes

Summary

  1. fake_trx: Allow setting sched RR priority for clckgen thread (details)
  2. Set sched RR Priority on main thread (details)
Commit 867e849010864ecadf1f2e7adb5c70250b6a99fc by Pau Espin Pedrol
fake_trx: Allow setting sched RR priority for clckgen thread

With this patch python is still too slow sometimes, with frecuent
overruns in the range 50-2400 microsecs. Still, with higher prio we
should hopefully see less cases where the process is being delayed by a
much higher amount, which may trigger a "no clock" error from
osmo-bts-trx.

Change-Id: I3c7f36c17fc7b9cae1023b4a0ed37f983dc286dc
The file was modifiedsrc/target/trx_toolkit/clck_gen.py
The file was modifiedsrc/target/trx_toolkit/fake_trx.py
Commit 6f45d36e936c9209a18e02b6a8c3a04eb1ff9fd9 by Pau Espin Pedrol
Set sched RR Priority on main thread

Since we are still affected by Python GIL, it makes sense to also set
the main thread (which is actually also expected to be real time) to a
real time priority.

Use a slightly higher rr prio (prio + 1) to the clckgen thread.

Change-Id: I6aa22125e7de4f472d691b271639d5bee25762cb
The file was modifiedsrc/target/trx_toolkit/fake_trx.py