<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi all,</p>
<p><br>
</p>
<p>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 (<i>let's call them PiA and PiB</i>). I
fetched the source codes and compiled without any problem. Then I
executed the following commands for PiA;</p>
<blockquote>sudo iw wlan0 set type ibss<br>
sudo ip link set wlan0 up<br>
sudo iw wlan0 ibss join my-mesh 2432 key d:2:abcde<br>
sudo ip addr add <b>14.15.16.1</b>/24 dev wlan0<br>
sudo olsrd2_dlep_static --set=log.info=nhdp_r wlan0<br>
</blockquote>
<p>Then the same commands for PiB;</p>
<blockquote>
<p>sudo iw wlan0 set type ibss<br>
sudo ip link set wlan0 up<br>
sudo iw wlan0 ibss join my-mesh 2432 key d:2:abcde<br>
sudo ip addr add <b>14.15.16.2</b>/24 dev wlan0<br>
sudo olsrd2_dlep_static --set=log.info=nhdp_r wlan0</p>
</blockquote>
<p><br>
</p>
<p>After running olsrd2 for both pi, I started to see logs in both
console. Below is the sample logs I see on PiA console;</p>
<p>12:00:57.126 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411:
Incoming message type 0 from 14.15.16.<b>2</b>:269 through any
(addrlen = 4), got message tlvs<br>
12:00:57.127 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411:
Incoming message type 0 from 14.15.16.<b>2</b>:269 through wlan0
(addrlen = 4), got message tlvs<br>
12:00:59.226 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411:
Incoming message type 0 from 14.15.16.<b>2</b>:269 through any
(addrlen = 4), got message tlvs<br>
12:00:59.227 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411:
Incoming message type 0 from 14.15.16.<b>2</b>:269 through wlan0
(addrlen = 4), got message tlvs<br>
</p>
<p>And here is the logs that I see on PiB console;</p>
<p>12:00:25.350 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411:
Incoming message type 0 from 14.15.16.<b>1</b>:269 through any
(addrlen = 4), got message tlvs<br>
12:00:25.351 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411:
Incoming message type 0 from 14.15.16.<b>1</b>:269 through wlan0
(addrlen = 4), got message tlvs<br>
12:00:27.450 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411:
Incoming message type 0 from 14.15.16.<b>1</b>:269 through any
(addrlen = 4), got message tlvs<br>
12:00:27.451 INFO(nhdp_r) src/nhdp/nhdp/nhdp_reader.c 411:
Incoming message type 0 from 14.15.16.<b>1</b>:269 through wlan0
(addrlen = 4), got message tlvs<br>
</p>
<p>So far so good, I assumed. Then, to measure bandwidth, I used
iperf3. Started server on PiA with '<i>iperf3 -s</i>' command and
started a client on PiB using '<i>iperf3 -c 14.15.16.1</i>'
command. And the results are below respectively;</p>
<p><br>
</p>
<hr width="100%" size="2">
<p>pi@raspberrypi:~ $ iperf3 -s<br>
-----------------------------------------------------------<br>
Server listening on 5201<br>
-----------------------------------------------------------<br>
Accepted connection from 14.15.16.2, port 41238<br>
[ 5] local 14.15.16.1 port 5201 connected to 14.15.16.2 port
41240<br>
[ ID] Interval Transfer Bandwidth<br>
[ 5] 0.00-1.00 sec 0.00 Bytes 0.00
bits/sec <br>
[ 5] 1.00-2.00 sec 0.00 Bytes 0.00
bits/sec <br>
[ 5] 2.00-3.00 sec 0.00 Bytes 0.00
bits/sec <br>
[ 5] 3.00-4.00 sec 0.00 Bytes 0.00
bits/sec <br>
[ 5] 4.00-5.00 sec 0.00 Bytes 0.00
bits/sec <br>
[ 5] 5.00-6.00 sec 0.00 Bytes 0.00
bits/sec <br>
[ 5] 6.00-7.00 sec 0.00 Bytes 0.00
bits/sec <br>
[ 5] 7.00-8.00 sec 0.00 Bytes 0.00
bits/sec <br>
[ 5] 8.00-9.00 sec 0.00 Bytes 0.00
bits/sec <br>
[ 5] 9.00-10.00 sec 0.00 Bytes 0.00
bits/sec <br>
[ 5] 10.00-10.03 sec 0.00 Bytes 0.00
bits/sec <br>
- - - - - - - - - - - - - - - - - - - - - - - - -<br>
[ ID] Interval Transfer Bandwidth<br>
[ 5] 0.00-10.03 sec 0.00 Bytes 0.00
bits/sec sender<br>
[ 5] 0.00-10.03 sec 0.00 Bytes 0.00
bits/sec receiver<br>
-----------------------------------------------------------<br>
Server listening on 5201<br>
-----------------------------------------------------------</p>
<hr width="100%" size="2">
<p>pi@raspberrypi:~ $ iperf3 -c 14.15.16.1<br>
Connecting to host 14.15.16.1, port 5201<br>
[ 4] local 14.15.16.2 port 41240 connected to 14.15.16.1 port
5201<br>
[ ID] Interval Transfer Bandwidth Retr Cwnd<br>
[ 4] 0.00-1.00 sec 28.3 KBytes 231 Kbits/sec 2 1.41
KBytes <br>
[ 4] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec 1 1.41
KBytes <br>
[ 4] 2.00-3.00 sec 0.00 Bytes 0.00 bits/sec 0 1.41
KBytes <br>
[ 4] 3.00-4.00 sec 0.00 Bytes 0.00 bits/sec 1 1.41
KBytes <br>
[ 4] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec 0 1.41
KBytes <br>
[ 4] 5.00-6.00 sec 0.00 Bytes 0.00 bits/sec 0 1.41
KBytes <br>
[ 4] 6.00-7.00 sec 0.00 Bytes 0.00 bits/sec 1 1.41
KBytes <br>
[ 4] 7.00-8.00 sec 0.00 Bytes 0.00 bits/sec 0 1.41
KBytes <br>
[ 4] 8.00-9.00 sec 0.00 Bytes 0.00 bits/sec 0 1.41
KBytes <br>
[ 4] 9.00-10.00 sec 0.00 Bytes 0.00 bits/sec 0 1.41
KBytes <br>
- - - - - - - - - - - - - - - - - - - - - - - - -<br>
[ ID] Interval Transfer Bandwidth Retr<br>
[ 4] 0.00-10.00 sec 28.3 KBytes 23.2 Kbits/sec
5 sender<br>
[ 4] 0.00-10.00 sec 0.00 Bytes 0.00
bits/sec receiver<br>
<br>
iperf Done.<br>
</p>
<hr width="100%" size="2">
<p><br>
</p>
<p>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.</p>
<p><br>
</p>
<p>Best Regards,<br>
</p>
<div class="moz-signature">-- <br>
<table style="background: none; border-width: 0px; border: 0px;
margin: 0; padding: 0;" cellspacing="0" cellpadding="0"
border="0">
<tbody>
<tr>
<td colspan="2" style="padding-bottom: 5px;"><img
src="http://www.gohm.com.tr/wp-content/uploads/2016/10/gohm_logo-1.png"></td>
</tr>
<tr>
<td colspan="2" style="padding-bottom: 5px; color: #15149C;
font-size: 18px; font-family: Arial, Helvetica,
sans-serif;">Said Uçar</td>
</tr>
<tr>
<td colspan="2" style="color: #333333; font-size: 14px;
font-family: Arial, Helvetica, sans-serif;"><i>Software
Engineer</i></td>
</tr>
<tr>
<td colspan="2" style="color: #333333; font-size: 14px;
font-family: Arial, Helvetica, sans-serif;"><strong>GOHM
Electronics & Software</strong></td>
</tr>
<tr>
<td style="vertical-align: top; width: 20px; color: #15149C;
font-size: 14px; font-family: Arial, Helvetica,
sans-serif;" width="20" valign="top">m:</td>
<td style="color: #333333; font-size: 14px; font-family:
Arial, Helvetica, sans-serif;">+905442613124</td>
</tr>
<tr>
<td style="vertical-align: top; width: 20px; color: #15149C;
font-size: 14px; font-family: Arial, Helvetica,
sans-serif;" width="20" valign="top">a:</td>
<td style="vertical-align: top; color: #333333; font-size:
14px; font-family: Arial, Helvetica, sans-serif;"
valign="top">Bogazici University North Campus Teknopark
103</td>
</tr>
<tr>
<td style="vertical-align: top; width: 20px; color: #15149C;
font-size: 14px; font-family: Arial, Helvetica,
sans-serif;" width="20" valign="top"> </td>
<td style="vertical-align: top; color: #333333; font-size:
14px; font-family: Arial, Helvetica, sans-serif;"
valign="top">34470 Bebek/ISTANBUL</td>
</tr>
<tr>
<td style="vertical-align: top; width: 20px; color: #15149C;
font-size: 14px; font-family: Arial, Helvetica,
sans-serif;" width="20" valign="top">w:</td>
<td style="vertical-align: top; color: #333333; font-size:
14px; font-family: Arial, Helvetica, sans-serif;"
valign="top"><a href="http://gohm.com.tr" style=" color:
#1da1db; text-decoration: none; font-weight: normal;
font-size: 14px;">gohm.com.tr</a> <span style="color:
#15149C;">e: </span><a
href="mailto:said.ucar@gohm.com.tr" style="color:
#1da1db; text-decoration: none; font-weight: normal;
font-size: 14px;">said.ucar@gohm.com.tr</a></td>
</tr>
</tbody>
</table>
</div>
</body>
</html>