[Solved] Slow Speed between devices (UK)

Started by Nebula7816, March 28, 2025, 02:35:41 AM

Previous topic - Next topic
March 28, 2025, 02:35:41 AM Last Edit: April 03, 2025, 06:08:16 PM by Nebula7816
my setup is as follows...

A Dell Optiplex i5-9600 Running
Proxmox and then OPNsense installed as VM with 6 Cores and 8GB RAM assigned
Versions
OPNsense 25.1.4_1-amd64
FreeBSD 14.2-RELEASE-p2
OpenSSL 3.0.16

Network Config
https://imgur.com/a/rz7jFlP

I have this NIC installed in the Optiplex
https://www.amazon.co.uk/dp/B07XJ8CMQX

my broadband is Zen Broadband and I am using PPPoE details to login and not use the provided Router at all.

My Internet speed is 900/100  up/down

my PC has x870E Tomahawk which has 5Gb ethernet port

between them is a 2.5Gb Switch
https://www.amazon.co.uk/dp/B0CFQKYDRM

my Internet speed I get fine.

So my internet comes in into Optiplex with 1Gb connection but everything else is 2.5Gb or above.


but I was testing Lancache for Steam and my speed only reached 1.3Gbit, I thought it was the HDD causing it so I deleted everything and shelved that project for now.

was just testing today and found a way to test speed between PC and Optiplex

PS C:\WINDOWS\system32> iperf3 -c 192.168.178.5

[ ID] Interval          Transfer    Bitrate
[  5]  0.00-25.17  sec  4.04 GBytes  1.38 Gbits/sec                  sender
[  5]  0.00-25.18  sec  4.04 GBytes  1.38 Gbits/sec                  receiver

I monitored the CPU usage and it never went above 6%

so a quick recap.

PC 5Gb --> Switch 2.5Gb --> Optiplex 2.5Gb - Only getting 1.39Gb

1. More often than not, speeds above 1 Gbps cannot be measured by using one thread only (i.e., use: iperf3 -P X).
2. You are using Realtek adapters, which are known to cause problems and generally being sub-optimal for OpnSense. There is a plugin with vendor drivers which may help improving the situation.
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005

1100 down / 800 up, Bufferbloat A+

Installed Nic drivers and rebooted.

tried multi thread option

[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.01  sec   548 MBytes   460 Mbits/sec                  sender
[  5]   0.00-10.05  sec   548 MBytes   458 Mbits/sec                  receiver
[  7]   0.00-10.01  sec   258 MBytes   216 Mbits/sec                  sender
[  7]   0.00-10.05  sec   258 MBytes   215 Mbits/sec                  receiver
[  9]   0.00-10.01  sec   340 MBytes   285 Mbits/sec                  sender
[  9]   0.00-10.05  sec   340 MBytes   284 Mbits/sec                  receiver
[ 11]   0.00-10.01  sec   535 MBytes   448 Mbits/sec                  sender
[ 11]   0.00-10.05  sec   535 MBytes   446 Mbits/sec                  receiver
[SUM]   0.00-10.01  sec  1.64 GBytes  1.41 Gbits/sec                  sender
[SUM]   0.00-10.05  sec  1.64 GBytes  1.40 Gbits/sec                  receiver

managed to fix this issue.

I had not installed Ethernet drivers on W11.

Have not tested it in Linux machine yet.

Quote from: meyergru on March 28, 2025, 08:14:43 AM...
2. You are using Realtek adapters, which are known to cause problems and generally being sub-optimal for OpnSense. There is a plugin with vendor drivers which may help improving the situation.
As long as the VM was handed a vmbrX bridge (versus using PCIe passthrough), it should be fine, right?

Yes, that is One of the reasons why I recommend using vtnet under Proxmox.
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005

1100 down / 800 up, Bufferbloat A+