Very slow eth0 network

Hello eneryone.

I’m experiencing very weird network issues and after trying to understand and fix the problem, I hope you can help me out.

I put as much information I think as useful below. Don’t hesitate to ask if I missed something.

Expected behaviour

The SBC should be able to have 200Mb/s network speed

Actual behaviour

The SBC has very slow network speed between 0.2 and 7 Mb/s both for upload and download.

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | cat /boot/dietpi/.version

G_DIETPI_VERSION_CORE=10
G_DIETPI_VERSION_SUB=3
G_DIETPI_VERSION_RC=3
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’
G_LIVE_PATCH_STATUS[0]=‘applied’
G_LIVE_PATCH_STATUS[1]=‘applied’
G_LIVE_PATCH_STATUS[2]=‘applied’

  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN

trixie

  • Kernel version | uname --all

Linux DietPi 7.0.6 #1 SMP PREEMPT Mon May 11 14:37:29 UTC 2026 aarch64 GNU/Linux

  • Architecture | dpkg --print-architecture

arm64

  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)

Quartz64 (aarch64), manufacturer Pine64

  • Power supply used | (EG: 5V 1A RAVpower)

Pine64 official power supply for Quartz64

  • SD card used | (EG: SanDisk ultra)

No SD card, the main disk is an eMMC card. The SBC is connected tot 2 hard drives for data and backup storage

Additional Information (if applicable)

  • The problem wasn’t there at the beginning (around 1,5 years ago) but began popping up around 5 months ago. At that time, restarting the network daemon with “systemctl restart networking” (sometimes 2 or 3 times) did the trick and the speed came back. Now it is always slow, no matter how many times I restart the daemon or the whole system.

  • I test the network speed with the “speedtest-cli --secure” command

  • The SBC is directly connected to my router with a gigabit ethernet cable. These cables work well with my laptop (which shows around 200Mb/s when tested with the same command)

  • I used the “My traceroute” (mtr) while checking the regular causes and I noticed I have a quite big amount of lost packets:

Can you check the following:

ethtool eth0 | grep -E 'Speed|Duplex|Auto'
ip -s link show eth0
ethtool -S eth0 | grep -i error
dmesg | grep -Ei 'eth|stmmac|link|dma|timeout|reset'

And are you able to test the speed inside your LAN, for example with iperf or by copying something via SMB/NFS?

Hi,

Thanks for your help. Here are the results of the commands.

ethtool eth0 | grep -E 'Speed|Duplex|Auto'

	Speed: 1000Mb/s
	Duplex: Full
	Auto-negotiation: on



ip -s link show eth0


ethtool -S eth0 | grep -i error

     mmc_tx_underflow_error: 0
     mmc_tx_carrier_error: 0
     mmc_rx_crc_error: 0
     mmc_rx_align_error: 0
     mmc_rx_run_error: 0
     mmc_rx_jabber_error: 0
     mmc_rx_length_error: 0
     mmc_rx_watchdog_error: 0
     mmc_rx_error: 0
     tx_payload_error: 0
     tx_ip_header_error: 0
     overflow_error: 0
     ipc_csum_error: 0
     rx_crc_errors: 0
     fatal_bus_error_irq: 0
     phy_eee_wakeup_error_n: 0


dmesg | grep -Ei 'eth|stmmac|link|dma|timeout|reset'



