Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2016 11:11:53 +0200
From:      "Kristof Provost" <kp@FreeBSD.org>
To:        "Radek =?utf-8?q?Krej=C4=8Da?=" <radek.krejca@starnet.cz>
Cc:        "freebsd-pf@freebsd.org" <freebsd-pf@freebsd.org>
Subject:   Re: Max altq bandwidth 4.26 Gbit
Message-ID:  <A58CF11E-B2A3-4021-9827-C093730B2D1D@FreeBSD.org>
In-Reply-To: <AAA772390F662049B3046CA8C662C08506A4BE01@EXCHANGE.mail.starnet.cz>
References:  <AAA772390F662049B3046CA8C662C08506A4BE01@EXCHANGE.mail.starnet.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A58CF11E-B2A3-4021-9827-C093730B2D1D>