From owner-freebsd-questions@FreeBSD.ORG Wed Apr 26 14:56:12 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62F8D16A403 for ; Wed, 26 Apr 2006 14:56:12 +0000 (UTC) (envelope-from greenwood.andy@gmail.com) Received: from pproxy.gmail.com (pproxy.gmail.com [64.233.166.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76C6F43D48 for ; Wed, 26 Apr 2006 14:56:03 +0000 (GMT) (envelope-from greenwood.andy@gmail.com) Received: by pproxy.gmail.com with SMTP id t32so1616809pyc for ; Wed, 26 Apr 2006 07:56:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=QK24sfWn5zKSWJnVOZDelPD+iKjOhr3L4uswS9XDNn9zBtqYhgBpBtG4UO1sm3sVoccCzD/F7RPWswLwf3uf4MmvtgbkYPHQNPtMGPyy4Qc0mJ+7w1fyOYg7hrByqZ/0Fyk4iRMqllE12LAY0hUn2DVEa9Rqrf+RytM8k7SJy6c= Received: by 10.35.88.17 with SMTP id q17mr3207684pyl; Wed, 26 Apr 2006 07:56:03 -0700 (PDT) Received: by 10.35.72.18 with HTTP; Wed, 26 Apr 2006 07:56:03 -0700 (PDT) Message-ID: <3ee9ca710604260756r5b3457cbnf19e9f4c8117affa@mail.gmail.com> Date: Wed, 26 Apr 2006 10:56:03 -0400 From: "Andy Greenwood" To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: wierd output from pfctl -vvsq X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 14:56:12 -0000 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, p= 2p } 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)