Very slow GbE when receiving, fast sending
#1
I received my Quartz64 a little while ago and have been experimenting a bit. The network is extremely slow when receiving data, but does the usual 940 Mbit/s full saturation for 1 gigabit when sending. Please see below iperf3 outputs. 10.0.0.201 is my Quartz64 model A and 10.0.0.4 is a pretty powerful amd64 Linux workstation.

-----------------------------------------------------------
Server listening on 5201 (test #1)
-----------------------------------------------------------
Accepted connection from 10.0.0.4, port 32952
[  5] local 10.0.0.201 port 5201 connected to 10.0.0.4 port 32954
[ ID] Interval          Transfer    Bitrate
[  5]  0.00-1.00  sec  110 MBytes  926 Mbits/sec                 
[  5]  1.00-2.00  sec  112 MBytes  941 Mbits/sec                 
[  5]  2.00-3.00  sec  112 MBytes  941 Mbits/sec                 
[  5]  3.00-4.00  sec  112 MBytes  941 Mbits/sec                 
[  5]  4.00-5.00  sec  112 MBytes  942 Mbits/sec                 
[  5]  5.00-6.00  sec  112 MBytes  941 Mbits/sec                 
[  5]  6.00-7.00  sec  112 MBytes  941 Mbits/sec                 
[  5]  7.00-8.00  sec  112 MBytes  941 Mbits/sec                 
[  5]  8.00-9.00  sec  112 MBytes  941 Mbits/sec                 
[  5]  9.00-10.00  sec  112 MBytes  941 Mbits/sec                 
[  5]  10.00-10.00  sec  308 KBytes  885 Mbits/sec                 
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval          Transfer    Bitrate
[  5]  0.00-10.00  sec  1.09 GBytes  940 Mbits/sec                  receiver
-----------------------------------------------------------
Server listening on 5201 (test #2)
-----------------------------------------------------------
Accepted connection from 10.0.0.4, port 54688
[  5] local 10.0.0.201 port 5201 connected to 10.0.0.4 port 54704
[ ID] Interval          Transfer    Bitrate        Retr  Cwnd
[  5]  0.00-1.00  sec  1.17 MBytes  9.81 Mbits/sec  41  2.83 KBytes     
[  5]  1.00-2.00  sec  827 KBytes  6.78 Mbits/sec  23  2.83 KBytes     
[  5]  2.00-3.00  sec  1.37 MBytes  11.5 Mbits/sec  48  2.83 KBytes     
[  5]  3.00-4.00  sec  2.42 MBytes  20.3 Mbits/sec  53  2.83 KBytes     
[  5]  4.00-5.00  sec  1.24 MBytes  10.4 Mbits/sec  37  2.83 KBytes     
[  5]  5.00-6.00  sec  2.25 MBytes  18.9 Mbits/sec  102  2.83 KBytes     
[  5]  6.00-7.00  sec  1.12 MBytes  9.42 Mbits/sec  95  2.83 KBytes     
[  5]  7.00-8.00  sec  3.08 MBytes  25.9 Mbits/sec  234  2.83 KBytes     
[  5]  8.00-9.00  sec  3.11 MBytes  26.1 Mbits/sec  73  2.83 KBytes     
[  5]  9.00-10.00  sec  3.48 MBytes  29.2 Mbits/sec  72  2.83 KBytes     
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval          Transfer    Bitrate        Retr
[  5]  0.00-10.00  sec  20.1 MBytes  16.8 Mbits/sec  778            sender


Look at all those retransmits! I've verified that the cable and switch port and everything else in the setup are otherwise fine. This happens in both Arch and Plebian. Did I receive a bad board, should I submit an RMA? Or is there something else going on here?
  Reply
#2
(05-25-2023, 09:51 AM)unixpoet Wrote: I received my Quartz64 a little while ago and have been experimenting a bit. The network is extremely slow when receiving data, but does the usual 940 Mbit/s full saturation for 1 gigabit when sending. Please see below iperf3 outputs. 10.0.0.201 is my Quartz64 model A and 10.0.0.4 is a pretty powerful amd64 Linux workstation.

-----------------------------------------------------------
Server listening on 5201 (test #1)
-----------------------------------------------------------
Accepted connection from 10.0.0.4, port 32952
[  5] local 10.0.0.201 port 5201 connected to 10.0.0.4 port 32954
[ ID] Interval          Transfer    Bitrate
[  5]  0.00-1.00  sec  110 MBytes  926 Mbits/sec                 
[  5]  1.00-2.00  sec  112 MBytes  941 Mbits/sec                 
[  5]  2.00-3.00  sec  112 MBytes  941 Mbits/sec                 
[  5]  3.00-4.00  sec  112 MBytes  941 Mbits/sec                 
[  5]  4.00-5.00  sec  112 MBytes  942 Mbits/sec                 
[  5]  5.00-6.00  sec  112 MBytes  941 Mbits/sec                 
[  5]  6.00-7.00  sec  112 MBytes  941 Mbits/sec                 
[  5]  7.00-8.00  sec  112 MBytes  941 Mbits/sec                 
[  5]  8.00-9.00  sec  112 MBytes  941 Mbits/sec                 
[  5]  9.00-10.00  sec  112 MBytes  941 Mbits/sec                 
[  5]  10.00-10.00  sec  308 KBytes  885 Mbits/sec                 
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval          Transfer    Bitrate
[  5]  0.00-10.00  sec  1.09 GBytes  940 Mbits/sec                  receiver
-----------------------------------------------------------
Server listening on 5201 (test #2)
-----------------------------------------------------------
Accepted connection from 10.0.0.4, port 54688
[  5] local 10.0.0.201 port 5201 connected to 10.0.0.4 port 54704
[ ID] Interval          Transfer    Bitrate        Retr  Cwnd
[  5]  0.00-1.00  sec  1.17 MBytes  9.81 Mbits/sec  41  2.83 KBytes     
[  5]  1.00-2.00  sec  827 KBytes  6.78 Mbits/sec  23  2.83 KBytes     
[  5]  2.00-3.00  sec  1.37 MBytes  11.5 Mbits/sec  48  2.83 KBytes     
[  5]  3.00-4.00  sec  2.42 MBytes  20.3 Mbits/sec  53  2.83 KBytes     
[  5]  4.00-5.00  sec  1.24 MBytes  10.4 Mbits/sec  37  2.83 KBytes     
[  5]  5.00-6.00  sec  2.25 MBytes  18.9 Mbits/sec  102  2.83 KBytes     
[  5]  6.00-7.00  sec  1.12 MBytes  9.42 Mbits/sec  95  2.83 KBytes     
[  5]  7.00-8.00  sec  3.08 MBytes  25.9 Mbits/sec  234  2.83 KBytes     
[  5]  8.00-9.00  sec  3.11 MBytes  26.1 Mbits/sec  73  2.83 KBytes     
[  5]  9.00-10.00  sec  3.48 MBytes  29.2 Mbits/sec  72  2.83 KBytes     
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval          Transfer    Bitrate        Retr
[  5]  0.00-10.00  sec  20.1 MBytes  16.8 Mbits/sec  778            sender


Look at all those retransmits! I've verified that the cable and switch port and everything else in the setup are otherwise fine. This happens in both Arch and Plebian. Did I receive a bad board, should I submit an RMA? Or is there something else going on here?

I have similar problem,
I am able to ping other network devices but the 3 quartz64a I own rarelly respond to ping from other devices.

Can you also try pingin the device for a longer time? Sometimes it responds for a minute and then stops for another minute.
  Reply
#3
Hello @unixpoet and @polrus ,

Sorry to necro such an old thread, but am I just walking into this issue now.

More people were having issues with the onboard ethernet chip, judging from this and this thread. I searched for drivers/firmware for the Realtek RTL8211E chip but could unfortunately not find any.

Oddly enough, I had the exact opposite problem as you, @unixpoet. Receiving data is going at the exact same rates as you posted for sending (941Mbits/sec), but sending data from the device is super, super slow, even slower than you posted for receiving, around 150Kbits/sec.

Did you guys every manage to find a solution? For now I've "solved" it by connecting a Gigabit Ethernet USB dongle, which is a bit slower than the integrated NIC. But of course it would be much nicer if this wasn't necessary Smile I'm currently running the latest DietPi image (version 9.6.1) with kernel 6.9.8, if that is of any interest.
PinePhone (BH 2GB + CE 3GB) // RockPro64 4GB (rev. 2.1) - OMV NAS // PineH64 3GB (model B) - off-prem OMV NAS // Pine64-LTS 2GB (rev. 1.2 + Playbox) - Domotics server
  Reply
#4
I have a similar issue. Using GBit ethernet the connection is really really flaky, ssh hangs, ping shows package loss. For now I try to sort of work around by restricting the speed to 100 MBit. Needs further testing, though.
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)