Hi all,
I am trying to evaluate a WiFi (802.11g) infraestucture scenario when the number of STAs is increased (and when we have only a user, but its offered rate is increased). In both cases, I get a lot of packet drops and thoughput behaviour is strange, specially when a I changed the simulation time. Packet drop increases a lot when the simulation is increased. I want to investigate the reason of drops using flowmonitor, but I got other strange results.
When a I run the attached script, I can see that there are packets lost in my flowmonitor results, but (iter->second.packetsDropped) is always equal to zero. In this way, flowmonitor does not help me to figure out the reasons of dropping.
Should I need to configure something to get Drop Reason code? Please can someone give me a suggestion how to find out the cause for these lost packets.
I also attached the xml results from flowmonitor. For one flow in DL (AP to STA) and the other in UL (STA to AP), I got the following results:
Flow 1:
txPackets=833340
rxPackets=92868
lostPackets=660606
Can someone explain the reason of (rxPacktes + lostPackets = 753474) is different (smaller than) of (txPackets = 833340).
Flow 2:
txPackets=833340
rxPackets=92217
lostPackets=661201
BTW, I configure 100 Mpbs of offered rate to get packet drop faster.
BR
Vicente Sousa
Hello Tommaso,
I'm
back trying to understand a bit more this issue. I reduced offered
traffic load (1e3) and it is still having lost packets, even if the
network has only one AP and one STA (with DL and UP Traffic - two UDP flows).
Considering, that we have 802.11g (and I'm using AarfWifiManager as the rate adaptation scheme), it is a bit strange result, isn't it?
I
also reduced the simulation grid to a 10X10 meters square, set
channel to default Yans and set ON-OFF traffic to 50% (ON)/ 50%
(OFF), but I'm still getting of about 50% of Packet Loss Ratio for a
simulation of 200s.
Do you give me any suggestion to explain
the reason I have a clogged network with this configuration and so low offered CBR
traffic? I have not undestand why, in this situation, the packets have been recorded as sent, but it never reached its final destination.
Do you suggest to abandon Flowmonitor and get
metrics at MAC layer (Tput, Delay, etc)? Do you have any hint how to do this?
Does anybody else help me? I wonder if I am configuring or understand anything wrong (my script could be found in my first message).
Thanks in advance,
Vicente Sousa