Bug 1630 - spurious RX packets in DlRlcStats
spurious RX packets in DlRlcStats
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: lte
ns-3-dev
All All
: P5 normal
Assigned To: Nicola Baldo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-19 12:46 UTC by Nicola Baldo
Modified: 2013-05-31 10:01 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicola Baldo 2013-04-19 12:46:20 UTC
Reported on ns-3-users:
https://groups.google.com/forum/?fromgroups=#!topic/ns-3-users/mObbn4aD0vk

Reproduceable with ns-3-dev changeset:   9694:eb7335c2423c

$ ./waf --run lena-dual-stripe --command="%s --epc=1 --macroUeDensity=0 --nMacroEnbSites=0 --nBlocks=1 --simTime=1 --homeEnbDeploymentRatio=0.025 --homeEnbActivationRatio=1"
Waf: Entering directory `/locale/ns-3-dev/build'
Waf: Leaving directory `/locale/ns-3-dev/build'
'build' finished successfully (2.635s)

nicola@pcnbaldo:/locale/ns-3-dev$ cat DlRlcStats.txt
% start	end	CellId	IMSI	RNTI	LCID	nTxPDUs	TxBytes	nRxPDUs	RxBytes	delay	stdDev	min	max	PduSize	stdDev	min	max
0	0.25	1	1	1	4	229	241841	227	239729	0.003	0	0.003	0.003	1056.07	232.623	81	2196	
0.25	0.5	1	1	1	4	249	262944	250	264000	0.003	0	0.003	0.003	1056	0	1056	1056	
0.5	0.75	1	1	1	4	249	262944	250	264000	0.003	0	0.003	0.003	1056	0	1056	1056	
0.75	1	1	1	1	4	249	262944	250	264000	0.003	0	0.003	0.003	1056	0	1056	1056


total nTxPDUs: 976 
total nRxPDUs: 977

note that by enabling PHY traces it is evident that 977 TBs are actually transmitted, and no RX error nor HARQ retransmission occurs.
Comment 1 Nicola Baldo 2013-04-19 13:01:09 UTC
Seems a bug in RadioBearerStatsCalculator, in fact using 
--ns3::RadioBearerStatsCalculator::EpochDuration=1s
it reports a total of 979 TX PDUs, and with
--ns3::RadioBearerStatsCalculator::EpochDuration=0.1s
it reports a total of 970 TX PDUs

The number of RX PDUs reported is the same in all cases.
Comment 2 Nicola Baldo 2013-05-31 10:01:17 UTC
changeset:   9819:383faf43ae39
tag:         tip
user:        Nicola Baldo <nbaldo@cttc.es>
date:        Fri May 31 15:54:42 2013 +0200
summary:     fixed Bug 1630 - spurious RX packets in DlRlcStats