pine64 512MB network unusable
#9
I know abot all that!
I do my tests with exact the same ethernet cable on the same switch and I change the SD-card as well between both Pines, to make sure, that I have no hidden problem.
I know, that the PINE 512 has just a 100Mbit device, but that should not be the reason fort the BIG performance issues I see!

Again:  I am not able to work on the ssh command line (the pine is running headless), command line is via ssh. There is no immediate feedback, characters appearing on the console in chunks.  You see the high retry-rate in iperf3 statistics!

To debug that problem (and make it as well independent from crypto stuff), i have now created a small shell-script using netcat talking to the core debian xinetd based echo service. (Port 7).
Code:
#!/bin/bash
DESTIP=$1
LASTRUN=`date +%s%N`
while true; do
 echo "########" | nc $DESTIP 7
  CURRTIME=`date +%s%N`
  echo Elapsed: $(( ($CURRTIME - $LASTRUN) / 1000000 ))
  LASTRUN=$CURRTIME
done

I am now able to run that script from the pine to my local server and vice versa.

Results for the Pine (512MB):

Running on Pine connecting to echo port on local server

Code:
########
Elapsed: 28
########
Elapsed: 1019
########
Elapsed: 28
########
Elapsed: 29
########
Elapsed: 1028
########
Elapsed: 28
########
Elapsed: 28
########
Elapsed: 1025
########
Elapsed: 28
########
Elapsed: 28
########
Elapsed: 2023
In that direction I have every 5 to 12 loops a delay of 1 to 3 seconds

Running on the Server connecting to echo port of the Pine

Code:
Elapsed: 14
########
Elapsed: 1017
########
Elapsed: 13
########
Elapsed: 20
########
Elapsed: 5055
########
Elapsed: 245
########
Elapsed: 14
########
Elapsed: 236
########
Elapsed: 15
########
Elapsed: 13
########
Elapsed: 5050
########
Elapsed: 5055
########
########
Elapsed: 10024
########
Elapsed: 209
########
Elapsed: 1013
In this direction it is the hell:  Delays up to 10 seconds and more!!

And again the same test with th PINE64+
Results for the PINE64+ (1GB):

Running on Pine connecting to echo port on local server

Code:
########
Elapsed: 20
########
Elapsed: 21
########
Elapsed: 21
########
Elapsed: 21
########
Elapsed: 21
########
Elapsed: 21
########
Elapsed: 31
########
Elapsed: 25
########
Elapsed: 24
########
Elapsed: 24
########
Elapsed: 24
########
Elapsed: 24
########
Elapsed: 24
########
Elapsed: 26
########
Elapsed: 25
########
Elapsed: 24
########
Elapsed: 23
########
Elapsed: 23
########
Elapsed: 24
########
Elapsed: 24
########
Elapsed: 23
########
Elapsed: 24
########
Elapsed: 23
########
Elapsed: 24
Here we are in the range between 20ms up to 25 ms, as it should be!
 

Running on the Server connecting to echo port of the Pine

Code:
########
Elapsed: 15
########
Elapsed: 15
########
Elapsed: 15
########
Elapsed: 14
########
Elapsed: 16
########
Elapsed: 13
########
Elapsed: 16
########
Elapsed: 12
########
Elapsed: 12
########
Elapsed: 13
########
Elapsed: 13
########
Elapsed: 12
########
Elapsed: 12
########
Elapsed: 16
########
Elapsed: 13
########
Elapsed: 12
########
Elapsed: 15
########
Elapsed: 16
########
Elapsed: 12
########
Elapsed: 14
########
Elapsed: 13
########
Elapsed: 13
########
Elapsed: 13
########
Elapsed: 13
########
Elapsed: 12
########
Elapsed: 13
########
Elapsed: 17
########
Elapsed: 12
########
Elapsed: 13
########
Elapsed: 18
########
Elapsed: 11
########
Elapsed: 13
########
Elapsed: 12
########
Elapsed: 12
########
Elapsed: 13
########
Elapsed: 12
########
Elapsed: 13
########
Elapsed: 13
########
Elapsed: 13
########
Elapsed: 12
########
Elapsed: 14
########
Elapsed: 12
And even faster!  No problem.

