Skip to contentSkip to conversation

iperf in 3 node batman-adv network

B.A.T.M.A.N. Max IP 2 participants 2 messages Jun 21, 2011

lore
Share & tools
lore

Max IP

author
#0 lore raw

Hi all,

I am implementing the 3 node batman-adv network.

A <---> B <---> C

B is the relay point for communication between A and C.

I have setup the batman-adv 2011.1.0 in all nodes and succesfully I can communicate and also use avahi between all nodes.

Now I want to calculate bandwidth, jitter and throughput patterns.

To calculate bandwidth, I used
iperf -s on machine A.

On machine B, I used
iperf -C <ip address of A>
This gave me a bandwidth of 89.1 Mbits/sec

On machine C, I used
iperf -c <ip address of A>
This gave me a bandwith of 89.0 Mbits/sec

Since, there is relay through B to reach C, I was expecting the bandwith from A to C to be less around half (say 50 Mbits/sec). Is my understanding correct?

Please help me.

Max

#1 lore raw

2011/6/21 Max IP <[email protected]>:

Quoted 8 lines

Hi all,

I am implementing the 3 node batman-adv network.

A <---> B <---> C

B is the relay point for communication between A and C.

The connection is 802.11 or ethernet? Does B have two separate interfaces to comunicate with A and B and partecipating to the mesh?

Quoted 12 lines

I have setup the batman-adv 2011.1.0 in all nodes and succesfully I can communicate and also use avahi between all nodes.

Now I want to calculate bandwidth, jitter and throughput patterns.

To calculate bandwidth, I used
iperf -s on machine A.

On machine B, I used
iperf -C <ip address of A>
This gave me a bandwidth of 89.1 Mbits/sec

Quoted 6 lines

On machine C, I used
iperf -c <ip address of A>
This gave me a bandwith of 89.0 Mbits/sec

Since, there is relay through B to reach C, I was expecting the bandwith from A to C to be less around half (say 50 Mbits/sec). Is my understanding correct?

From what you are saying I deduce that you are using ethernet cables. So 89 Mb/s is a perfectly valid result since ethernet is full duplex, this mean that node B can receive and send packet at the same time (this is not possible in wireless network).

Quoted 6 lines

Please help me.

Max

Signature · 1 line
Daniele Furlan