12-28-2016, 11:34 AM
I have a pair of 2GB Pine64 boards. One board (Pine64_B) fairs poorly on the iperf3 send test at under 300Mb/s (a large improvement) while achieving over 800Mb/s receiving. The other board (Pine64_A) exceeds 800Mb/s in Tx and Rx. Outwardly, these boards are indistinguishable, same date code, revision, and both lack a serial number on the bottom.
I have conducted the iperf tests using Gentoo linux with longsleep's current kernel and confirmed the poor results on Pine64_B with an Ubuntu base image (avg 333Mb/s). Tests were rerun after swapping the ethernet patch cables between boards to confirm the problem is the 'B' board. USB power cables and power supplies are over spec'ed (5VDC, >2amp).
For me this is not a solved issue. Worse, I had thought about buying another board or two but wonder if I'd get another 'B' board.
Thanks,
HenryD
I have conducted the iperf tests using Gentoo linux with longsleep's current kernel and confirmed the poor results on Pine64_B with an Ubuntu base image (avg 333Mb/s). Tests were rerun after swapping the ethernet patch cables between boards to confirm the problem is the 'B' board. USB power cables and power supplies are over spec'ed (5VDC, >2amp).
For me this is not a solved issue. Worse, I had thought about buying another board or two but wonder if I'd get another 'B' board.
Thanks,
HenryD
Code:
Pine64_A gentoo # iperf3 -sV
iperf 3.1.4
Linux Pine64_A 3.10.104-2-pine64-longsleep #113 SMP PREEMPT Thu Dec 15 21:46:07 CET 2016 aarch64
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Time: Wed, 28 Dec 2016 14:55:23 GMT
Accepted connection from 192.168.1.163, port 59894
Cookie: nehalem.1482936923.145601.313dc79138
TCP MSS: 1448 (default)
[ 5] local 192.168.1.184 port 5201 connected to 192.168.1.163 port 59896
Starting Test: protocol: TCP, 1 streams, 131072 byte blocks, omitting 0 seconds, 10 second test
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-1.00 sec 96.7 MBytes 809 Mbits/sec
[ 5] 1.00-2.00 sec 99.9 MBytes 838 Mbits/sec
[ 5] 2.00-3.00 sec 99.2 MBytes 832 Mbits/sec
[ 5] 3.00-4.00 sec 99.9 MBytes 838 Mbits/sec
[ 5] 4.00-5.00 sec 99.9 MBytes 838 Mbits/sec
[ 5] 5.00-6.00 sec 99.3 MBytes 833 Mbits/sec
[ 5] 6.00-7.00 sec 100 MBytes 842 Mbits/sec
[ 5] 7.00-8.00 sec 99.6 MBytes 835 Mbits/sec
[ 5] 8.00-9.00 sec 100 MBytes 840 Mbits/sec
[ 5] 9.00-10.00 sec 100 MBytes 841 Mbits/sec
[ 5] 10.00-10.03 sec 3.00 MBytes 812 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
Test Complete. Summary Results:
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-10.03 sec 0.00 Bytes 0.00 bits/sec sender
[ 5] 0.00-10.03 sec 998 MBytes 834 Mbits/sec receiver
CPU Utilization: local/receiver 39.5% (0.4%u/39.1%s), remote/sender 0.0% (0.0%u/0.0%s)
rcv_tcp_congestion cubic
iperf 3.1.4
Linux Pine64_A 3.10.104-2-pine64-longsleep #113 SMP PREEMPT Thu Dec 15 21:46:07 CET 2016 aarch64
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Time: Wed, 28 Dec 2016 14:55:45 GMT
Accepted connection from 192.168.1.163, port 59898
Cookie: nehalem.1482936945.361608.6941393051
TCP MSS: 1448 (default)
[ 5] local 192.168.1.184 port 5201 connected to 192.168.1.163 port 59900
Starting Test: protocol: TCP, 1 streams, 131072 byte blocks, omitting 0 seconds, 10 second test
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 5] 0.00-1.02 sec 104 MBytes 857 Mbits/sec 0 219 KBytes
[ 5] 1.02-2.01 sec 106 MBytes 896 Mbits/sec 0 222 KBytes
[ 5] 2.01-3.02 sec 108 MBytes 895 Mbits/sec 0 222 KBytes
[ 5] 3.02-4.02 sec 106 MBytes 896 Mbits/sec 0 222 KBytes
[ 5] 4.02-5.02 sec 108 MBytes 896 Mbits/sec 0 222 KBytes
[ 5] 5.02-6.01 sec 104 MBytes 877 Mbits/sec 0 222 KBytes
[ 5] 6.01-7.02 sec 108 MBytes 896 Mbits/sec 0 222 KBytes
[ 5] 7.02-8.02 sec 106 MBytes 896 Mbits/sec 0 223 KBytes
[ 5] 8.02-9.02 sec 108 MBytes 896 Mbits/sec 0 223 KBytes
[ 5] 9.02-10.00 sec 105 MBytes 896 Mbits/sec 0 225 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
Test Complete. Summary Results:
[ ID] Interval Transfer Bandwidth Retr
[ 5] 0.00-10.00 sec 1.04 GBytes 890 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 0.00 Bytes 0.00 bits/sec receiver
CPU Utilization: local/sender 44.0% (0.0%u/44.0%s), remote/receiver 3.2% (0.1%u/3.0%s)
snd_tcp_congestion cubic
iperf 3.1.4
Linux Pine64_A 3.10.104-2-pine64-longsleep #113 SMP PREEMPT Thu Dec 15 21:46:07 CET 2016 aarch64
===================================================================================================================
Pine64_B gentoo # iperf3 -sV
iperf 3.1.4
Linux Pine64_B 3.10.104-2-pine64-longsleep #113 SMP PREEMPT Thu Dec 15 21:46:07 CET 2016 aarch64
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Time: Wed, 28 Dec 2016 15:04:43 GMT
Accepted connection from 192.168.1.163, port 42768
Cookie: nehalem.1482937483.873451.0f7a588834
TCP MSS: 1448 (default)
[ 5] local 192.168.1.183 port 5201 connected to 192.168.1.163 port 42770
Starting Test: protocol: TCP, 1 streams, 131072 byte blocks, omitting 0 seconds, 10 second test
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-1.00 sec 96.4 MBytes 807 Mbits/sec
[ 5] 1.00-2.00 sec 99.7 MBytes 836 Mbits/sec
[ 5] 2.00-3.00 sec 99.8 MBytes 837 Mbits/sec
[ 5] 3.00-4.00 sec 99.3 MBytes 834 Mbits/sec
[ 5] 4.00-5.00 sec 99.0 MBytes 830 Mbits/sec
[ 5] 5.00-6.00 sec 99.8 MBytes 837 Mbits/sec
[ 5] 6.00-7.00 sec 99.6 MBytes 836 Mbits/sec
[ 5] 7.00-8.00 sec 99.9 MBytes 837 Mbits/sec
[ 5] 8.00-9.00 sec 99.7 MBytes 837 Mbits/sec
[ 5] 9.00-10.00 sec 99.1 MBytes 831 Mbits/sec
[ 5] 10.00-10.04 sec 3.38 MBytes 821 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
Test Complete. Summary Results:
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-10.04 sec 0.00 Bytes 0.00 bits/sec sender
[ 5] 0.00-10.04 sec 996 MBytes 832 Mbits/sec receiver
CPU Utilization: local/receiver 57.9% (0.2%u/57.6%s), remote/sender 0.0% (0.0%u/0.0%s)
rcv_tcp_congestion cubic
iperf 3.1.4
Linux Pine64_B 3.10.104-2-pine64-longsleep #113 SMP PREEMPT Thu Dec 15 21:46:07 CET 2016 aarch64
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Time: Wed, 28 Dec 2016 15:05:01 GMT
Accepted connection from 192.168.1.163, port 42772
Cookie: nehalem.1482937501.033443.2291a8e70b
TCP MSS: 1448 (default)
[ 5] local 192.168.1.183 port 5201 connected to 192.168.1.163 port 42774
Starting Test: protocol: TCP, 1 streams, 131072 byte blocks, omitting 0 seconds, 10 second test
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 5] 0.00-1.00 sec 30.6 MBytes 257 Mbits/sec 133 5.66 KBytes
[ 5] 1.00-2.00 sec 31.8 MBytes 267 Mbits/sec 141 7.07 KBytes
[ 5] 2.00-3.00 sec 34.3 MBytes 287 Mbits/sec 150 8.48 KBytes
[ 5] 3.00-4.00 sec 35.9 MBytes 301 Mbits/sec 143 12.7 KBytes
[ 5] 4.00-5.00 sec 33.6 MBytes 282 Mbits/sec 115 12.7 KBytes
[ 5] 5.00-6.00 sec 28.9 MBytes 242 Mbits/sec 145 8.48 KBytes
[ 5] 6.00-7.00 sec 27.7 MBytes 232 Mbits/sec 141 7.07 KBytes
[ 5] 7.00-8.00 sec 30.3 MBytes 254 Mbits/sec 149 7.07 KBytes
[ 5] 8.00-9.00 sec 30.5 MBytes 256 Mbits/sec 139 5.66 KBytes
[ 5] 9.00-10.00 sec 29.1 MBytes 244 Mbits/sec 113 4.24 KBytes
[ 5] 10.00-10.03 sec 568 KBytes 158 Mbits/sec 3 4.24 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
Test Complete. Summary Results:
[ ID] Interval Transfer Bandwidth Retr
[ 5] 0.00-10.03 sec 313 MBytes 262 Mbits/sec 1372 sender
[ 5] 0.00-10.03 sec 0.00 Bytes 0.00 bits/sec receiver
CPU Utilization: local/sender 6.3% (0.5%u/5.9%s), remote/receiver 3.2% (0.2%u/3.0%s)
snd_tcp_congestion cubic
iperf 3.1.4
Linux Pine64_B 3.10.104-2-pine64-longsleep #113 SMP PREEMPT Thu Dec 15 21:46:07 CET 2016 aarch64