VirtualBox and 10Gbps adapter configuration

Hi people,

I bought a 10Gbps network adapter (https://www.amazon.com/dp/B07K7SMF89) and I added it to VirtualBox as Bridged Adapter (eth2) following the official documentation: https://openwrt.org/docs/guide-user/virtualization/virtualbox-vm

The problem is that the OpenWRT read the adapter only as 1000Mbps and not 10000Mbps

root@openWrt: ethtool eth2
Settings for eth2:
    Supported ports: [ TP ]
    Supported link modes: 10baseT/Half 10baseT/Full
                          100baseT/Half 100baseT/Full
                          1000baseT/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
    Advertised pause frame use: No
    Advertised auto-negotiation: Yes
    Advertised FEC modes: Not reported
    Speed: 1000Mb/s
    Duplex: Full
    Port: Twisted Pair
    PHYAD: 0
    Transceiver: internal
    Auto-negotiation: on MDI-X: off (auto)
    Supports Wake-on: umbg
    Wake-on: d
    Current message level: 0x00000007 (7)
                                          drv probe link
    Link detected: yes
root@openWrt:~#

What can I do to use the full throughput? Maybe I can edit the Adapter Type?

Thanks in advance for all suggestions :slight_smile:

If it's identified as 82540EM, probably never, that's a 1gbit adapter.

1 Like

Disclaimer, I haven't used virtualbox in the last 13 years (and wouldn't recommend such a setup, even less towards the upper end of the performance spectrum, ...at all).

virtio-net should have the best chances of breaking the 1 GBit/s barrier, albeit probably not all the way up.

1 Like

I doubt you'll even get 1 Gbps.

See: [Solved] X86_64 regular traffic slow but Wireguard wow