Bugzilla – Bug 2585
OLSR model does not scale above 300 nodes
Last modified: 2016-12-14 12:17:57 EST
the OLSR model does not scale well due to increasing (probably squared) number of HELLO-messages per physical node, when more than 300 nodes are in one mesh. There are several broadcast messages (HELLOs) which can collide and hence not have an optimal path. The standard does not specify any flood control mechanism, and none is implemented in ns-3. You can only control the frequency of the broadcasts.
dear lalith suresh, please get back to me if you have a workaround or any idea how to decrease the size of the messages or properly increase the frequency of the hello-message cycles.
What do you propose the model should do?
In general, protocols like OLSR do not scale indefinitely with the size of the broadcast (flooding) domain. The typical solution is to partition the broadcast domains.
I don't see this as a bug. As Tom said, OLSR isn't meant to scale indefinitely.
If too many nodes are within each other's broadcast range, their messages will collide.
Keep in mind that ns-3's OSLR implementation does "jitter" packet transmissions to avoid collisions since the clocks are synchronized across nodes (see OLSR_MAXJITTER and JITTER macros in src/olsr/model/olsr-routing-protocol.cc). But it looks like that isn't helping your scenario either.
I understand that with increasing size of the broadcast domain comes more control traffic.
Is it at all possible to either decrease the frequency at which this control traffic is generated? I was looking into the model settings on "HelloInterval" and "TCinterval" yet it does not do the trick.
Or is it possible to define nodes that are responsible for broadcasting, while others only passively listen?
Partitioning the broadcast domains would be my last resort.
(In reply to peter eder-neuhauser from comment #4)
> I understand that with increasing size of the broadcast domain comes more
> control traffic.
> Is it at all possible to either decrease the frequency at which this control
> traffic is generated? I was looking into the model settings on
> "HelloInterval" and "TCinterval" yet it does not do the trick.
I would suggest increasing the Hello/TC intervals and playing with the JITTER macro that I mentioned above.
> Or is it possible to define nodes that are responsible for broadcasting,
> while others only passively listen?
There are no turn-key mechanisms to do that in the code.
Thank you I will try that and get back to you.