pine64 512MB network unusable
#15
Thanks for all your information, which helped me a lot, to understand some more dependencies.
I can confirm, that setting the cpu-clock to performance is a big step in reducing the seen problems.  
  • The local download rate (wget of an local http URL) rises from the range [100KB/sec..1.5MB/sec] to the range [5MB/sec..10MB/sec].  
  • The retry rate (as seen in iperf3 ) goes down from 400-600 retries per session to below 100.
  • The maximal delay of an echo roundtrip (my script) goes down from 10 sec. to 2 sec.
The only left question here is, why the CPU rate goes only to 1152.00 MHz and not 1200.00 MHz, as I would have expected by the specs.

Furthermore I figured out, that at least my PINE(512) behaves like described in some of the above linked discussions: After cold boot the network performance is ways better, than after a warm restart.  The numbers above are all after cold boot.  Running for some time, the rates go down by est. 20%-30%

Unfortunately I see almost no reaction in setting tx-delay and rx-delay in /boot/pine/sun50i-a64-pine64.dtb.
I have started with the dts file from http://github.com/longsleep/build-pine64...noplus.dts and changed the TX and RX values from <0x00000000> to 0x5, later to 0xF0, 0xF00, up to 0xF0000000 and detected no measurable difference.
To avoid any confusion, I deleted the "sun50i-a64-pine64-plus.dtb" file in /boot/pine64, so that I have only the following files in the directory:
  • sun50i-a64-pine64.dtb
  • pine64noplus.dts
  • Image
After changing the values in the dts file, i created the new dtb file and prepared the restart of the pine with that commands:
Code:
cd /boot/pine64
rm sun50i-a64-pine64.dtb
dtc -I dts -O dtb pine64noplus.dts > sun50i-a64-pine64.dtb
cd /
umount /boot # make sure, filesystem is clean!
shutdown -P now
#unplug power cable
#unplug network cable
#reconnect power
#after 10 sec reconnect network
I would have expected rendering my network unusable, setting RX and TX to such high values. So I wonder, why that has no measurable influence.

Can it be, that the PINE512 needs an slightly different network device description, as it has a different NIC on board?  One thought is, that this section is not used and the interface is just configured with some default values.

I have also observed, that the PINE(512) does not setup random MAC addresses like described in the forums.  I can delete /usr/local/sbin/pine64_eth0-mackeeper.sh and delete the "ethaddr=xxxx" line in the /boot/uEnv.txt file.  The PINE(512) starts always with the same MAC.


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,064 09-23-2020, 11:46 PM
Last Post: Phillip Bell
  Manjaro arm on pine64+ roel 2 5,780 10-19-2019, 05:13 AM
Last Post: roel
  Volumio for PINE64 Released mikelangeloz 11 24,132 03-22-2019, 09:25 AM
Last Post: llungster
  I2S Audio patches for Pine64+ uploaded to GitHub ramstadt 1 3,961 01-19-2019, 11:31 AM
Last Post: ramstadt
  Pine64: Minimal SDL config Max11 3 5,855 01-04-2019, 03:47 PM
Last Post: Max11
  Fedora 27 on Pine64 gregjo 18 34,552 01-02-2019, 10:42 PM
Last Post: heatfanjohn
  Official build procedure of ayufan pine64 r.tanaka 0 3,066 08-21-2018, 10:54 PM
Last Post: r.tanaka
  DKMS on kernel 3.10.107-pine64 obrienmd 5 8,418 06-21-2018, 05:45 PM
Last Post: evilbunny
  Gentoo for pine64 - longsleep kernel incoherent 0 3,588 12-09-2017, 08:14 AM
Last Post: incoherent
  Fedora Running On Pine64! cztian 26 36,448 10-26-2017, 05:51 PM
Last Post: gregjo

Forum Jump:


Users browsing this thread: 2 Guest(s)