Cubie A527 slow transfer on network

Hi!
I have an Radxa Cubie A5E with 2MByte RAM configured as a file server (files on ssd on m2 interface), but I can’t watch a movie, read from file server (with Kodi from another computer); network speed is too low (3.5 MB/s). I am using a ssd with write speed 350MB/s and read speed 550MB/s (tested on this board), internet speed in local network is 8MB/s (tested on the same board), so, I don’t know what is the problem. If anyone has a clue… Thank you in advance!

If you get a network speed of 8 MB/s, something is wrong with your network. Use ethernet

I am using ethernet. With another server computer in the same network the transfer is ok. (Even on orange pi zero the speed is fine).

Can you test iperf3 performance between the Cubie and something you know works at full speed?

1 Like

$ iperf -s

Server listening on TCP port 5001
TCP window size: 128 KByte (default)

[ 1] local 192.168.1.44 port 5001 connected with 192.168.1.11 port 53252
[ ID] Interval Transfer Bandwidth
[ 1] 0.0000-10.0186 sec 1.10 GBytes 941 Mbits/sec

Then your network speed is not 8 MB/s but 117 MB/s.

This is speed between 2 desktop computers. Between radxa and same server computer is 8 (for testing speed of the network).

The speed between 2 desktop computers isn’t that relevant if you know it’s gigabit. Can you show the iperf3 output between the Cubie and a desktop pc?

Also show us this iperf3 test (Cubie to desktop) with --reverse and with --bidir parameters

cubie to desktop
iperf -c 192.168.1.44

Client connecting to 192.168.1.44, TCP port 5001
TCP window size: 45.0 KByte (default)

[ 3] local 192.168.1.21 port 37662 connected with 192.168.1.44 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0000-10.0670 sec 77.9 MBytes 64.9 Mbits/sec

So we know the network is probably not the problem (although you did not send the reverse test, so it might be).
What is the filesystem on the drive you use as your network share storage?
Also, why not iperf3

Filesystem is ext3. I don’t think the reverse test matter (I only want to download from cubie).

Then the reverse test is what you need, as if you run iperf3 -c from the Cubie, it is receiving, not sending. Unless you ran out the other way - then yes.

Does it have to be ext3? Can you try ext4 or xfs? You can convert it easily: https://linuxconfig.org/how-to-convert-an-ext3-filesystem-partition-to-ext4

Thank you for your answers. I will try your suggestions later. Best regards.
Anyway I tested write and read speed to ssd and it was very high, I don’t think this is the cause.

There must be something wrong with simultaneous i/o. Is the drive connected via nvme or USB?