2011/7/11 Max Ip ipmax2011@googlemail.com:
Hi all,
I have network connection of two laptops connected through wifi in Access Point mode with bandwidth 54Mbps (802.11g).
Laptop A ---- Access point ------ Laptop B 192.168.1.2 ---- 192.168.1.220 ------ 192.168.1.3
I used netperf to measure the bandwidth and CPU utilization
Without installing batman-adv on Laptop A and Laptop B , the results of netperf are:
netperf -H 192.168.1.3 -t TCP_STREAM -l 10 -c
TCP throughput : 11.89 Mbps TCP CPU usage: 1.73 %
netperf -H 192.168.1.3 -t UDP_STREAM -l 10 -c
UDP throughput: 22.5 Mbps UDP CPU usage: 1.8 %
Now, after I installed batman-adv 2011.1.0 on Laptop A and Laptop B. To the nodes Laptop A and Laptop B I assigned IP address:
sudo ifconfig bat0 10.42.43.1 (laptop A) sudo ifconfig bat0 10.42.43.2 (laptop B)
The protocol runs fine and the originators are seen on both sides. Also, the avahi-discover shows both laptops. When I now tried to measure the throughput,
netperf -H 192.168.1.3 -t TCP_STREAM -l 10 -c
TCP throughput : 9.23 Mbps TCP CPU usage: 3.91 %
netperf -H 192.168.1.3 -t UDP_STREAM -l 10 -c
UDP throughput: 3200 Mbps UDP CPU usage: 51%
The real throughput is what you read in the second line of the results of netperf. The value you have reported refer on the packet sent (first row of resutls) and not to the packets correctly received.
Furtermore it is better to "pace" the load offered by netperf using options -b and -w as you can read in: http://www.netperf.org/svn/netperf2/tags/netperf-2.4.5/doc/netperf.html
Why would the UDP throughput be so high? There is no possibility to have it so high. Is it because of the bad configuration in access point as it is non batman interface or sth else?
What do you think?
Thanks.
Max
Max
Regards