* Matt Carey <[email protected]> [2014-07-15 03:18]: > While trying to upgrade a pf ruleset from 5.4 to 5.5 and make use of the new > queuing system, I'm running into an issue where the traffic isn't getting > throttled to what I set for a max on a given queue. > > Below is the old ruleset that works well under 5.4: > altq on trunk0 bandwidth 9.70Mb hfsc queue { q_voip, q_normal} > queue q_voip bandwidth 1Mb hfsc(realtime 1Mb) > queue q_normal bandwidth 8.70Mb qlimit 500 hfsc(default red ecn upperlimit > 8.70Mb) > > Belw is the new ruleset that I have for 5.5: > queue std on trunk0 bandwidth 10M, max 10M > queue q_voip parent std bandwidth 1M, min 1M qlimit 500 > queue q_normal parent std bandwidth 8M, max 8M default qlimit 500 > > > When looking at the measured throughput on the q_normal queue it isn't being > ceilinged @ the 8MB from the config: > # pfctl -vvvv -s queue > .... > queue std on trunk0 bandwidth 10M, max 10M qlimit 50 > [ pkts: 0 bytes: 0 dropped pkts: 0 bytes: 0 ] > [ qlength: 0/ 50 ] > [ measured: 0.0 packets/s, 0 b/s ] > queue q_voip parent std on trunk0 bandwidth 1M, min 1M qlimit 500 > [ pkts: 90 bytes: 57032 dropped pkts: 0 bytes: 0 ] > [ qlength: 0/500 ] > [ measured: 3.4 packets/s, 19.38Kb/s ] > queue q_normal parent std on trunk0 bandwidth 8M, max 8M default qlimit 500 > [ pkts: 101676 bytes: 98995630 dropped pkts: 0 bytes: 0 ] > [ qlength: 0/500 ] > [ measured: 1192.5 packets/s, 9.32Mb/s ] > > The interface config is pretty simple, 2 ports bundled together into a LACP > trunk then WAN hangs off a vlan on that trunk. Any help would be appreciated.
really sounds like you're getting into the ballpark area where the timer resolution isn't good enough to hit your rather small bandwidth on - assumption here - rather high bandwidth interfaces. -- Henning Brauer, [email protected], [email protected] BS Web Services GmbH, http://bsws.de, Full-Service ISP Secure Hosting, Mail and DNS. Virtual & Dedicated Servers, Root to Fully Managed Henning Brauer Consulting, http://henningbrauer.com/

