Hi, i just got my 10gbit connection but somehow i only get about 1gbit (up+down). So i am not sure if this is a provider problem or something in the r4/openwrt.
root@OpenWrt:~# ethtool eth2
Settings for eth2:
Supported ports: [ FIBRE ]
Supported link modes: 10000baseLR/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10000baseLR/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 10000Mb/s
Duplex: Full
Port: FIBRE
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Current message level: 0x000000ff (255)
drv probe link timer ifdown ifup rx_err tx_err
Link detected: yes
I already rebooted, running openwrt snapshot from maybe a week ago. To me, it looks ok on my side (imo), so probably an ISP problem? Anyone an idea how to figure out more?
edit: it cant be lan3 as this is a 1gbit port
i changed it now to the first sfp+ rj45 port, but still only 1gbit.
so i checked eth1 (thats the port)
root@OpenWrt:/tmp# ethtool eth1
Settings for eth1:
Supported ports: [ FIBRE ]
Supported link modes: 1000baseX/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 1000baseX/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 1000baseX/Full
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Port: FIBRE
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Current message level: 0x000000ff (255)
drv probe link timer ifdown ifup rx_err tx_err
Link detected: yes
looks to me there is really a problem with this auto-negotiation thingen?
root@OpenWrt:/tmp# ethtool -A eth1 rx off tx off autoneg off
Cannot get device pause settings: Not supported
root@OpenWrt:/tmp# ethtool -s eth1 speed 10000
Cannot advertise speed 10000
is this sfp-rj45-adapter crap?
edit 2:
root@OpenWrt:/tmp# ./speedtest-netperf.sh -H netperf-eu.bufferbloat.net
2024-05-07 11:12:03 Starting speedtest for 60 seconds per transfer session.
Measure speed to netperf-eu.bufferbloat.net (IPv4) while pinging gstatic.com.
Download and upload sessions are sequential, each with 5 simultaneous streams.
.............................................................
Download: 2264.54 Mbps
Latency: [in msec, 61 pings, 0.00% packet loss]
Min: 2.254
10pct: 2.310
Median: 2.466
Avg: 2.471
90pct: 2.614
Max: 2.709
CPU Load: [in % busy (avg +/- std dev) @ avg frequency, 58 samples]
cpu0: 55.5 +/- 5.3 @ 1500 MHz
cpu1: 13.7 +/- 3.2 @ 1500 MHz
cpu2: 21.1 +/- 6.8 @ 1500 MHz
cpu3: 13.7 +/- 3.5 @ 1500 MHz
Overhead: [in % used of total CPU available]
netperf: 8.6
.............................................................
Upload: 3731.88 Mbps
Latency: [in msec, 61 pings, 0.00% packet loss]
Min: 2.213
10pct: 2.239
Median: 2.343
Avg: 2.377
90pct: 2.525
Max: 2.680
CPU Load: [in % busy (avg +/- std dev) @ avg frequency, 58 samples]
cpu0: 16.0 +/- 4.1 @ 1500 MHz
cpu1: 8.5 +/- 2.7 @ 1500 MHz
cpu2: 17.4 +/- 1.4 @ 1500 MHz
cpu3: 6.4 +/- 2.6 @ 1500 MHz
Overhead: [in % used of total CPU available]
netperf: 5.0
So it seems like this sfp-rj45-adapter is crap i guess? Or is this a driver problem?
I think one of the SFP is only 2.5Gbps to data throughput.
The other one I have tested at 5Gbps so trying in the other socket might be worth a try.
Some extra features like LRO and RSS are needed to reach higher than that.
For me it sounds like the 3.5g/2.5g are ok (maximum from ISP) and only the other sfp is the problem which only supports 1g mode based on ethtool output
close, yes. Max from ISP is 10/10, but its totally fine for me to have only 2 or 3gbit as long as no hw acceleration is possible. The other SFP is indeed a problem. It is this one: https://www.aliexpress.us/item/3256805471213618.html
has to do with my problem with a bad sfp+ performance with that 10gbit rj45 adapter? Because i dont get it. Or did you check my problem with the BPI support?