not getting 2.5Gbps speeds, Realtek 2.5GBase-T NIC

Started by kwisatzjim, October 17, 2022, 04:37:27 PM

Previous topic - Next topic
Hi

I installed a TRENDnet 2.5GBase-T NIC that uses the Realtek 8125 chipset for the LAN connection on my OPNsense box.  Installed the os-realtek-re driver.

It connects to a TRENDnet 2.5G PoE switch that is connected to my Engenius WAP that has a 2.5G WAN port, and also to a laptop with a 2.5G USB NIC.

iperf3 shows proper 2.5G speeds between the laptop and the WAP, but going to the OPNsense box is only about 650Mbps.

Is there something I need to do to get the OPNsense box to get the 2.5G speeds? or is this an issue with Realtek devices?

Any ideas?  thanks!

I finally found Intel 2.5G NICs and swapped for the Realtek NIC.  Getting slightly better speed but still not near 2.5G.

[ ID] Interval               Transfer         Bitrate
[  5]   0.00-20.02  sec  1.60 GBytes   687 Mbits/sec                  receiver

Here's my hw-probe results:



Host: Dell 0FDY5C A00 2022 - desktop with OPNsense 22.7.6 (exported from BSD-Hardware.info)

PROBE ID

{TELL THE STORY ABOUT YOUR COMPUTER HERE}

Devices on the board are the following:

DEVICESTATUSCOMMENT
BUS: PCI
ID: 8086:1912:1028:07a2
CLASS: 03-00-00
VENDOR: Intel
DEVICE: HD Graphics 530
TYPE: graphics card
DRIVER: vgapci

Detected


BUS: PCI
ID: 8086:a2f0:1028:07a2
CLASS: 04-03-00
VENDOR: Intel
DEVICE: 200 Series PCH HD Audio
TYPE: sound
DRIVER: hdac

Detected


BUS: PCI
ID: 8086:15d6:1028:07a2
CLASS: 02-00-00
VENDOR: Intel
DEVICE: Ethernet Connection (5) I219-V
TYPE: network
DRIVER: em

Detected


BUS: PCI
ID: 8086:15f3 (2x)
CLASS: 02-00-00
VENDOR: Intel
DEVICE: Ethernet Controller I225-V
TYPE: network
DRIVER: igc

Works


BUS: PCI
ID: 144d:a80a:144d:a801
CLASS: 01-08-02
VENDOR: Samsung Electronics
DEVICE: NVMe SSD Controller PM9A1/PM9A3/980PRO
TYPE: storage
DRIVER: nvme

Detected


BUS: PCI
ID: 8086:a282:1028:07a2
CLASS: 01-06-01
VENDOR: Intel
DEVICE: 200 Series PCH SATA controller [AHCI mode]
TYPE: storage
DRIVER: ahci

Detected


BUS: PCI
ID: 8086:1901:1028:07a2
CLASS: 06-04-00
VENDOR: Intel
DEVICE: 6th-10th Gen Core Processor PCIe Controller (x16)
TYPE: bridge
DRIVER: pcib

Detected


BUS: PCI
ID: 8086:191f:1028:07a2
CLASS: 06-00-00
VENDOR: Intel Corporation
DEVICE: Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers
TYPE: bridge
DRIVER: hostb

Detected


BUS: PCI
ID: 8086:a298:1028:07a2
CLASS: 06-04-00
VENDOR: Intel
DEVICE: 200 Series PCH PCI Express Root Port #9
TYPE: bridge
DRIVER: pcib

Works


BUS: PCI
ID: 8086:a2c6:1028:07a2
CLASS: 06-01-00
VENDOR: Intel
DEVICE: 200 Series PCH LPC Controller (Q270)
TYPE: bridge
DRIVER: isab

Detected


BUS: PCI
ID: 8086:a2e7:1028:07a2
CLASS: 06-04-00
VENDOR: Intel
DEVICE: 200 Series PCH PCI Express Root Port #17
TYPE: bridge
DRIVER: pcib

Detected


BUS: PCI
ID: 8086:a2ba:1028:07a2
CLASS: 07-80-00
VENDOR: Intel
DEVICE: 200 Series PCH CSME HECI #1
TYPE: communication controller
DRIVER: -

Failed

Driver is not found or not configured.

