Difference between revisions of "PineCube"

Jump to navigation Jump to search
2,128 bytes added ,  16:10, 20 December 2020
→‎Armbian: add iperf3 tests: with and without WireGuard
(Add instructions for using screen to communicate with the PineCube with the woodpecker usb serial device)
(→‎Armbian: add iperf3 tests: with and without WireGuard)
Line 153: Line 153:


<code>screen /dev/ttyUSB0 115200</code>
<code>screen /dev/ttyUSB0 115200</code>
==== Basic bandwidth tests with iperf3 ====
Install armbian-config:
<code>apt install armbian-config</code>
Enable iperf3 through the menu in armbian-config:
<code>armbian-config</code>
On a test computer on the same network segment run iperf3 as a client:
<code>iperf3 -c pinecube -t 60</code>
The same test computer, run iperf3 in the reverse direction:
<code>iperf3 -c pinecube -t 60 -R</code>
===== Performance results =====
The Ethernet network does not work in the current Ubuntu Focal armbian image. The performance results reflect using the wireless network. The link speed was 72.2Mb/s using 2.462Ghz wireless. Running sixty second iperf3 tests: the observed throughput varies between 28-50Mb/s to a host on the same network segment. The testing host is connected to an Ethernet switch which is also connected to a wireless bridge. The wireless network uses WPA2 and the PineCube is connected to this wireless network bridge.
Client rate for sixty seconds:
[ ID] Interval          Transfer    Bitrate        Retr
[  5]  0.00-60.00  sec  293 MBytes  41.0 Mbits/sec    1            sender
[  5]  0.00-60.01  sec  291 MBytes  40.7 Mbits/sec                  receiver
Client rate with -R for sixty seconds:
[ ID] Interval          Transfer    Bitrate        Retr
[  5]  0.00-60.85  sec  263 MBytes  36.2 Mbits/sec    3            sender
[  5]  0.00-60.00  sec  259 MBytes  36.1 Mbits/sec                  receiver
Using WireGuard to protect the traffic between the PineCube and the test system, the performance characteristics change only slightly.
Client rate for sixty seconds with WireGuard:
[ ID] Interval          Transfer    Bitrate        Retr
[  5]  0.00-60.00  sec  230 MBytes  32.1 Mbits/sec    0            sender
[  5]  0.00-60.09  sec  229 MBytes  32.0 Mbits/sec                  receiver
Client rate with -R for sixty seconds with WireGuard:
[ ID] Interval          Transfer    Bitrate        Retr
[  5]  0.00-60.14  sec  246 MBytes  34.3 Mbits/sec    7            sender
[  5]  0.00-60.00  sec  245 MBytes  34.2 Mbits/sec                  receiver


=== Stock Linux ===
=== Stock Linux ===
27

edits

Navigation menu