Hey,
I'm having issues with queueing. When I enable cbq, it seems like it
slows at lot of stuff down. This would make sense if I was severely
throttling stuff, but I hardly ever reach full capacity, and each
class has "borrow". Nevertheless, I'm seeing lots of dropped packets.
Here's a typical pfctl -s queue -v -v output:
queue root_sis0 bandwidth 500Kb priority 0 cbq( wrr root ) {streaming,
interact, std, bulk}
[ pkts: 71842027 bytes: 9289172718 dropped pkts: 0 bytes: 0 ]
[ qlength: 0/ 50 borrows: 0 suspends: 0 ]
[ measured: 251.1 packets/s, 401.41Kb/s ]
queue streaming bandwidth 10Kb priority 7 cbq( borrow )
[ pkts: 0 bytes: 0 dropped pkts: 0 bytes: 0 ]
[ qlength: 0/ 50 borrows: 0 suspends: 0 ]
[ measured: 0.0 packets/s, 0 b/s ]
queue interact bandwidth 75Kb priority 6 cbq( borrow )
[ pkts: 53910441 bytes: 3158462651 dropped pkts: 378513 bytes: 22878585 ]
[ qlength: 4/ 50 borrows: 36857361 suspends: 738 ]
[ measured: 180.5 packets/s, 86.99Kb/s ]
queue std bandwidth 175Kb cbq( borrow default )
[ pkts: 2951692 bytes: 391820142 dropped pkts: 2896 bytes: 379305 ]
[ qlength: 0/ 50 borrows: 22649 suspends: 11 ]
[ measured: 8.0 packets/s, 10.14Kb/s ]
queue bulk bandwidth 225Kb priority 0 cbq( borrow )
[ pkts: 14979894 bytes: 5738889925 dropped pkts: 402347 bytes: 84102069 ]
[ qlength: 8/ 50 borrows: 6690009 suspends: 244 ]
[ measured: 62.6 packets/s, 304.28Kb/s ]
Note that only low-latency ToS, and dataless acks go into interact.
--
Security Guru for Hire http://www.lightconsulting.com/~travis/ -><-
GPG fingerprint: 9D3F 395A DAC5 5CCC 9066 151D 0A6B 4098 0C55 1484