[    0.000000] psci: probing for conduit method from DT.
[    0.000000]   DMA      [mem 0x0000000000200000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[    0.045641] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.047118] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.047493] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.047586] audit: initializing netlink subsys (disabled)
[    0.868447] dma-pl330 fe530000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.868506] dma-pl330 fe530000.dma-controller: 	DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    0.871686] dma-pl330 fe550000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.871732] dma-pl330 fe550000.dma-controller: 	DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    1.046307] igb: Intel(R) Gigabit Ethernet Network Driver
[    1.047403] Intel(R) 2.5G Ethernet Linux Driver
[    1.052572] i40e: Intel(R) Ethernet Connection XL710 Network Driver
[    1.053781] iavf: Intel(R) Ethernet Adaptive Virtual Function Network Driver
[    1.054973] Intel(R) Ethernet Switch Host Interface Driver
[    1.056289] ice: Intel(R) Ethernet Connection E800 Series Linux Driver
[    1.087203] arm-scmi arm-scmi.0.auto: SCMI max-rx-timeout: 30ms / max-msg-size: 104bytes / max-msg: 20
[    1.408779] mmc1: SDHCI controller on fe310000.mmc [fe310000.mmc] using ADMA
[    1.655331] rockchip-dw-pcie 3c0000000.pcie: PCIe Gen.2 x1 link up
[    1.687500] pci 0000:01:00.0: 4.000 Gb/s available PCIe bandwidth, limited by 5.0 GT/s PCIe x1 link at 0000:00:00.0 (capable of 7.876 Gb/s with 8.0 GT/s PCIe x1 link)
[    1.710721] ahci 0000:01:00.0: controller can't do 64bit DMA, forcing 32bit
[    1.724663] ata1: SATA max UDMA/133 abar m8192@0xf4210000 port 0xf4210100 irq 68 lpm-pol 1 ext
[    1.725434] ata2: SATA max UDMA/133 abar m8192@0xf4210000 port 0xf4210180 irq 69 lpm-pol 1 ext
[    1.756460] rk_gmac-dwmac fe010000.ethernet: IRQ sfty not found
[    1.757717] rk_gmac-dwmac fe010000.ethernet: clock input or output? (input).
[    1.758347] rk_gmac-dwmac fe010000.ethernet: TX delay(0x30).
[    1.758850] rk_gmac-dwmac fe010000.ethernet: RX delay(0x10).
[    1.759397] rk_gmac-dwmac fe010000.ethernet: integrated PHY? (no).
[    1.759968] rk_gmac-dwmac fe010000.ethernet: clock input from PHY
[    1.765520] rk_gmac-dwmac fe010000.ethernet: init for RGMII
[    1.766316] rk_gmac-dwmac fe010000.ethernet: User ID: 0x30, Synopsys ID: 0x51
[    1.766958] rk_gmac-dwmac fe010000.ethernet: 	DWMAC4/5
[    1.767461] rk_gmac-dwmac fe010000.ethernet: DMA HW capability register supported
[    1.768128] rk_gmac-dwmac fe010000.ethernet: Active PHY interface: RGMII (1)
[    1.768754] rk_gmac-dwmac fe010000.ethernet: RX Checksum Offload Engine supported
[    1.769416] rk_gmac-dwmac fe010000.ethernet: TX Checksum insertion supported
[    1.770041] rk_gmac-dwmac fe010000.ethernet: Wake-Up On Lan supported
[    1.770674] rk_gmac-dwmac fe010000.ethernet: TSO supported
[    1.771169] rk_gmac-dwmac fe010000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    1.771901] rk_gmac-dwmac fe010000.ethernet: Enabled RFS Flow TC (entries=10)
[    1.772537] rk_gmac-dwmac fe010000.ethernet: TSO feature enabled
[    1.773075] rk_gmac-dwmac fe010000.ethernet: Using 32/32 bits DMA host/device width
[    1.945229] dwmmc_rockchip fe2b0000.mmc: IDMAC supports 32-bit address mode.
[    1.945925] dwmmc_rockchip fe2b0000.mmc: Using internal DMA controller.
[    1.946888] dwmmc_rockchip fe2c0000.mmc: IDMAC supports 32-bit address mode.
[    1.946936] dwmmc_rockchip fe2c0000.mmc: Using internal DMA controller.
[    3.763335] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    3.800880] ata1.00: ATA-10: ST2000DM008-2UB102, 0001, max UDMA/133
[    3.871468] ata1.00: configured for UDMA/133
[    4.363344] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    4.392343] ata2.00: ATA-10: ST2000DM008-2UB102, 0001, max UDMA/133
[    4.462602] ata2.00: configured for UDMA/133
[    5.356441] dw-apb-uart fe660000.serial: forbid DMA for kernel console
[    9.470260] rk_gmac-dwmac fe010000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[    9.474082] rk_gmac-dwmac fe010000.ethernet eth0: PHY [stmmac-0:00] driver [YT8511 Gigabit Ethernet] (irq=POLL)
[    9.483572] rk_gmac-dwmac fe010000.ethernet eth0: No Safety Features support found
[    9.484071] rk_gmac-dwmac fe010000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[    9.484425] rk_gmac-dwmac fe010000.ethernet eth0: registered PTP clock
[    9.484446] rk_gmac-dwmac fe010000.ethernet eth0: configuring for phy/rgmii link mode
[   12.548393] rk_gmac-dwmac fe010000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   18.162278] Initializing XFRM netlink socket
[   21.609793] br-375141c862f1: port 1(veth44206dd) entered blocking state
[   21.609849] br-375141c862f1: port 1(veth44206dd) entered disabled state
[   21.609896] veth44206dd: entered allmulticast mode
[   21.610117] veth44206dd: entered promiscuous mode
[   21.708819] br-375141c862f1: port 2(veth876b9df) entered blocking state
[   21.708869] br-375141c862f1: port 2(veth876b9df) entered disabled state
[   21.708930] veth876b9df: entered allmulticast mode
[   21.709142] veth876b9df: entered promiscuous mode
[   21.863702] br-375141c862f1: port 3(veth3aab174) entered blocking state
[   21.863755] br-375141c862f1: port 3(veth3aab174) entered disabled state
[   21.863799] veth3aab174: entered allmulticast mode
[   21.864165] veth3aab174: entered promiscuous mode
[   21.910956] br-375141c862f1: port 4(veth83a38af) entered blocking state
[   21.911044] br-375141c862f1: port 4(veth83a38af) entered disabled state
[   21.911084] veth83a38af: entered allmulticast mode
[   21.911404] veth83a38af: entered promiscuous mode
[   21.981748] br-375141c862f1: port 5(veth2c07b6d) entered blocking state
[   21.982244] br-375141c862f1: port 5(veth2c07b6d) entered disabled state
[   21.982379] veth2c07b6d: entered allmulticast mode
[   21.982990] veth2c07b6d: entered promiscuous mode
[   21.991810] eth0: renamed from veth7e07d2a
[   21.998652] br-375141c862f1: port 1(veth44206dd) entered blocking state
[   21.998685] br-375141c862f1: port 1(veth44206dd) entered forwarding state
[   22.146430] eth0: renamed from veth19cb767
[   22.212011] eth0: renamed from veth12d5f52
[   22.492452] br-40734bf619eb: port 1(vethc612f8d) entered blocking state
[   22.492488] br-40734bf619eb: port 1(vethc612f8d) entered disabled state
[   22.492530] vethc612f8d: entered allmulticast mode
[   22.492719] vethc612f8d: entered promiscuous mode
[   22.493145] br-375141c862f1: port 2(veth876b9df) entered blocking state
[   22.493193] br-375141c862f1: port 2(veth876b9df) entered forwarding state
[   22.493350] br-375141c862f1: port 3(veth3aab174) entered blocking state
[   22.493361] br-375141c862f1: port 3(veth3aab174) entered forwarding state
[   22.622453] br-3c68bb9e370d: port 1(vethe1eefad) entered blocking state
[   22.622507] br-3c68bb9e370d: port 1(vethe1eefad) entered disabled state
[   22.622550] vethe1eefad: entered allmulticast mode
[   22.622771] vethe1eefad: entered promiscuous mode
[   22.628276] eth0: renamed from veth018047b
[   22.636616] eth0: renamed from veth05a1340
[   22.650887] br-375141c862f1: port 5(veth2c07b6d) entered blocking state
[   22.650919] br-375141c862f1: port 5(veth2c07b6d) entered forwarding state
[   22.661161] br-375141c862f1: port 4(veth83a38af) entered blocking state
[   22.661225] br-375141c862f1: port 4(veth83a38af) entered forwarding state
[   22.908862] br-4af34a3fd587: port 1(vethe1a7747) entered blocking state
[   22.908922] br-4af34a3fd587: port 1(vethe1a7747) entered disabled state
[   22.908960] vethe1a7747: entered allmulticast mode
[   22.909287] vethe1a7747: entered promiscuous mode
[   22.940026] br-f87d5de57574: port 1(veth9376d63) entered blocking state
[   22.940218] br-f87d5de57574: port 1(veth9376d63) entered disabled state
[   22.940399] veth9376d63: entered allmulticast mode
[   22.942897] veth9376d63: entered promiscuous mode
[   22.951784] br-375141c862f1: port 6(veth7caa4c2) entered blocking state
[   22.951832] br-375141c862f1: port 6(veth7caa4c2) entered disabled state
[   22.951873] veth7caa4c2: entered allmulticast mode
[   22.952074] veth7caa4c2: entered promiscuous mode
[   22.976533] br-40734bf619eb: port 2(veth2b2d4cb) entered blocking state
[   22.976564] br-40734bf619eb: port 2(veth2b2d4cb) entered disabled state
[   22.976840] veth2b2d4cb: entered allmulticast mode
[   22.977443] veth2b2d4cb: entered promiscuous mode
[   22.984021] br-96ae5d524308: port 1(veth264b73a) entered blocking state
[   22.984053] br-96ae5d524308: port 1(veth264b73a) entered disabled state
[   22.984095] veth264b73a: entered allmulticast mode
[   22.984302] veth264b73a: entered promiscuous mode
[   23.004720] eth0: renamed from veth07a2251
[   23.007188] br-40734bf619eb: port 1(vethc612f8d) entered blocking state
[   23.007256] br-40734bf619eb: port 1(vethc612f8d) entered forwarding state
[   23.015759] eth0: renamed from vethcf17e5d
[   23.022502] br-3c68bb9e370d: port 1(vethe1eefad) entered blocking state
[   23.022535] br-3c68bb9e370d: port 1(vethe1eefad) entered forwarding state
[   23.025542] br-033a402b583b: port 1(vethe7f5f28) entered blocking state
[   23.025577] br-033a402b583b: port 1(vethe7f5f28) entered disabled state
[   23.025619] vethe7f5f28: entered allmulticast mode
[   23.025820] vethe7f5f28: entered promiscuous mode
[   23.285587] br-375141c862f1: port 7(veth2e6fd97) entered blocking state
[   23.285982] br-375141c862f1: port 7(veth2e6fd97) entered disabled state
[   23.286884] veth2e6fd97: entered allmulticast mode
[   23.288128] veth2e6fd97: entered promiscuous mode
[   23.419855] eth0: renamed from veth2342bb0
[   23.432075] br-375141c862f1: port 6(veth7caa4c2) entered blocking state
[   23.432104] br-375141c862f1: port 6(veth7caa4c2) entered forwarding state
[   23.475062] eth0: renamed from veth7fd699f
[   23.485083] eth0: renamed from veth8b48910
[   23.489492] eth0: renamed from veth90fdbf7
[   23.504205] br-96ae5d524308: port 1(veth264b73a) entered blocking state
[   23.504237] br-96ae5d524308: port 1(veth264b73a) entered forwarding state
[   23.508501] br-40734bf619eb: port 2(veth2b2d4cb) entered blocking state
[   23.508534] br-40734bf619eb: port 2(veth2b2d4cb) entered forwarding state
[   23.520737] eth0: renamed from veth018a774
[   23.527514] br-033a402b583b: port 1(vethe7f5f28) entered blocking state
[   23.527548] br-033a402b583b: port 1(vethe7f5f28) entered forwarding state
[   23.536534] br-4af34a3fd587: port 1(vethe1a7747) entered blocking state
[   23.536568] br-4af34a3fd587: port 1(vethe1a7747) entered forwarding state
[   23.538754] eth0: renamed from vethc4654f7
[   23.545900] br-f87d5de57574: port 1(veth9376d63) entered blocking state
[   23.545931] br-f87d5de57574: port 1(veth9376d63) entered forwarding state
[   23.583073] eth0: renamed from veth04cf583
[   23.585950] br-375141c862f1: port 7(veth2e6fd97) entered blocking state
[   23.585983] br-375141c862f1: port 7(veth2e6fd97) entered forwarding state
[   23.821999] br-afe64f1732ef: port 1(veth84a2ece) entered blocking state
[   23.822053] br-afe64f1732ef: port 1(veth84a2ece) entered disabled state
[   23.822168] veth84a2ece: entered allmulticast mode
[   23.822386] veth84a2ece: entered promiscuous mode
[   23.877168] eth1: renamed from vethcc74bac
[   23.884754] br-afe64f1732ef: port 1(veth84a2ece) entered blocking state
[   23.884786] br-afe64f1732ef: port 1(veth84a2ece) entered forwarding state
[  208.382161] rk_gmac-dwmac fe010000.ethernet eth0: Link is Down
[  208.779370] rk_gmac-dwmac fe010000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[  208.781596] rk_gmac-dwmac fe010000.ethernet eth0: PHY [stmmac-0:00] driver [YT8511 Gigabit Ethernet] (irq=POLL)
[  208.791382] rk_gmac-dwmac fe010000.ethernet eth0: No Safety Features support found
[  208.791425] rk_gmac-dwmac fe010000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[  208.791771] rk_gmac-dwmac fe010000.ethernet eth0: registered PTP clock
[  208.791786] rk_gmac-dwmac fe010000.ethernet eth0: configuring for phy/rgmii link mode
[  211.844574] rk_gmac-dwmac fe010000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[  302.106581] rk_gmac-dwmac fe010000.ethernet eth0: Link is Down
[  302.476065] rk_gmac-dwmac fe010000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[  302.478059] rk_gmac-dwmac fe010000.ethernet eth0: PHY [stmmac-0:00] driver [YT8511 Gigabit Ethernet] (irq=POLL)
[  302.487292] rk_gmac-dwmac fe010000.ethernet eth0: No Safety Features support found
[  302.487331] rk_gmac-dwmac fe010000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[  302.487632] rk_gmac-dwmac fe010000.ethernet eth0: registered PTP clock
[  302.487644] rk_gmac-dwmac fe010000.ethernet eth0: configuring for phy/rgmii link mode
[  305.540906] rk_gmac-dwmac fe010000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[  423.475157] rk_gmac-dwmac fe010000.ethernet eth0: Link is Down
[  423.843867] rk_gmac-dwmac fe010000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[  423.846034] rk_gmac-dwmac fe010000.ethernet eth0: PHY [stmmac-0:00] driver [YT8511 Gigabit Ethernet] (irq=POLL)
[  423.855375] rk_gmac-dwmac fe010000.ethernet eth0: No Safety Features support found
[  423.855423] rk_gmac-dwmac fe010000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[  423.855801] rk_gmac-dwmac fe010000.ethernet eth0: registered PTP clock
[  423.855817] rk_gmac-dwmac fe010000.ethernet eth0: configuring for phy/rgmii link mode
[  426.916842] rk_gmac-dwmac fe010000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[  519.634450] rk_gmac-dwmac fe010000.ethernet eth0: Link is Down
[  520.012007] rk_gmac-dwmac fe010000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[  520.013911] rk_gmac-dwmac fe010000.ethernet eth0: PHY [stmmac-0:00] driver [YT8511 Gigabit Ethernet] (irq=POLL)
[  520.023324] rk_gmac-dwmac fe010000.ethernet eth0: No Safety Features support found
[  520.023364] rk_gmac-dwmac fe010000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[  520.023673] rk_gmac-dwmac fe010000.ethernet eth0: registered PTP clock
[  520.023684] rk_gmac-dwmac fe010000.ethernet eth0: configuring for phy/rgmii link mode
[  523.076860] rk_gmac-dwmac fe010000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[229995.805581] rk_gmac-dwmac fe010000.ethernet eth0: Link is Down
[229996.198333] rk_gmac-dwmac fe010000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[229996.200344] rk_gmac-dwmac fe010000.ethernet eth0: PHY [stmmac-0:00] driver [YT8511 Gigabit Ethernet] (irq=POLL)
[229996.210313] rk_gmac-dwmac fe010000.ethernet eth0: No Safety Features support found
[229996.210355] rk_gmac-dwmac fe010000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[229996.210697] rk_gmac-dwmac fe010000.ethernet eth0: registered PTP clock
[229996.210711] rk_gmac-dwmac fe010000.ethernet eth0: configuring for phy/rgmii link mode
[229999.267844] rk_gmac-dwmac fe010000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[231269.725643] rk_gmac-dwmac fe010000.ethernet eth0: Link is Down
[231270.105973] rk_gmac-dwmac fe010000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[231270.108284] rk_gmac-dwmac fe010000.ethernet eth0: PHY [stmmac-0:00] driver [YT8511 Gigabit Ethernet] (irq=POLL)
[231270.118287] rk_gmac-dwmac fe010000.ethernet eth0: No Safety Features support found
[231270.118332] rk_gmac-dwmac fe010000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[231270.118684] rk_gmac-dwmac fe010000.ethernet eth0: registered PTP clock
[231270.118697] rk_gmac-dwmac fe010000.ethernet eth0: configuring for phy/rgmii link mode
[231273.187853] rk_gmac-dwmac fe010000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx


I did some tests between my desktop and my SBC both in the same local network.

When I do a test from my desktop (client) to the SBC (server), the result is nice and fast:

------------------------------------------------------------
Client connecting to 192.168.1.140, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  1] local 192.168.1.39 port 55542 connected with 192.168.1.140 port 5001
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.03 sec  1.09 GBytes   934 Mbits/sec

When I do a test from my SBC (client) to my desktop (server), the result is catastrophic:

------------------------------------------------------------
Client connecting to 192.168.1.39, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  1] local 192.168.1.140 port 52592 connected with 192.168.1.39 port 5001
[ ID] Interval       Transfer     Bandwidth
[  1] 0.0000-20.2429 sec   211 KBytes  85.3 Kbits/sec

I did those tests twice and the results are consistent. I don’t understand why the difference is so big.