Can't reach full speed with 2.5 NIC

nick.volkov

Member
Aug 21, 2022
4
0
6
Hi,

Through internet seen people successfully using 2.5Gbs Realtek rtl8156bg USB adapters with Proxmox.

I have few adapters, driver reports connected on 2500Mb/s full duplex, somehow iperf showing max 1.05 Mbits/sec connection. Let me know any ideas.

Code:
root@P20:/# ip a              
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute
       valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether fc:5c:ee:70:5f:32 brd ff:ff:ff:ff:ff:ff
3: enx1cbfce6c9f0c: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
    link/ether 1c:bf:ce:6c:9f:0c brd ff:ff:ff:ff:ff:ff
4: enx803f5df9d7a0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 80:3f:5d:f9:d7:a0 brd ff:ff:ff:ff:ff:ff
5: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 1c:bf:ce:6c:9f:0c brd ff:ff:ff:ff:ff:ff
    inet 10.2.0.20/25 scope global vmbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::1ebf:ceff:fe6c:9f0c/64 scope link
       valid_lft forever preferred_lft forever

root@P20:/# ethtool -i enx1cbfce6c9f0c
driver: r8152
version: v1.12.13
firmware-version: rtl8156b-2 v3 10/20/23
expansion-rom-version:
bus-info: usb-0000:00:14.0-1
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

root@P20:/# ethtool enx1cbfce6c9f0c
Settings for enx1cbfce6c9f0c:
        Supported ports: [ TP    MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
                                2500baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
                                2500baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  100baseT/Full
                                             1000baseT/Full
                                             2500baseT/Full
        Link partner advertised pause frame use: Symmetric
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 2500Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: MII
        PHYAD: 32
        Transceiver: internal
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00007fff (32767)
                               drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol
        Link detected: yes
 
Last edited:
Sounds like you're experiencing the same thing I was.. I used to use a USB realtek Ethernet adapter but since have replaced it with an Intel NIC.

I had to add pcie_port_pm=off to the grub because something about the powersaver was limiting the USB NIC.
 
  • Like
Reactions: news
I made pm off in grub, and really iperf going a bit high to 1.5, some how system is keep hang after few minutes of use. So switched this off. Seems usb drivers are not perfect. I do have Intel i3-1215U with few 3.2 ports. Seems have to wait for normal drivers or what is an options?
 
Last edited: