[Olsr-users] Data throughput with iperf3

Said Uçar (spam-protected)
Tue Dec 11 13:13:43 CET 2018


Hi all,


I'm trying to do some performance tests using olsrd v2 on Raspberry Pi3 
with wlan0 interface using 2 Raspberry Pi without Access Point. I 
followed up the steps on github readme page to run olsrd. I have two pi3 
(/let's call them PiA and PiB/).  I fetched the source codes and 
compiled without any problem. Then I executed the following commands for 
PiA;

    sudo iw wlan0 set type ibss
    sudo ip link set wlan0 up
    sudo iw wlan0 ibss join my-mesh 2432 key d:2:abcde
    sudo ip addr add *14.15.16.1*/24 dev wlan0
    sudo olsrd2_dlep_static --set=log.info=nhdp_r wlan0

Then the same commands for PiB;

    sudo iw wlan0 set type ibss
    sudo ip link set wlan0 up
    sudo iw wlan0 ibss join my-mesh 2432 key d:2:abcde
    sudo ip addr add *14.15.16.2*/24 dev wlan0
    sudo olsrd2_dlep_static --set=log.info=nhdp_r wlan0


After running olsrd2 for both pi, I started to see logs in both console. 
Below is the sample logs I see on PiA console;

12:00:57.126 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411: Incoming 
message type 0 from 14.15.16.*2*:269 through any (addrlen = 4), got 
message tlvs
12:00:57.127 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411: Incoming 
message type 0 from 14.15.16.*2*:269 through wlan0 (addrlen = 4), got 
message tlvs
12:00:59.226 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411: Incoming 
message type 0 from 14.15.16.*2*:269 through any (addrlen = 4), got 
message tlvs
12:00:59.227 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411: Incoming 
message type 0 from 14.15.16.*2*:269 through wlan0 (addrlen = 4), got 
message tlvs

And here is the logs that I see on PiB console;

12:00:25.350 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411: Incoming 
message type 0 from 14.15.16.*1*:269 through any (addrlen = 4), got 
message tlvs
12:00:25.351 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411: Incoming 
message type 0 from 14.15.16.*1*:269 through wlan0 (addrlen = 4), got 
message tlvs
12:00:27.450 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411: Incoming 
message type 0 from 14.15.16.*1*:269 through any (addrlen = 4), got 
message tlvs
12:00:27.451 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411: Incoming 
message type 0 from 14.15.16.*1*:269 through wlan0 (addrlen = 4), got 
message tlvs

So far so good, I assumed. Then, to measure bandwidth, I used iperf3. 
Started server on PiA with '/iperf3 -s/' command and started a client on 
PiB using '/iperf3 -c 14.15.16.1/' command. And the results are below 
respectively;


------------------------------------------------------------------------

(spam-protected):~ $ iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 14.15.16.2, port 41238
[  5] local 14.15.16.1 port 5201 connected to 14.15.16.2 port 41240
[ ID] Interval           Transfer     Bandwidth
[  5]   0.00-1.00   sec  0.00 Bytes  0.00 bits/sec
[  5]   1.00-2.00   sec  0.00 Bytes  0.00 bits/sec
[  5]   2.00-3.00   sec  0.00 Bytes  0.00 bits/sec
[  5]   3.00-4.00   sec  0.00 Bytes  0.00 bits/sec
[  5]   4.00-5.00   sec  0.00 Bytes  0.00 bits/sec
[  5]   5.00-6.00   sec  0.00 Bytes  0.00 bits/sec
[  5]   6.00-7.00   sec  0.00 Bytes  0.00 bits/sec
[  5]   7.00-8.00   sec  0.00 Bytes  0.00 bits/sec
[  5]   8.00-9.00   sec  0.00 Bytes  0.00 bits/sec
[  5]   9.00-10.00  sec  0.00 Bytes  0.00 bits/sec
[  5]  10.00-10.03  sec  0.00 Bytes  0.00 bits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  5]   0.00-10.03  sec  0.00 Bytes  0.00 bits/sec                  sender
[  5]   0.00-10.03  sec  0.00 Bytes  0.00 bits/sec                  receiver
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------

------------------------------------------------------------------------

(spam-protected):~ $ iperf3 -c 14.15.16.1
Connecting to host 14.15.16.1, port 5201
[  4] local 14.15.16.2 port 41240 connected to 14.15.16.1 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  28.3 KBytes   231 Kbits/sec    2   1.41 KBytes
[  4]   1.00-2.00   sec  0.00 Bytes  0.00 bits/sec    1   1.41 KBytes
[  4]   2.00-3.00   sec  0.00 Bytes  0.00 bits/sec    0   1.41 KBytes
[  4]   3.00-4.00   sec  0.00 Bytes  0.00 bits/sec    1   1.41 KBytes
[  4]   4.00-5.00   sec  0.00 Bytes  0.00 bits/sec    0   1.41 KBytes
[  4]   5.00-6.00   sec  0.00 Bytes  0.00 bits/sec    0   1.41 KBytes
[  4]   6.00-7.00   sec  0.00 Bytes  0.00 bits/sec    1   1.41 KBytes
[  4]   7.00-8.00   sec  0.00 Bytes  0.00 bits/sec    0   1.41 KBytes
[  4]   8.00-9.00   sec  0.00 Bytes  0.00 bits/sec    0   1.41 KBytes
[  4]   9.00-10.00  sec  0.00 Bytes  0.00 bits/sec    0   1.41 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  28.3 KBytes  23.2 Kbits/sec 5             sender
[  4]   0.00-10.00  sec  0.00 Bytes  0.00 bits/sec                  receiver

iperf Done.

------------------------------------------------------------------------


Why the iperf test results are so strange?  Or is my mesh setup wrong? 
And if you have some throughput test results, please share with me.


Best Regards,

-- 
Said Uçar
/Software Engineer/
*GOHM Electronics & Software*
m: 	+905442613124
a: 	Bogazici University North Campus Teknopark 103
	34470 Bebek/ISTANBUL
w: 	gohm.com.tr <http://gohm.com.tr> e: (spam-protected) 
<mailto:(spam-protected)>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20181211/ad3795aa/attachment.html>


More information about the Olsr-users mailing list