Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4496

Troubleshooting • Raspberry PI 5 Flow Control not enabling causing slow internet speeds, but normal iperf speeds.

$
0
0
Hello,
I have recently purchased a raspberry pi5 and I ran iperf3 to my pi4b, and I was showing full 1 gbps up and down, but when I use speedtest I get much slower speeds, I checked dmesg, and see that, flow control is not enabled.

From RPI 5 running RPIOS lite:

Code:

sudo dmesg | grep eth0[84736.712197] macb 1f00100000.ethernet eth0: Link is Down[84739.784662] macb 1f00100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off

Code:

sudo ethtool eth0Settings for eth0:        Supported ports: [ TP    MII ]        Supported link modes:   10baseT/Half 10baseT/Full                                100baseT/Half 100baseT/Full                                1000baseT/Half 1000baseT/Full        Supported pause frame use: Transmit-only        Supports auto-negotiation: Yes        Supported FEC modes: Not reported        Advertised link modes:  10baseT/Half 10baseT/Full                                100baseT/Half 100baseT/Full                                1000baseT/Half 1000baseT/Full        Advertised pause frame use: Transmit-only        Advertised auto-negotiation: Yes        Advertised FEC modes: Not reported        Link partner advertised link modes:  10baseT/Half 10baseT/Full                                             100baseT/Half 100baseT/Full                                             1000baseT/Half 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: Twisted Pair        PHYAD: 1        Transceiver: external        MDI-X: Unknown        Supports Wake-on: d        Wake-on: d        Link detected: yes
But on my raspberry pi 4 running ubuntu, it shows:

Code:

sudo ethtool eth0Settings for eth0:        Supported ports: [ TP    MII ]        Supported link modes:   10baseT/Half 10baseT/Full                                100baseT/Half 100baseT/Full                                1000baseT/Half 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/Half 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/Half 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: Twisted Pair        PHYAD: 1        Transceiver: external        MDI-X: Unknown        Supports Wake-on: d        Wake-on: d        Current message level: 0x00000007 (7)                               drv probe link        Link detected: yes

Code:

sudo dmesg | grep eth0[   16.656617] bcmgenet fd580000.ethernet eth0: Link is Down[   20.771245] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
I also see that running lshw, that this shows what driver is being used, and I am wondering why it is running macb, and not some broad com driver.

Code:

sudo lshw -class network  *-network       description: Ethernet controller       physical id: 0       bus info: pci@0000:01:00.0       version: 00       width: 32 bits       clock: 33MHz       capabilities: pm pciexpress msix bus_master cap_list       configuration: driver=rp1 latency=0       resources: irq:39 memory:1f00410000-1f00413fff memory:1f00000000-1f003fffff memory:1f00400000-1f0040ffff  *-interface:0 DISABLED       description: Wireless interface       product: 4345       vendor: Broadcom       physical id: 1       bus info: mmc@1:0001:1       logical name: mmc1:0001:1       logical name: wlan0       serial: REDACTED       capabilities: ethernet physical wireless       configuration: broadcast=yes driver=brcmfmac driverversion=7.45.16.144 firmware=01-b677b91b multicast=yes wireless=IEEE 802.11  *-network       description: Ethernet interface       physical id: e       logical name: eth0       serial: REDACTED       size: 1Gbit/s       capacity: 1Gbit/s       capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation       configuration: autonegotiation=on broadcast=yes driver=macb driverversion=6.6.67-v8-16k+ duplex=full ip=192.168.1.50 link=yes multicast=yes port=twisted pair speed=1Gbit/s
These are both plugged into the router right next to each other, I was thinking that this should work.

Statistics: Posted by Storm07 — Sun Dec 29, 2024 10:48 pm — Replies 0 — Views 18



Viewing all articles
Browse latest Browse all 4496

Trending Articles