[SOLVED] Low Download Speed on a Dual WAN Setup

Started by kagbasi-wgsdac, August 30, 2022, 07:44:10 PM

Previous topic - Next topic
August 30, 2022, 07:44:10 PM Last Edit: August 31, 2022, 11:19:56 PM by kagbasi-wgsdac
Hello Folks,

I trust you're all doing well.  So today I setup a second WAN link (1Gbps/1Gbps from Verizon) and added it to a WAN Group that I setup, following this tutorial - https://blog.actorsfit.com/a?ID=01100-f41de98e-89dc-4697-8a3c-c8b83251046b.  Everything seems to be working, but I'm noticing that my download speeds aren't getting above 100Mbps but can't seem to pinpoint where the drop is coming from.

As you can see from the two separate speed tests below, the upload speed is fine - which possibly rules out bad cable - so I'm suspecting that I may have missed a setting somewhere my OPNSense configuration.  Any pointers in the right direction is greatly appreciated, thank you all.


A quick update -

I've been reading up on Bufferbloat, and suspecting that perhaps that may be at play here, I setup traffic shaping for both Upload and Download traffic using the FlowQueue-CoDel scheduler type.  However, I don't think the shaper is really working, because when I look under Firewall > Shaper > Status, I don't see any packets.  I'll admit, using the traffic shaper is new to me, so I may have missed something.

Anyway, here's what the Waveform Bufferbloat tester is showing for my current settings:


A quick chime-in -- I doubt buffer bloat is having that significant of an effect.  Keep digging. There must be a major bottleneck somewhere. 

You didn't inadvertently set up a 100Mbps interface speed by accident?  Running over WiFi?

Check against multiple speed tests, or even use iperf3 from the CLI right on the firewall.

I recently had a major speed issue when using wireguard, turns out that I didn't have my hardware accel. features enabled in System->Settings->Misc.


Quote from: technolojay on August 31, 2022, 09:32:44 PM
A quick chime-in -- I doubt buffer bloat is having that significant of an effect.  Keep digging. There must be a major bottleneck somewhere. 

Yeah, I have suspicion that this may not be my issue as well.....still troubleshooting.

Quote from: technolojay on August 31, 2022, 09:32:44 PM
You didn't inadvertently set up a 100Mbps interface speed by accident?  Running over WiFi?

Nope.  I checked and confirmed that the interface is set to "autoselect" and I can see that it has autonegotiated to a value of "1000baseT <full-duplex>"

Quote from: technolojay on August 31, 2022, 09:32:44 PM
I recently had a major speed issue when using wireguard, turns out that I didn't have my hardware accel. features enabled in System->Settings->Misc.

Thanks for the pointer, I will check my configuration and see.

Quote from: technolojay on August 31, 2022, 09:32:44 PM
I recently had a major speed issue when using wireguard, turns out that I didn't have my hardware accel. features enabled in System->Settings->Misc.

Thanks to your pointer, I checked and discovered that I didn't have any Hardware Acceleration enabled.  I went ahead and enabled all the options available and rebooted the router.  That seems to have done the trick, and I'm not getting near wire speed (see screenshot below), and the Waveform Bufferbloat tester is now returning an "A" score when I enable the Traffic Shaper rules.  With the rules off, I get a "B" score.

I'm gonna mark this issue as resolved for now.  Thanks again for your help.