Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2017-07-13,master
commit 3ebc118265b912050fdc6d6740f33da425aef370 Author: Simon Wunderlich sw@simonwunderlich.de Date: Tue Mar 6 20:36:40 2012 +0000
doc: batman-adv/Multi-link-optimize-old
3ebc118265b912050fdc6d6740f33da425aef370 batman-adv/Multi-link-optimize-old.textile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+)
diff --git a/batman-adv/Multi-link-optimize-old.textile b/batman-adv/Multi-link-optimize-old.textile new file mode 100644 index 00000000..2a06a3f7 --- /dev/null +++ b/batman-adv/Multi-link-optimize-old.textile @@ -0,0 +1,27 @@ +h1. Multi-link Optimization + +batman-adv is able to work on different interfaces - multiple WiFi interfaces, but also Ethernet interfaces. If two nodes are interconnected through batman-adv on multiple interfaces, they may leverage some features to increase throughput, which are explained here. + +For more technical information, please see [[Bonding-alternating]] + +h2. Interface alternating + +With Interface alternating, batman-adv forwards frames on a different interface than on which the frame was received. The purpose of this alternation is to reduce interference (we can either send or receive on a WiFi interface at one time) and to balance the network load better on the available interfaces, and eventually increases throughput. The mechanism is illustrated below for a chain of nodes with two interfaces. + +!alternation_chain.dia.jpg! + +Interface alternating is only performed if the two candidate links to the next hop have a similar quality. This feature is enabled by default and does not have to be enabled manually. + +h2. Interface bonding + +When multiple links (with similar transmit quality) are available to the same neighbor, batman-adv may distribute the frames to be sent over these available links. The individual frames are sent over the links in a round robin fashion as illustrated below. Using this technique, the throughput may be increased by the number of links involved in the bonding. In practical tests over two WiFi links, we have seen more than 50%25 of throughput gain. + +!bonding_roundrobin.dia.jpg! + +However, if the links have different speeds (batman-adv won't detect that), the throughput may even decrease due to the slower link slowing down the whole bonding. Therefore, this feature must be explicitly enabled. One may enable it for certain nodes in a known environment, the same setting does not have to be applied mesh wide. + +To enable bonding, use batctl: + +<pre> +batctl bonding enable +</pre>