Nevermind, I seem to have found my solution after reading some
previous posts and some tinkering. It seems I wasn't leaving enough
time for OLSR to do its work. Now that I've started the application
traffic after a longer wait (100s) it seems to work fine! Sorry for
the trouble!
> Nevermind, I seem to have found my solution after reading some
> previous posts and some tinkering. It seems I wasn't leaving
> enough
> time for OLSR to do its work. Now that I've started the
> application
> traffic after a longer wait (100s) it seems to work fine!
> Sorry for
> the trouble!
>
> I think it's not just OLSR that needs to do its work. OLSR should
> converge in much less than 30 seconds. Probably it's that old
> "problem" (for lack of better word) of 802.11 rate control not
> adapting unicast rate fast enough. The sort of thing you never think
> about, analytically, but which reality, or an accurate simulator,
> never forgives :-)
This looks like a great candidate for the "ns-3 quote of the week" :)
Mathieu
Since this rate control convergence seems to trip up users repeatedly,
we probably need to document better that Arf rate control typically
needs a large amount of time or packets to converge. OLSR gets a bad
reputation from this phenomenon.
Or else, do not use Arf and use something like constant rate for the
default in the wifi helper. However, that will probably in the long run
be more harmful because it will not lead to better methodology (i.e.
users need to understand and be able to check that their simulations
reach a steady state). So, I'd vote for making an OLSR ad hoc example
and putting some explicit startup delay in the script, accompanied by a
comment about this behavior.
Tom
broadcast udp packets are sent using the lowest transmission rate, that
is, the transmission rate with the highest transmission range while
other ip unicast packets are sent using a higher transmission rate, that
is, a transmission rate with a lower transmission range.
Mathieu
it is 6mbs but you can look at the output of NS_LOG=YansWifiPhy to
check.
Mathieu