Using echo I have removed a lot of overhead from the tcpdump, comparing to ssh.  It is now very easy to debug single sessions out of an larger tcpdump.

I see now, that the roundtrips of single packets are quiet OK.  The data and the FIN packet of the echo-request is ACKed immediately, however the response packet is just delayed 5 to 10 seconds.

In the attached tcpdump the second echo request is delayed by 2 sec, the forth delayed by 10sec and the 9th is delayed by 5sec!

For me it looks like, that something must be wrong deep in the tcp-stack. Probably it has to do with the NIC-driver, as that is the only difference between PINE64 and PINE64+
I am clueless right now. 
If there are some more tools, how i can produce other logs , especially about the dataflow through the TCP-stack, please provide me with hints.


Attached Files
.zip   pine-1.zip (Size: 7.7 KB / Downloads: 259)


Messages In This Thread
pine64 512MB network unusable - by Manilow - 04-29-2016, 08:05 AM
RE: pine64 512MB network unusable - by tkaiser - 04-29-2016, 08:32 AM
RE: pine64 512MB network unusable - by longsleep - 04-29-2016, 11:23 AM
RE: pine64 512MB network unusable - by androsch - 04-29-2016, 04:56 PM
RE: pine64 512MB network unusable - by Manilow - 05-01-2016, 11:33 AM
RE: pine64 512MB network unusable - by tkaiser - 05-01-2016, 11:43 AM
RE: pine64 512MB network unusable - by Manilow - 05-01-2016, 11:57 AM
RE: pine64 512MB network unusable - by tkaiser - 05-01-2016, 12:07 PM
RE: pine64 512MB network unusable - by Manilow - 05-02-2016, 03:40 AM
RE: pine64 512MB network unusable - by Manilow - 05-02-2016, 10:45 AM
RE: pine64 512MB network unusable - by longsleep - 05-02-2016, 10:46 AM
RE: pine64 512MB network unusable - by Manilow - 05-03-2016, 06:43 AM
RE: pine64 512MB network unusable - by tkaiser - 05-03-2016, 07:07 AM
RE: pine64 512MB network unusable - by longsleep - 05-03-2016, 11:14 AM
RE: pine64 512MB network unusable - by Manilow - 05-04-2016, 01:56 AM
RE: pine64 512MB network unusable - by tkaiser - 05-04-2016, 02:09 AM
RE: pine64 512MB network unusable - by Manilow - 05-06-2016, 02:18 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Programming languages support under PINE64 baryluk 6 12,071 09-23-2020, 11:46 PM
Last Post: Phillip Bell
  Manjaro arm on pine64+ roel 2 5,786 10-19-2019, 05:13 AM
Last Post: roel
  Volumio for PINE64 Released mikelangeloz 11 24,140 03-22-2019, 09:25 AM
Last Post: llungster
  I2S Audio patches for Pine64+ uploaded to GitHub ramstadt 1 3,962 01-19-2019, 11:31 AM
Last Post: ramstadt
  Pine64: Minimal SDL config Max11 3 5,856 01-04-2019, 03:47 PM
Last Post: Max11
  Fedora 27 on Pine64 gregjo 18 34,579 01-02-2019, 10:42 PM
Last Post: heatfanjohn
  Official build procedure of ayufan pine64 r.tanaka 0 3,067 08-21-2018, 10:54 PM
Last Post: r.tanaka
  DKMS on kernel 3.10.107-pine64 obrienmd 5 8,422 06-21-2018, 05:45 PM
Last Post: evilbunny
  Gentoo for pine64 - longsleep kernel incoherent 0 3,590 12-09-2017, 08:14 AM
Last Post: incoherent
  Fedora Running On Pine64! cztian 26 36,461 10-26-2017, 05:51 PM
Last Post: gregjo

Forum Jump:


Users browsing this thread: 2 Guest(s)