From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Date: Thu, 16 Jul 2009 11:55:35 -0300 Message-ID: <8c906fa50907160755g41d2e437m11fa02c7fdde8cfb@mail.gmail.com> From: Gustavo Lindberg Content-Type: multipart/alternative; boundary=000e0cd2eb8c34c80c046ed3dde1 Subject: [B.A.T.M.A.N.] VIS labels Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: b.a.t.m.a.n@lists.open-mesh.net --000e0cd2eb8c34c80c046ed3dde1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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. --000e0cd2eb8c34c80c046ed3dde1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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. --000e0cd2eb8c34c80c046ed3dde1-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Fri, 17 Jul 2009 21:54:13 +0800 References: <8c906fa50907160755g41d2e437m11fa02c7fdde8cfb@mail.gmail.com> In-Reply-To: <8c906fa50907160755g41d2e437m11fa02c7fdde8cfb@mail.gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907172154.13655.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] VIS labels Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4A6094C9.8020109@gmail.com> Date: Fri, 17 Jul 2009 12:12:09 -0300 From: =?ISO-8859-1?Q?=22Sebasti=E1n_D=2E_Criado=22?= MIME-Version: 1.0 References: <8c906fa50907160755g41d2e437m11fa02c7fdde8cfb@mail.gmail.com> <200907172154.13655.lindner_marek@yahoo.de> In-Reply-To: <200907172154.13655.lindner_marek@yahoo.de> Content-Type: text/plain; charset="iso-8859-1"; format="flowed" Content-Transfer-Encoding: quoted-printable Subject: Re: [B.A.T.M.A.N.] VIS labels Reply-To: sebastian.criado@gmail.com, The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking El 17/07/09 10:54, Marek Lindner escribi=F3: > Hi, >=20 >> 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? >=20 > the number gives information about the link quality as batman measures it= .=20 > 1.00 means 100% link quality, 2.00 means 50%, etc.=20 Hi. Is 3 =3D 25% or 3 =3D 33,3 %? What function is in use? Regards --=20 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=EDa hecho en C, y correr=EDa sobre un sistema UNIX" An=F3nimo. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Sat, 18 Jul 2009 02:52:07 +0800 References: <8c906fa50907160755g41d2e437m11fa02c7fdde8cfb@mail.gmail.com> <200907172154.13655.lindner_marek@yahoo.de> <4A6094C9.8020109@gmail.com> In-Reply-To: <4A6094C9.8020109@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200907180252.07997.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] VIS labels Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking On Friday 17 July 2009 23:12:09 Sebasti=E1n D. Criado wrote: > Is 3 =3D 25% or 3 =3D 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 =3D 100 / $number Regards, Marek From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4A60FE9A.8040403@gmail.com> Date: Fri, 17 Jul 2009 19:43:38 -0300 From: =?ISO-8859-1?Q?=22Sebasti=E1n_D=2E_Criado=22?= MIME-Version: 1.0 References: <8c906fa50907160755g41d2e437m11fa02c7fdde8cfb@mail.gmail.com> <200907172154.13655.lindner_marek@yahoo.de> <4A6094C9.8020109@gmail.com> <200907180252.07997.lindner_marek@yahoo.de> In-Reply-To: <200907180252.07997.lindner_marek@yahoo.de> Content-Type: text/plain; charset="iso-8859-1"; format="flowed" Content-Transfer-Encoding: quoted-printable Subject: Re: [B.A.T.M.A.N.] VIS labels Reply-To: sebastian.criado@gmail.com, The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking El 17/07/09 15:52, Marek Lindner escribi=F3: > On Friday 17 July 2009 23:12:09 Sebasti=E1n D. Criado wrote: >> Is 3 =3D 25% or 3 =3D 33,3 %? >=20 > 3 is 33.3% and 4 is 25%. Ok. >=20 >=20 >> What function is in use? >=20 > Not sure that I get your question. Do you mean that: > link quality =3D 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.- --=20 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=EDa hecho en C, y correr=EDa sobre un sistema UNIX" An=F3nimo. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Sat, 18 Jul 2009 13:38:56 +0800 References: <8c906fa50907160755g41d2e437m11fa02c7fdde8cfb@mail.gmail.com> <200907180252.07997.lindner_marek@yahoo.de> <4A60FE9A.8040403@gmail.com> In-Reply-To: <4A60FE9A.8040403@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200907181338.56870.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] VIS labels Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking On Saturday 18 July 2009 06:43:38 Sebasti=E1n 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=20 earlier. Currently, batman uses a so called TQ value which expresses link=20 quality as well and has its max value at 255. Performance considerations le= d=20 to this kind of representation (you want to avoid float operations on embed= ded=20 devices). Imagine a link quality of 66.6%: 255 (TQ max) * 66.6% =3D 170 255 / 170 [orig_node->tq_max/(float)neigh->tq_avg] =3D 1.5 (vis label) 100 / 1.5 [100 / $number] =3D 66.6% (link quality) May be I should put that in the wiki somewhere ... :-) Regards, Marek From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4A61EB22.8060108@gmail.com> Date: Sat, 18 Jul 2009 12:32:50 -0300 From: =?ISO-8859-1?Q?=22Sebasti=E1n_D=2E_Criado=22?= MIME-Version: 1.0 References: <8c906fa50907160755g41d2e437m11fa02c7fdde8cfb@mail.gmail.com> <200907180252.07997.lindner_marek@yahoo.de> <4A60FE9A.8040403@gmail.com> <200907181338.56870.lindner_marek@yahoo.de> In-Reply-To: <200907181338.56870.lindner_marek@yahoo.de> Content-Type: text/plain; charset="iso-8859-1"; format="flowed" Content-Transfer-Encoding: quoted-printable Subject: Re: [B.A.T.M.A.N.] VIS labels Reply-To: sebastian.criado@gmail.com, The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking El 18/07/09 02:38, Marek Lindner escribi=F3: > On Saturday 18 July 2009 06:43:38 Sebasti=E1n D. Criado wrote: [...] >> Am I wrong? >=20 > The given code converts batman's own format into the format I mentioned=20 > earlier. Currently, batman uses a so called TQ value which expresses link= =20 > quality as well and has its max value at 255. Performance considerations = led=20 > to this kind of representation (you want to avoid float operations on emb= edded=20 > devices). Imagine a link quality of 66.6%: >=20 > 255 (TQ max) * 66.6% =3D 170 >=20 > 255 / 170 [orig_node->tq_max/(float)neigh->tq_avg] =3D 1.5 (vis label) >=20 > 100 / 1.5 [100 / $number] =3D 66.6% (link quality) Thank you very much Marek. I now understand it better >=20 > May be I should put that in the wiki somewhere ... :-) Yes. Sure that will be helpful for more people Saludos.- --=20 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=EDa hecho en C, y correr=EDa sobre un sistema UNIX" An=F3nimo.