[Bug 211730] pf uses 32bit value for bandwith with altq

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 10 13:22:38 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211730

            Bug ID: 211730
           Summary: pf uses 32bit value for bandwith with altq
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: rk at starnet.cz
                CC: freebsd-amd64 at FreeBSD.org
                CC: freebsd-amd64 at FreeBSD.org

Hello,

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........

When I uses relative values (percent or nothing), only 1.25 Gbit is taken from
NIC driver, but ifconfig gives this:

media: Ethernet autoselect (10Gbase-SR <full-duplex,rxpause,txpause>)

Thank you
Radek

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list