* [B.A.T.M.A.N.] VIS labels
@ 2009-07-16 14:55 Gustavo Lindberg
2009-07-17 13:54 ` Marek Lindner
0 siblings, 1 reply; 7+ messages in thread
From: Gustavo Lindberg @ 2009-07-16 14:55 UTC (permalink / raw)
To: b.a.t.m.a.n
[-- Attachment #1: Type: text/plain, Size: 647 bytes --]
Hi
I would like to know where I can find information about the data that
the VIS Server gives. More precisely the label on each link and its
relation with the link quality that B.A.T.M.A.N. gives.
Also, which is the general criteria to know from which number, that
the output shows, is considered a good, regular, bad or "imposible to
use" link?
An example:
digraph topology
{
"5.174.37.225" -> "5.224.160.202"[label="2.13"]
"5.174.117.226" -> "5.174.37.225"[label="5.00"]
"5.174.117.226" -> "0.0.0.0/0.0.0.0"[label="HNA"]
"5.224.160.202" -> "5.174.37.225"[label="1.28"]
"5.224.160.202" -> "0.0.0.0/0.0.0.0"[label="HNA"]
}
Thanks in advance.
[-- Attachment #2: Type: text/html, Size: 1012 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [B.A.T.M.A.N.] VIS labels
2009-07-16 14:55 [B.A.T.M.A.N.] VIS labels Gustavo Lindberg
@ 2009-07-17 13:54 ` Marek Lindner
2009-07-17 15:12 ` "Sebastián D. Criado"
0 siblings, 1 reply; 7+ messages in thread
From: Marek Lindner @ 2009-07-17 13:54 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
Hi,
> Also, which is the general criteria to know from which number, that
> the output shows, is considered a good, regular, bad or "imposible to
> use" link?
the number gives information about the link quality as batman measures it.
1.00 means 100% link quality, 2.00 means 50%, etc. Basically the idea is that
the number tells you how many packets you need to send in order to get a
single successful transmission. HNA are announced networks which do not run
batman.
The criteria for a good / bad / regular / etc link is rather subjective and
depends on your demands. Do you need high throughput or just a few bytes per
week ? A live video stream over a link which looses more than 50% of the
packets requires quite some patience. ;-)
Regards,
Marek
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [B.A.T.M.A.N.] VIS labels
2009-07-17 13:54 ` Marek Lindner
@ 2009-07-17 15:12 ` "Sebastián D. Criado"
2009-07-17 18:52 ` Marek Lindner
0 siblings, 1 reply; 7+ messages in thread
From: "Sebastián D. Criado" @ 2009-07-17 15:12 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
El 17/07/09 10:54, Marek Lindner escribió:
> Hi,
>
>> Also, which is the general criteria to know from which number, that
>> the output shows, is considered a good, regular, bad or "imposible to
>> use" link?
>
> the number gives information about the link quality as batman measures it.
> 1.00 means 100% link quality, 2.00 means 50%, etc.
Hi.
Is 3 = 25% or 3 = 33,3 %?
What function is in use?
Regards
--
Sebastian.Criado@gmail.com - GPG: 1024D/FB208AA2
797A 6D01 B7FC B8C7 AD5E|counter.li.org: #146768
2A50 66E6 2FFB FB20 8AA2|http://www.lugro.org.ar
http://noalamatricula.wordpress.com/about/ read!
"Si el Universo fuera un programa estaría hecho
en C, y correría sobre un sistema UNIX" Anónimo.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [B.A.T.M.A.N.] VIS labels
2009-07-17 15:12 ` "Sebastián D. Criado"
@ 2009-07-17 18:52 ` Marek Lindner
2009-07-17 22:43 ` "Sebastián D. Criado"
0 siblings, 1 reply; 7+ messages in thread
From: Marek Lindner @ 2009-07-17 18:52 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
On Friday 17 July 2009 23:12:09 Sebastián D. Criado wrote:
> Is 3 = 25% or 3 = 33,3 %?
3 is 33.3% and 4 is 25%.
> What function is in use?
Not sure that I get your question. Do you mean that:
link quality = 100 / $number
Regards,
Marek
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [B.A.T.M.A.N.] VIS labels
2009-07-17 18:52 ` Marek Lindner
@ 2009-07-17 22:43 ` "Sebastián D. Criado"
2009-07-18 5:38 ` Marek Lindner
0 siblings, 1 reply; 7+ messages in thread
From: "Sebastián D. Criado" @ 2009-07-17 22:43 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
El 17/07/09 15:52, Marek Lindner escribió:
> On Friday 17 July 2009 23:12:09 Sebastián D. Criado wrote:
>> Is 3 = 25% or 3 = 33,3 %?
>
> 3 is 33.3% and 4 is 25%.
Ok.
>
>
>> What function is in use?
>
> Not sure that I get your question. Do you mean that:
> link quality = 100 / $number
In http://www.open-mesh.net/browser/trunk/vis/vis.c
i saw the following calculation.
orig_node->tq_max/(float)neigh->tq_avg
for link quality (VIS label).
If this is correct, would not be so linear.
Am I wrong?
Saludos.-
--
Sebastian.Criado@gmail.com - GPG: 1024D/FB208AA2
797A 6D01 B7FC B8C7 AD5E|counter.li.org: #146768
2A50 66E6 2FFB FB20 8AA2|http://www.lugro.org.ar
http://noalamatricula.wordpress.com/about/ read!
"Si el Universo fuera un programa estaría hecho
en C, y correría sobre un sistema UNIX" Anónimo.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [B.A.T.M.A.N.] VIS labels
2009-07-17 22:43 ` "Sebastián D. Criado"
@ 2009-07-18 5:38 ` Marek Lindner
2009-07-18 15:32 ` "Sebastián D. Criado"
0 siblings, 1 reply; 7+ messages in thread
From: Marek Lindner @ 2009-07-18 5:38 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
On Saturday 18 July 2009 06:43:38 Sebastián D. Criado wrote:
> In http://www.open-mesh.net/browser/trunk/vis/vis.c
> i saw the following calculation.
>
> orig_node->tq_max/(float)neigh->tq_avg
>
> for link quality (VIS label).
>
> If this is correct, would not be so linear.
> Am I wrong?
The given code converts batman's own format into the format I mentioned
earlier. Currently, batman uses a so called TQ value which expresses link
quality as well and has its max value at 255. Performance considerations led
to this kind of representation (you want to avoid float operations on embedded
devices). Imagine a link quality of 66.6%:
255 (TQ max) * 66.6% = 170
255 / 170 [orig_node->tq_max/(float)neigh->tq_avg] = 1.5 (vis label)
100 / 1.5 [100 / $number] = 66.6% (link quality)
May be I should put that in the wiki somewhere ... :-)
Regards,
Marek
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [B.A.T.M.A.N.] VIS labels
2009-07-18 5:38 ` Marek Lindner
@ 2009-07-18 15:32 ` "Sebastián D. Criado"
0 siblings, 0 replies; 7+ messages in thread
From: "Sebastián D. Criado" @ 2009-07-18 15:32 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
El 18/07/09 02:38, Marek Lindner escribió:
> On Saturday 18 July 2009 06:43:38 Sebastián D. Criado wrote:
[...]
>> Am I wrong?
>
> The given code converts batman's own format into the format I mentioned
> earlier. Currently, batman uses a so called TQ value which expresses link
> quality as well and has its max value at 255. Performance considerations led
> to this kind of representation (you want to avoid float operations on embedded
> devices). Imagine a link quality of 66.6%:
>
> 255 (TQ max) * 66.6% = 170
>
> 255 / 170 [orig_node->tq_max/(float)neigh->tq_avg] = 1.5 (vis label)
>
> 100 / 1.5 [100 / $number] = 66.6% (link quality)
Thank you very much Marek.
I now understand it better
>
> May be I should put that in the wiki somewhere ... :-)
Yes. Sure that will be helpful for more people
Saludos.-
--
Sebastian.Criado@gmail.com - GPG: 1024D/FB208AA2
797A 6D01 B7FC B8C7 AD5E|counter.li.org: #146768
2A50 66E6 2FFB FB20 8AA2|http://www.lugro.org.ar
http://noalamatricula.wordpress.com/about/ read!
"Si el Universo fuera un programa estaría hecho
en C, y correría sobre un sistema UNIX" Anónimo.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-07-18 15:32 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-16 14:55 [B.A.T.M.A.N.] VIS labels Gustavo Lindberg
2009-07-17 13:54 ` Marek Lindner
2009-07-17 15:12 ` "Sebastián D. Criado"
2009-07-17 18:52 ` Marek Lindner
2009-07-17 22:43 ` "Sebastián D. Criado"
2009-07-18 5:38 ` Marek Lindner
2009-07-18 15:32 ` "Sebastián D. Criado"
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox