Poor performance with RTL8156 network adapter

Started by GTA_doum, July 16, 2022, 08:00:26 PM

Previous topic - Next topic
Hello,
I tried OPNsense on a mini computer and plugged a 2.5gbps USB adapter on a USB 3 port.  OPNsense recognized the adapter as being cdc, adapter shows it is connected at 2.5gbps, my isp supports up to 1.5gbps which for now tops at 1.2, tested with a laptop running Ubuntu with the same USB adapter.
OPNsense gets 100mbps up and down, nothing more!  Is there a way to make it run full speed?

Thanks.

With real network interfaces, yes. With USB, most probably no.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Why with USB no?
I tried running OPNsense virtually on the laptop wiht Ubuntu, connected the USB adapter to the virtual OPNsense with virtIO type and the performance were what I was expecting them to be...

Seems like a driver difference given the different scenarios.  Likely the natively built driver is not optimal for the device.

Have you tried installing the realtek driver available in the packages repo?
OPNsense 24.7.7 running on:
Dell Optiplex 3050
Intel I5-7600 @ 3.5Ghz (4 Cores)
Intel I350-T4 Nic
8G DDR4
256G SSD