OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: xPliZit_xs on July 31, 2021, 04:07:34 PM

Title: Traffic shaper fqcodl caps out at 1 Gbit/s
Post by: xPliZit_xs on July 31, 2021, 04:07:34 PM
Hello guys!

here in the US Internet cable speeds start increasing to more than 1 Gigabit/s due to availability of 2.5Gbits network chips integrated into new devices.
My cable modem Arris S33 has such a port and i connect it using RJ45 SFP+ Adapter to a dual 10GBit card which runs on OPNSense.
The maximum speed from the modem down link can reach up to 1440 MBit/s with this HW setup (tested speedtest.net).
I went and adapted my Traffic shaper settings according to the new speeds and the resulting speed is the same as if the down link speed was capped at 1 GBit/s.
It looks like a bug since speeds beyond 1GBit/s are still not very common.
Hope we can figure this out.
Thanks!
Title: Re: Traffic shaper fqcodl caps out at 1 Gbit/s
Post by: IsaacFL on July 31, 2021, 04:25:29 PM
Have you tried disabling the traffic shaping altogether? 

I noticed on my configuration that I don't need the traffic shaping anymore.  Not sure if it was when the opnsense went to FreeBSD 12.1 or if the ISP itself has fixed the buffer bloat, but I get an A or B on the test now with no traffic shaping.
Title: Re: Traffic shaper fqcodl caps out at 1 Gbit/s
Post by: xPliZit_xs on July 31, 2021, 04:36:51 PM
disabling it, the downlink went from 900 MBit/s to 1440 MBit/s.
I do still want it to deal with network congestion.
Title: Re: Traffic shaper fqcodl caps out at 1 Gbit/s
Post by: IsaacFL on July 31, 2021, 04:45:12 PM
Have you tested the bufferbloat with and without fqcodel enabled?

http://www.dslreports.com/speedtest/69100887 (http://www.dslreports.com/speedtest/69100887)
Title: Re: Traffic shaper fqcodl caps out at 1 Gbit/s
Post by: franco on August 16, 2021, 03:25:55 PM
I think there is some slop in the operating system shaper code. It also can't adhere to given values as speed increases, likely because if small queue/buffer and/or bad timekeeping. I doubt that we can do much from our end and instead this needs to be taken to:

https://bugs.freebsd.org/bugzilla/


Cheers,
Franco