wierd output from pfctl -vvsq



I've got all my queuing working like I want it to, but when I run
pfctl -vvsq, I get this (sample) output

queue root_dc0 bandwidth 256Kb priority 0 cbq( wrr root ) {tcp_ack,
dns, ssh, http, std, p2p}
[ pkts: 1018 bytes: 768010 dropped pkts: 0 bytes: 0 ]
[ qlength: 0/ 50 borrows: 0 suspends: 0 ]
[ measured: 19.6 packets/s, 117.77Kb/s ]
queue tcp_ack bandwidth 44Kb priority 7 cbq( borrow )
[ pkts: 32 bytes: 1888 dropped pkts: 0 bytes: 0 ]
[ qlength: 0/ 50 borrows: 0 suspends: 0 ]
[ measured: 0.6 packets/s, 305.57 b/s ]
queue dns bandwidth 44Kb priority 6 cbq( borrow )
[ pkts: 11 bytes: 969 dropped pkts: 0 bytes: 0 ]
[ qlength: 0/ 50 borrows: 0 suspends: 0 ]
[ measured: 0.2 packets/s, 140.95 b/s ]
queue ssh bandwidth 42Kb priority 4 {ssh_fast, ssh_bulk}
[ 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 ssh_fast bandwidth 21Kb priority 4 cbq( borrow )
[ pkts: 147 bytes: 54638 dropped pkts: 0 bytes: 0 ]
[ qlength: 0/ 50 borrows: 0 suspends: 0 ]
[ measured: 2.8 packets/s, 8.64Kb/s ]
queue ssh_bulk bandwidth 21Kb
[ pkts: 7 bytes: 3518 dropped pkts: 0 bytes: 0 ]
[ qlength: 0/ 50 borrows: 0 suspends: 0 ]
[ measured: 0.1 packets/s, 538.69 b/s ]
queue http bandwidth 42Kb priority 3 cbq( borrow )
[ pkts: 45 bytes: 41622 dropped pkts: 0 bytes: 0 ]
[ qlength: 0/ 50 borrows: 0 suspends: 0 ]
[ measured: 0.9 packets/s, 6.69Kb/s ]
queue std bandwidth 42Kb priority 2 cbq( borrow default )
[ pkts: 327 bytes: 176278 dropped pkts: 0 bytes: 0 ]
[ qlength: 0/ 50 borrows: 89 suspends: 0 ]
[ measured: 6.2 packets/s, 26.89Kb/s ]
queue p2p bandwidth 42Kb priority 0 qlimit 100 cbq( borrow )
[ pkts: 449 bytes: 489097 dropped pkts: 0 bytes: 0 ]
[ qlength: 0/100 borrows: 439 suspends: 0 ]
[ measured: 8.7 packets/s, 74.57Kb/s ]

My actual question is reguarding the ssh queue. It is the parent for
ssh_fast and ssh_bulk, so I'm thinking that it should show the total
bandwidth usage for those two queues, but it shows 0 Kb/s. Like I said
everything appears to be working fine, but I just want to make sure
that it is.

the queueing section from my pf.conf is as follows

altq on $ext_if bandwidth 256Kb cbq queue { std, ssh, http, tcp_ack, dns, p2p }
queue tcp_ack bandwidth 44Kb priority 7 cbq(borrow)
queue dns bandwidth 44Kb priority 6 cbq(borrow)
queue ssh bandwidth 42Kb priority 4 cbq { ssh_bulk, ssh_fast }
queue ssh_fast bandwidth 21Kb priority 4 cbq(borrow)
queue http bandwidth 42Kb priority 3 cbq(borrow)
queue std bandwidth 42Kb priority 2 cbq(default borrow)
queue ssh_bulk bandwidth 21Kb priority 1 cbq
queue p2p bandwidth 42Kb priority 0 qlimit 100 cbq(borrow)
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: How to shape VoIP traffic on FreeBSD 4.8 router?
    ... I'd also like to give TCP ACK packets a priority boost. ... > traffic without assimilating bandwidth. ... Define 1 pipe for the entire upstream bandwidth. ... add queue 2 ip from any to any not ssh,telnet,ntp out via oif ...
    (comp.unix.bsd.freebsd.misc)
  • cbq not borrowing fully from parent queue
    ... I'm running 6-STABLE using pf and altq/cbq to manage bandwidth on my ... queue internal bandwidth 53104Kb priority 7 cbq ... so it can't borrow from the root queue. ...
    (freebsd-questions)
  • Re: pf traffic shaping and perfomance
    ... I would like to implement traffic shaping using pf. ... #queue def bandwidth 13% cbq ... #queue ssh_bulk priority 0 ...
    (freebsd-questions)
  • Re: [ckrm-tech] [RFC 3/5] sched: Add CPU rate hard caps
    ... select the "next request queue to service" based on its I/O bandwidth...if a queue exceeds its allocation (as calculated ... So this did not use the CFQ priority scheme as such and only implemented the "limit" part. ... bandwidth differential between those prio levels. ...
    (Linux-Kernel)
  • altq assertion / kernel panic
    ... queue ssh_out priority 4 priq ... # queue ssh_login bandwidth 25% priority 6 cbq(ecn borrow) ...
    (freebsd-stable)