Bug 2849 - Received RLC and PDCP PDUs are missing in the stats files
Received RLC and PDCP PDUs are missing in the stats files
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: lte
ns-3-dev
All All
: P3 normal
Assigned To: Manuel Requena
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-11 11:08 UTC by Manuel Requena
Modified: 2018-02-20 09:54 UTC (History)
2 users (show)

See Also:


Attachments
Use also the RX pdus to get the IMSI/LCID pairs (1.69 KB, patch)
2018-01-11 11:29 UTC, Manuel Requena
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Requena 2018-01-11 11:08:30 UTC
Elena reports an issue with the RLC traces in the mailing list:
https://groups.google.com/forum/#!topic/ns-3-users/HHc_CmbgISo

To sum up, some transmitted RLC PDUs are lost in the stats file DlRlcStats.txt
Comment 1 Manuel Requena 2018-01-11 11:17:39 UTC
In WriteDlResults and WriteUlResults of RadioBearerStatsCalculator, we look for the unique IMSI/LCID pairs. But we only use the TX packets for this.

If the stats interval is very short, one PDU may be transmitted in one interval and received in the following so the received PDU is not taken into account in the stats file if the PDU is received in one interval where no PDU is sent.
Comment 2 Manuel Requena 2018-01-11 11:29:26 UTC
Created attachment 2996 [details]
Use also the RX pdus to get the IMSI/LCID pairs

This patch takes into account the RX pdus when computing the unique IMSI/LCID pairs. This is needed if there is no TX pdus in current interval.
Comment 3 Manuel Requena 2018-02-20 07:03:23 UTC
The problem can be reproduced with:
./waf --run "lena-simple-epc --ns3::RadioBearerStatsCalculator::EpochDuration=0.002 --numberOfNodes=1"
Comment 4 Manuel Requena 2018-02-20 09:54:28 UTC
push to changeset:   13299:44edef71b17e