Max size traffic shaper pipe?

Started by Maarten, December 07, 2021, 11:27:31 AM

Previous topic - Next topic
Hi, I'm trying to configure a pipe larger than 2gbit, but anything I configure over 2.1gb causes problems. The Shaper status does not show queues/rules after it encounters the pipe over 2.1gb.

for example "ipfw queue show", doesn't show anything, if there is a pipe over 2.1gb

Best regards,

Maarten

(OPNsense 21.7.1-amd64) (I checked, but this is also the case with OPNsense 20.7)

Hi,

2.1Gbit/s are 2.1 billion bit/s. Int32 has a value range from -2.147.483.648 to 2.147.483.647.
Looks like 2.1Gbit/s is the maximum value.
And looking searching the internet I found the following at bugs.freebsd.org:
https://bugs.freebsd.org/bugzilla//show_bug.cgi?id=194453
So somebody reported this in 2014, it seems to be changed in FreeBSD src to 4Gbit/s since this August.

KH

December 09, 2021, 12:11:02 PM #2 Last Edit: December 09, 2021, 12:27:02 PM by Maarten
Hi KH,

Good find, so they changed it from int32 to uint32 and should be "fixed" whenever opnsense upgrades to the freebsd version including this fix.

Maarten