Max altq bandwidth 4.26 Gbit

Kristof Provost kp at FreeBSD.org
Wed Aug 10 09:12:00 UTC 2016


On 10 Aug 2016, at 9:28, Radek Krejča wrote:
> I need to shape 10G traffic, but I cant make bandwidth higher than 
> 4.26 Gbit:
>
> pfctl shows:
>
> altq on int0 cbq bandwidth 4.26Gb tbrsize 36000 queue { 
> default_nat..............
>
> but in pf.conf is:
>
> altq on $int_if cbq bandwidth 8550Mb queue { default_nat..........
>
> or
>
> altq on $int_if cbq bandwidth 10Gb queue { default_nat........
>
That looks like you might be hitting the maximum of an unsigned integer.
Try using relative specifications (i.e. as a percentage) instead.

Regards,
Kristof


More information about the freebsd-pf mailing list