Repository : ssh://git@open-mesh.org/doc
On branches: batman-adv-doc,master
commit a4ea33448b5daa130f5ace9f0d4b9c178ca3d171 Author: Simon Wunderlich siwu@hrz.tu-chemnitz.de Date: Sat Apr 11 18:55:50 2009 +0200
update asymetry penalty section, add formula in text
a4ea33448b5daa130f5ace9f0d4b9c178ca3d171 batman_iv.docbook | 12 ++++++++++-- images/Makefile | 2 +- images/{tq_prop_calc.tex => asym_penalty_formula.tex} | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/batman_iv.docbook b/batman_iv.docbook index d98f5cbb..a73483fd 100644 --- a/batman_iv.docbook +++ b/batman_iv.docbook @@ -272,7 +272,15 @@ </inlinemediaobject> </para> <para> - Thus B.A.T.M.A.N. IV needs to penalize links that have have a poor receiving link quality. To avoid a simple hysteresis which completely turns on or off a link B.A.T.M.A.N. IV uses a mathematical function to give the receiving link quality stronger negative impact the weaker the link becomes. + Thus B.A.T.M.A.N. IV needs to penalize links that have have a poor receiving link quality. To avoid a simple hysteresis which completely turns on or off a link, B.A.T.M.A.N. IV uses the function + <inlinemediaobject> + <imageobject> <imagedata fileref="images/asym_penalty_formula.eps" format="EPS"/> </imageobject> + <imageobject> <imagedata fileref="images/asym_penalty_formula.png" format="PNG" /> </imageobject> + <textobject> <phrase>compute the asymetry penalty factor</phrase> </textobject> + </inlinemediaobject> + to weight the penalty for the receiving link quality. As visible in the plot below, small packet + loss will influence the link rating only a little, while huge packet loss will still have a severe + influence TQ. </para> <para> <inlinemediaobject> @@ -282,7 +290,7 @@ </inlinemediaobject> </para> <para> - This obtained value is calculated into the TQ before it gets rebroadcasted. Neighboring nodes can weight the routing decision based on this information. In some situations the weak link is the only link available, so you want to use it, whereas in other cases better connections may exist. + This obtained value is multiplicated on the TQ before it gets rebroadcasted. Neighboring nodes can weight the routing decision based on this information. In some situations the weak link is the only link available, so you want to use it, whereas in other cases better connections may exist. </para> <para> <inlinemediaobject> diff --git a/images/Makefile b/images/Makefile index 139f6e52..d003929f 100644 --- a/images/Makefile +++ b/images/Makefile @@ -6,7 +6,7 @@ DIA_IMAGES=asymetry.dia tq.dia eq.dia eq_alt1.dia eq_alt2.dia eq_alt3.dia rq.dia echo_cancel1.dia echo_cancel2.dia \ tq_prop_best1.dia tq_prop_best2.dia tq_prop_best3.dia \ announce_networks.dia multiple_announces.dia multiple_clients.dia -TEX_IMAGES=compute_tq.tex tq_prop_calc.tex +TEX_IMAGES=compute_tq.tex tq_prop_calc.tex asym_penalty_formula.tex PNG_IMAGES= $(DIA_IMAGES:.dia=.png) PNG_IMAGES+=$(GP_IMAGES:.gp=.png) PNG_IMAGES+=$(TEX_IMAGES:.tex=.png) diff --git a/images/tq_prop_calc.tex b/images/asym_penalty_formula.tex similarity index 65% copy from images/tq_prop_calc.tex copy to images/asym_penalty_formula.tex index 23b71086..577590b8 100644 --- a/images/tq_prop_calc.tex +++ b/images/asym_penalty_formula.tex @@ -1,6 +1,6 @@ \documentclass{article} \pagestyle{empty} \begin{document} -$TQ = TQ_{incoming} * TQ_{local}$ +$f_{asym} = (100% - (100% - {RQ})^3)$ \end{document}