Dear all,
I noticed an issue of Flow Monitor issue when counting UDP throughput in LTE.
I configured 1 BS and 30 UEs (and corresponding 30 RHs and 30 PointToPointHelper), UEs are the same (same location, same requirement controlled by P2PHelper), but they join the network one by one (there is a new UE joins the network in every 3 seconds), so the BS will has 1 UE, 2 UEs, 3 UEs... 30 UEs, and it becomes congested at some point. See below figure (also attached), each curve is one UE's throughput (there are, 30 curves), plotted from results of each UE's Flow Monitor. You see that the start time of each curve is different, indicating the "joining time" for each UE. Their sending rate (controlled by the bandwidth of the P2PHelper) is the highest throughput you see at very beginning (~220000B/s), when BS is not congested. But after ~30s, you see that the throughput drops due to more UE joins and thus congests the BS. (BTW, there is a special black dotted curve, which is the sum of all UEs' throughputs, and its scale is on the Y-axis of the right hand side.)

Till this point, the experiment works fine. The "Lost Packet" from Flow Monitor are always 0, even though Tx Packets are a lot more than the Rx Packets (I have a quick question here, can someone tell me what is the definition of the "Lost Packet" from the Flow Monitor? Packets not delivered in 10 seconds?) The issue is, notice the time after ~60s, those throughputs suddenly become 0 (a vertical line for each curve), one by one. This throughput going to 0 is because the Flow Monitor's output says that the "received packets" for each flow would not increase (no more received packets), instead, there are packet losses (if those packet losses are counted as "received packet", then there is no issue). Basically, Flow Monitor says that there is no new packets received for all the flows (but I don't think this is UDP issue, because if some UE's UDP flow dead, then other UEs would get more resources and then you won't see such perfect trend on the figure). I suspect that Flow Monitor somehow count packets as packet loss, and would not increase "received packet", and then lead to this issue.
I don't know what is the reason for this issue. If I use TCP instead of UDP, there is no such issue.
Thank you for your help in advance. I attached the source code and the output of Flow Monitor.
I also want to know, is there another way to track UDP throughput in LENA? I am using output of Flow Monitor and analyze the output file and ploy by myself, and I really want to know if there are other methods to do this...
Thanks,
Xing