On Monday, January 07, 2013 23:26:10 Jan Lühr wrote:
Ok, I make one - for Link-Usability (or attractiveness, or whatever you like) LU, Gateway-Class GC and TQ: LU = (1 - gw_bw_weight) * TQ + gw_bw_weight * GC
gw_tq_threshold should then be renamed to gw_lu_threshold.
However, that implies, that TQ and GC should are linear in LU and that min( TQ ) = min ( GC ) as well as max ( TQ ) = max( GC ). I'll be fine with the assuming that TQ and GC should be linear in LU - GC can be scaled such that the min / max condition holds LU = (1 - gw_bw_weight) * TQ + gw_bw_weight * ( c1 * GC + c2) (for contants c1, c2)
@Marek, Nico : What Do you think?
May I propose that we schedule an IRC discussion for this topic ? I lost track of what you are actually trying to achieve and I see things getting more and more complicated. Whatever idea you come up with keep in mind that somebody has to do the following before this solution can be merged:
* batman-adv code has to be written, tested & debugged * batman-adv kernel doc has to be written * batctl code has to be written, tested & debugged * man page has to be updated * user documentation for $your_new_mechanism has to be written
Unless you manage to convince somebody else to do the work for you that somebody who has to do all work will be you. In other words: It is in your best interest to keep things as simple as possible. :-)
Cheers, Marek