Hi David,
I don't have a straight answer to your problem, but just some comments that I hope will help you shed some light on this, see below.
On Monday, November 26, 2012 1:11:55 PM UTC+1, dgomez wrote:
The links among the nodes are defined as you can see in the figure,
but with a exception that worths highlighting: the lines represent which nodes are able to correctly receive the packet from others (the signal received are greater than the YansWifiPhy's "EnergyDetectionThreshold");
well, the ED threshold alone does not guarantee correct reception, just correct synchronization to a signal being RX. I suggest to check the SINR of each link and compare with the WifiMode being used.
- If I configure the scenario under a saturated situation (the sum of the application - OnOffApplication- data rates is higher than the overall channel's capacity), the distribution between the two flows is actually "unfair", since the first one to access to the channel get almost all the bandwidth, while the second one could one make residual transmissions; obviously, whenever the transmission of the first flow ends, the second one has all the resources for itself (I have attached the TCP ACK number as a function of the elapsed time - see the figure ).
I actually see that the second flow starts in the middle of the transmission of the first flow. I am not surprised that the TCP slow start phase of the second flow is very slow, as the link is congested by the first flow. The point is: why does the second flow start so late? It could be some issue such as a lost ARP request or TCP SYN that needs retransmission (which is done after a few seconds).
- On the other hand, with a non-saturated channel, the distribution between the flows follows a more logical pattern. Anyway, although both applications start simultaneously (t = 45''), there is a non-negligible delay with one of the connection (~2''). Please see the figure.
try not to start applications at the exact same time. This is a simulation artifact that is known to cause problems (e.g., lost ARP requests).
My PhD director has an initial theory: he thinks it could be the 802.11 MAC DCF scheme, where a flow gets a total control of the channel, sending the frames in bursts (without contending for the channel).
I don't think this is the case.
Regards,
Nicola