Skip to content
Success

Changes

Summary

  1. trx_toolkit/*: Try to avoid copying burst data where possible (details)
Commit 9ecee3be6e8d4767c8aeaa9c359c8b13c21dba29 by Kirill Smelkov
trx_toolkit/*: Try to avoid copying burst data where possible

Conveying burst data is the primary flow in data place of what fake_trx
does, so the less copies we do, the less we make CPU loaded.

After this change I can finally run 1 BTS + 2 Mobile + 1 ccch_scan
without hitting "Stale message ..." on fake_trx side. However fake_trx
cpu load is close to 100% and there are internal clock overruns often:

    [WARNING] clck_gen.py:97 CLCKGen: time overrun by -1385us; resetting the clock
    [WARNING] clck_gen.py:97 CLCKGen: time overrun by -2657us; resetting the clock
    [WARNING] clck_gen.py:97 CLCKGen: time overrun by -1264us; resetting the clock
    [WARNING] clck_gen.py:97 CLCKGen: time overrun by -2913us; resetting the clock
    [WARNING] clck_gen.py:97 CLCKGen: time overrun by -1836us; resetting the clock
    ...

This suggests that even though fake_trx.py + tx-queue started to work
somehow, the rewrite of fake_trx in C, as explained in OS#6672, is still
better to do.

Change-Id: I147da2f110dedc863361059c931f609c28a69e9c
The file was modifiedsrc/target/trx_toolkit/data_msg.py
The file was modifiedsrc/target/trx_toolkit/data_if.py