We have not found anything related to this device in any FreeBSD versions up to 14-CURRENT or known additional packages.
BUS: PCI
ID: 8086:a2bd:1028:07a2
CLASS: 07-00-02
VENDOR: Intel
DEVICE: 200 Series Chipset Family KT Redirection
TYPE: communication controller
DRIVER: -

Failed

Driver is not found or not configured.

We have not found anything related to this device in any FreeBSD versions up to 14-CURRENT or known additional packages.
BUS: PCI
ID: 8086:a2a1:1028:07a2
CLASS: 05-80-00
VENDOR: Intel
DEVICE: 200 Series/Z370 Chipset Family Power Management Controller
TYPE: memory controller
DRIVER: -

Detected


BUS: PCI
ID: 8086:a2b1:1028:07a2
CLASS: 11-80-00
VENDOR: Intel
DEVICE: 200 Series PCH Thermal Subsystem
TYPE: signal processing
DRIVER: -

Detected


BUS: PCI
ID: 8086:a2a3:1028:07a2
CLASS: 0c-05-00
VENDOR: Intel
DEVICE: 200 Series/Z370 Chipset Family SMBus Controller
TYPE: smbus
DRIVER: ichsmb

Detected


BUS: PCI
ID: 8086:a2af:1028:07a2
CLASS: 0c-03-30
VENDOR: Intel
DEVICE: 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller
TYPE: usb controller
DRIVER: xhci

Detected


BUS: USB
ID: 0b95:6804
CLASS: 09-00-00
VENDOR: ASIX Electronics
DEVICE: AX68004
TYPE: hub
DRIVER: uhub

Detected


BUS: USB
ID: 1d6b:0003
CLASS: 09-00-00
VENDOR: BSD
DEVICE: 3.0 root hub
TYPE: hub
DRIVER: uhub

Detected


BUS: USB
ID: 0b95:6801
CLASS: 03-01-01
VENDOR: ASIX Electronics
DEVICE: Virtual HID Ver:0.01
TYPE: keyboard
DRIVER: ukbd

Detected


BUS: USB
ID: 413c:2113
CLASS: 03-01-01
VENDOR: Dell
DEVICE: KB216 Wired Keyboard
TYPE: keyboard
DRIVER: ukbd

Detected


BUS: USB
ID: 413c:301a
CLASS: 03-01-02
VENDOR: Dell
DEVICE: Dell MS116 Optical Mouse
TYPE: mouse
DRIVER: ums

Detected


BUS: SYS
ID: dell-1-20-0-03-23-2022
VENDOR: Dell Inc.
DEVICE: BIOS 1.20.0 03/23/2022
TYPE: bios
DRIVER: -

Works


BUS: SYS
ID: intel-6-94-3-core-i5-6500 (4x)
VENDOR: Intel
DEVICE: Core i5-6500 CPU @ 3.20GHz
TYPE: cpu
DRIVER: -

Works


BUS: SYS
ID: crucial-ct8g4dfs8266-m8fr-dimm [C61]
VENDOR: Crucial
DEVICE: RAM CT8G4DFS8266.M8FR 8GB DIMM DDR4 2667MT/s
TYPE: memory
DRIVER: -

Works


BUS: SYS
ID: micron-8atf1g64az-2g3h1r-dimm [224]
VENDOR: Micron
DEVICE: RAM 8ATF1G64AZ-2G3H1R 8GB DIMM DDR4 2400MT/s
TYPE: memory
DRIVER: -

Works


BUS: SYS
ID: dell-0fdy5c-a00
VENDOR: Dell Inc.
DEVICE: Motherboard 0FDY5C A00
TYPE: motherboard
DRIVER: -

Works


BUS: PS/2
ID: ps/2:keyboard
VENDOR:
DEVICE: AT Keyboard
TYPE: keyboard
DRIVER: atkbdc

Detected


BUS: SCSI
ID: hl-dt-st-dvd-rom-du90n
VENDOR: HL-DT-ST
DEVICE: DVD-ROM DU90N
TYPE: cdrom
DRIVER: cd, ahcich

Detected


BUS: NVME
ID: samsung-pm9a1-nvme-256gb [F14]
VENDOR: Samsung
DEVICE: PM9A1 NVMe 256GB
TYPE: disk
DRIVER: nvd

Works



after going through all the settings one by one I finally figured it out.  When IPS/IDS is turned on, the speeds drop.  Turn it off and speeds are as they should be.  IDS drops it a bit, IPS drops it a lot more.  IPS with hyperscan drops it the most, IPS with default pattern matcher drops less than with hyperscan.