All of lore.kernel.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] batctl.8 suggested correction.
@ 2013-03-03 20:20 cmsv
  2013-03-03 21:03 ` Antonio Quartulli
  0 siblings, 1 reply; 2+ messages in thread
From: cmsv @ 2013-03-03 20:20 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Having in mind that throughput and bandwidth are not the same and do not necessarily match; the use of the word "throughput" in batman-adv (Layer2) 
is misleading and can cause confusion when in measuring the real throughput on layer3 with L3 software.

As far as i know; at the moment batman-adv (L2) has no way to know what is the real throughput that the announced gateway bandwidth (l3) actually allows therefore the "
throughput" should be changed to announced bandwidth. 

Example:

              If the node is a gateway client the parameter will decide which
              criterias to consider when the batman-adv module has to choose
              between different internet connections announced by the afore-
              mentioned servers.
                        default: 20 -> late switch (TQ 20)
                       examples:  1 -> fast connection
                                       consider the gateway's advertised
                                       bandwidth as well as the link quality
                                       towards the gateway and stick with the
                                       selection until the gateway disappears
                                  2 -> stable connection
                                       chooses the gateway with the best link
                                       quality and sticks with it (ignore the
                                       advertised bandwidth)
                                  3 -> fast switch connection
                                       chooses the gateway with the best link
                                       quality but switches to another gateway
                                       as soon as a better one is found
                                 XX -> late switch connection
                                       chooses the gateway with the best link
                                       quality but switches to another gateway
                                       as soon as a better one is found which
                                       is at least XX TQ better than the cur-
                                       rently selected gateway (XX has to be a
                                       number between 3 and 256).


-- 






Redes wireless
http://wirelesspt.net


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [B.A.T.M.A.N.] batctl.8 suggested correction.
  2013-03-03 20:20 [B.A.T.M.A.N.] batctl.8 suggested correction cmsv
@ 2013-03-03 21:03 ` Antonio Quartulli
  0 siblings, 0 replies; 2+ messages in thread
From: Antonio Quartulli @ 2013-03-03 21:03 UTC (permalink / raw)
  To: cmsv, The list for a Better Approach To Mobile Ad-hoc Networking

[-- Attachment #1: Type: text/plain, Size: 2724 bytes --]

Hello,

On Sun, Mar 03, 2013 at 03:20:54 -0500, cmsv wrote:
> Having in mind that throughput and bandwidth are not the same and do not necessarily match; the use of the word "throughput" in batman-adv (Layer2) 
> is misleading and can cause confusion when in measuring the real throughput on layer3 with L3 software.
> 
> As far as i know; at the moment batman-adv (L2) has no way to know what is the real throughput that the announced gateway bandwidth (l3) actually allows therefore the "
> throughput" should be changed to announced bandwidth. 
> 

Yeah, batman-adv does not know anything about the real throughput.

> Example:
> 
>               If the node is a gateway client the parameter will decide which
>               criterias to consider when the batman-adv module has to choose
>               between different internet connections announced by the afore-
>               mentioned servers.
>                         default: 20 -> late switch (TQ 20)
>                        examples:  1 -> fast connection
>                                        consider the gateway's advertised
>                                        bandwidth as well as the link quality
>                                        towards the gateway and stick with the
>                                        selection until the gateway disappears
>                                   2 -> stable connection
>                                        chooses the gateway with the best link
>                                        quality and sticks with it (ignore the
>                                        advertised bandwidth)
>                                   3 -> fast switch connection
>                                        chooses the gateway with the best link
>                                        quality but switches to another gateway
>                                        as soon as a better one is found
>                                  XX -> late switch connection
>                                        chooses the gateway with the best link
>                                        quality but switches to another gateway
>                                        as soon as a better one is found which
>                                        is at least XX TQ better than the cur-
>                                        rently selected gateway (XX has to be a
>                                        number between 3 and 256).
> 
> 

I think this change is correct. Why not sending a patch that we can directly
apply in the batctl repository?

Thanks.
Cheers,

-- 
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-03 21:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-03 20:20 [B.A.T.M.A.N.] batctl.8 suggested correction cmsv
2013-03-03 21:03 ` Antonio Quartulli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.