Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2016 13:22:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 211730] pf uses 32bit value for bandwith with altq
Message-ID:  <bug-211730-6@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211730

            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@FreeBSD.org
          Reporter: rk@starnet.cz
                CC: freebsd-amd64@FreeBSD.org
                CC: freebsd-amd64@FreeBSD.org

Hello,

I need to shape 10G traffic, but I cant make bandwidth higher than 4.26 Gbi=
t:

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 f=
rom
NIC driver, but ifconfig gives this:

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

Thank you
Radek

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211730-6>