Joshua-Riek / ubuntu-rockchip

Ubuntu for Rockchip RK35XX Devices
https://joshua-riek.github.io/ubuntu-rockchip-download/
GNU General Public License v3.0
2.55k stars 276 forks source link

lubancat4: 6.1.0 kernel issues: slow upload speed; full speed at version 5.10.198 #778

Open YangMame opened 6 months ago

YangMame commented 6 months ago

iperf3 test(217 is lubancat4):

┌💁  mame @ 💻  MameCOM in 📁  ~
└❯ iperf3 -c 192.168.1.217
Connecting to host 192.168.1.217, port 5201
[  5] local 192.168.1.142 port 38790 connected to 192.168.1.217 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   114 MBytes   956 Mbits/sec    0    440 KBytes
[  5]   1.00-2.00   sec   112 MBytes   944 Mbits/sec    0    489 KBytes
[  5]   2.00-3.00   sec   112 MBytes   938 Mbits/sec    0    489 KBytes
[  5]   3.00-4.00   sec   112 MBytes   944 Mbits/sec    0    489 KBytes
[  5]   4.00-5.00   sec   112 MBytes   937 Mbits/sec    0    510 KBytes
[  5]   5.00-6.00   sec   112 MBytes   942 Mbits/sec    0    510 KBytes
[  5]   6.00-7.00   sec   112 MBytes   941 Mbits/sec    0    510 KBytes
[  5]   7.00-8.00   sec   112 MBytes   941 Mbits/sec    0    510 KBytes
[  5]   8.00-9.00   sec   112 MBytes   943 Mbits/sec    0    510 KBytes
[  5]   9.00-10.00  sec   112 MBytes   938 Mbits/sec    0    510 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.10 GBytes   942 Mbits/sec    0             sender
[  5]   0.00-10.00  sec  1.10 GBytes   940 Mbits/sec                  receiver

iperf Done.

┌💁  mame @ 💻  MameCOM in 📁  ~
└❯ iperf3 -s
-----------------------------------------------------------
Server listening on 5201 (test #1)
-----------------------------------------------------------
Accepted connection from 192.168.1.217, port 53230
[  5] local 192.168.1.142 port 5201 connected to 192.168.1.217 port 53240
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec   512 KBytes  4.19 Mbits/sec
[  5]   1.00-2.00   sec   256 KBytes  2.10 Mbits/sec
[  5]   2.00-3.00   sec   256 KBytes  2.10 Mbits/sec
[  5]   3.00-4.00   sec  0.00 Bytes  0.00 bits/sec
[  5]   4.00-5.00   sec   128 KBytes  1.05 Mbits/sec
[  5]   5.00-6.00   sec   128 KBytes  1.05 Mbits/sec
[  5]   6.00-7.00   sec   128 KBytes  1.05 Mbits/sec
[  5]   7.00-8.00   sec   128 KBytes  1.05 Mbits/sec
[  5]   8.00-9.00   sec   128 KBytes  1.05 Mbits/sec
[  5]   9.00-10.00  sec   256 KBytes  2.10 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.00  sec  1.88 MBytes  1.57 Mbits/sec                  receiver
-----------------------------------------------------------

ethtool:

Settings for eth0:
        Supported ports: [ TP    MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
                                             1000baseT/Full
        Link partner advertised pause frame use: Symmetric
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        master-slave cfg: preferred slave
        master-slave status: slave
        Port: MII
        PHYAD: 1
        Transceiver: external
netlink error: Operation not permitted
        Current message level: 0x0000003f (63)
                               drv probe link timer ifdown ifup
        Link detected: yes

ethtool --driver:

mame@lubancat4 ~ $ ethtool --driver eth0
driver: st_gmac
version: 6.1.0-1012-rockchip
firmware-version:
expansion-rom-version:
bus-info:
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no

please let me known if you need any other info

YangMame commented 6 months ago

friendly ping, any progress of this bug?

github-actions[bot] commented 1 day ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 14 days. Thank you for your contribution!

YangMame commented 1 day ago

ping again :)