[Olsr-dev] [PATCH v1 0/3] Use bandwidth during gateway selection

Henning Rogge (spam-protected)
Fri Jul 27 12:50:53 CEST 2012


I would like to hear some comments about this from someone who has USED 
the SmartGW system.

*looking around on the mailing list*

Henning


On 07/26/2012 04:23 PM, Ferry Huberts wrote:
> From: Ferry Huberts <(spam-protected)>
>
>
> (this series applies on top of my previous gateway patch series)
>
>
> Hi guys,
>
> While reviewing the gateway code, I encountered something that works
> differently than Teco and I expected so we would like to change it.
>
> The problem: the current gateway selection code doesn't take the
> advertised uplink/downlink speeds into account, it only looks at the tc
> path cost (sum of ETX-link costs).
>
> The result of the current code is that the 'nearest' gateway is
> selected. We would like to change that to 'nearest fat pipe'.
>
> 'nearest fat pipe' is a bit fuzzy so we would like to propose the
> following:
>
> - We calculate a new path cost of
>
>      new_path_cost = (1 / (uplink + downlink)) + (tc_path_cost / 4)
>
>    (uplink and downlink in Mbps)
>    (the 1 and 4 are weighing factors and we can make then configurable)
>
> - Gateway selection is done based on new_path_cost
>
> PS. in this we assume that tc_path_cost=1 signifies that the WLAN speed is
>      reasonably good, say 4Mbps (but if that's different then we can tune it
>      with the weighing factors)
>
>
> Ferry Huberts (3):
>    gateway: also take gateway bandwidth into account...
>    cfg: add SmartGatewayWeightExitLink and SmartGatewayWeightEtx
>    pud: add SmartGatewayWeightExitLink and SmartGatewayWeightEtx
>
>   README-Olsr-Extensions              | 18 ++++++++
>   files/olsrd.conf.default.full       | 12 +++++
>   files/olsrd.conf.default.lq         | 12 +++++
>   files/olsrd.conf.default.lq-fisheye | 12 +++++
>   lib/pud/doc/olsrd.conf.default.pud  | 12 +++++
>   src/cfgparser/cfgfile_gen.c         | 18 ++++++++
>   src/cfgparser/olsrd_conf.c          |  4 ++
>   src/cfgparser/oparse.y              | 20 +++++++++
>   src/cfgparser/oscan.lex             | 10 +++++
>   src/gateway_default_handler.c       | 88 ++++++++++++++++++++++++++++++++++---
>   src/olsr_cfg.h                      |  4 ++
>   11 files changed, 203 insertions(+), 7 deletions(-)
>


-- 
Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Kommunikationssysteme (KOM)
Neuenahrer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961,   Fax +49 228 9435 685
mailto:(spam-protected) http://www.fkie.fraunhofer.de
GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6169 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20120727/6fbb4283/attachment.bin>


More information about the Olsr-dev mailing list