[Olsr-dev] [PATCH 2/4] smart gateway: do not stop choosing a new (better) gateway
Thu Dec 8 08:51:07 CET 2011
On 12/08/2011 08:44 AM, Ferry Huberts wrote:
>> Have to look at this more closely. The idea behind the "default" gateway
>> selector is to select a gateway and stick with it until its gone. Maybe
>> "gone" is a bit too late, but if we start choosing another gateway too
>> early, we might get gateway-flapping again.
> However, in our highly mobile networks we have to do something.
> This is a short term solution to make it work, and sending out the
> patches was also meant to start a discussion on the best solution ;-)
> The usual solution is to use some form of hysteresis. We might do
> something like 'if there is a better gateway for at least x seconds,
> then switch to it'.
> What do you think?
I think there should be some API calls to overwrite the gateway selector
from a plugin, so maybe we could put your selector into one so users can
choose between them.
At least that was the plan when I designed the code, I don't think
anyone has ever wrote a Smart-GW plugin.
Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Neuenahrer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961, Fax +49 228 9435 685
GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6156 bytes
Desc: S/MIME Cryptographic Signature
More information about the Olsr-dev