Bug #4679
closedosmo-trx: Add rate-ctr for clipping
100%
Description
As seen on my limenet-mico3 while running some stability test, lot's of these messages may swamp the stderr log at some point. Let's try to avoid printing each time or completely dropping the log line, and use a rate_ctr instead.
Jul 24 17:42:31 limenet-micro3 osmo-trx-lms[815]: Fri Jul 24 17:42:31 2020 DTRXDUL <0004> Transceiver.cpp:717 [tid=1910488272][chan=0] Clipping detected on received RACH or Normal Burst Jul 24 17:42:31 limenet-micro3 osmo-trx-lms[815]: Fri Jul 24 17:42:31 2020 DTRXDUL <0004> Transceiver.cpp:717 [tid=1910488272][chan=0] Clipping detected on received RACH or Normal Burst Jul 24 17:42:31 limenet-micro3 osmo-trx-lms[815]: Fri Jul 24 17:42:31 2020 DTRXDUL <0004> Transceiver.cpp:717 [tid=1910488272][chan=0] Clipping detected on received RACH or Normal Burst Jul 24 17:42:31 limenet-micro3 osmo-trx-lms[815]: Fri Jul 24 17:42:31 2020 DTRXDUL <0004> Transceiver.cpp:717 [tid=1910488272][chan=0] Clipping detected on received RACH or Normal Burst Jul 24 17:42:31 limenet-micro3 osmo-trx-lms[815]: Fri Jul 24 17:42:31 2020 DTRXDUL <0004> Transceiver.cpp:717 [tid=1910488272][chan=0] Clipping detected on received RACH or Normal Burst Jul 24 17:42:31 limenet-micro3 osmo-trx-lms[815]: Fri Jul 24 17:42:31 2020 DTRXDUL <0004> Transceiver.cpp:717 [tid=1910488272][chan=0] Clipping detected on received RACH or Normal Burst Jul 24 17:42:31 limenet-micro3 osmo-trx-lms[815]: Fri Jul 24 17:42:31 2020 DTRXDUL <0004> Transceiver.cpp:717 [tid=1910488272][chan=0] Clipping detected on received RACH or Normal Burst Jul 24 17:42:31 limenet-micro3 osmo-trx-lms[815]: Fri Jul 24 17:42:31 2020 DTRXDUL <0004> Transceiver.cpp:717 [tid=1910488272][chan=0] Clipping detected on received RACH or Normal Burst Jul 24 17:42:31 limenet-micro3 osmo-trx-lms[815]: Fri Jul 24 17:42:31 2020 DTRXDUL <0004> Transceiver.cpp:717 [tid=1910488272][chan=0] Clipping detected on received RACH or Normal Burst Jul 24 17:42:31 limenet-micro3 osmo-trx-lms[815]: Fri Jul 24 17:42:31 2020 DTRXDUL <0004> Transceiver.cpp:717 [tid=1910488272][chan=0] Clipping detected on received RACH or Normal Burst Jul 24 17:42:31 limenet-micro3 osmo-trx-lms[815]: Fri Jul 24 17:42:31 2020 DTRXDUL <0004> Transceiver.cpp:717 [tid=1910488272][chan=0] Clipping detected on received RACH or Normal Burst Jul 24 17:42:31 limenet-micro3 osmo-trx-lms[815]: Fri Jul 24 17:42:31 2020 DTRXDUL <0004> Transceiver.cpp:717 [tid=1910488272][chan=0] Clipping detected on received RACH or Normal Burst Jul 24 17:42:31 limenet-micro3 osmo-trx-lms[815]: Fri Jul 24 17:42:31 2020 DTRXDUL <0004> Transceiver.cpp:717 [tid=1910488272][chan=0] Clipping detected on received RACH or Normal Burst Jul 24 17:42:31 limenet-micro3 osmo-trx-lms[815]: Fri Jul 24 17:42:31 2020 DTRXDUL <0004> Transceiver.cpp:717 [tid=1910488272][chan=0] Clipping detected on received RACH or Normal Burst Jul 24 17:42:31 limenet-micro3 osmo-trx-lms[815]: Fri Jul 24 17:42:31 2020 DTRXDUL <0004> Transceiver.cpp:717 [tid=1910488272][chan=0] Clipping detected on received RACH or Normal Burst Jul 24 17:42:31 limenet-micro3 osmo-trx-lms[815]: Fri Jul 24 17:42:31 2020 DTRXDUL <0004> Transceiver.cpp:717 [tid=1910488272][chan=0] Clipping detected on received RACH or Normal Burst Jul 24 17:42:31 limenet-micro3 osmo-trx-lms[815]: Fri Jul 24 17:42:31 2020 DTRXDUL <0004> Transceiver.cpp:717 [tid=1910488272][chan=0] Clipping detected on received RACH or Normal Burst Jul 24 17:42:31 limenet-micro3 osmo-trx-lms[815]: Fri Jul 24 17:42:31 2020 DTRXDUL <0004> Transceiver.cpp:717 [tid=1910488272][chan=0] Clipping detected on received RACH or Normal Burst
Updated by ipse almost 4 years ago
Good idea about adding stats for this.
But please do not remove this log output - it's useful when debugging. Just move it to DEBUG level.
Updated by laforge almost 4 years ago
are potentially happening at every burst:
- empty burst (no energy in the channel)
- clipping detected
- no RACH or NB detected
We should have counter for (at least) all of these.
Given that we may have different radio carrier (ARFCN) and TS, the counters should
exist at least on a per-carrier basis, if not even on a per-TS basis.
Updated by pespin over 3 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 90
Available here: https://gerrit.osmocom.org/c/osmo-trx/+/19403 Transceiver: Add several rate_ctr for rx error conditions
Once merged the ticket can be closed.
Updated by pespin over 3 years ago
- Status changed from Feedback to Resolved
- % Done changed from 90 to 100
Merged, closing.