From owner-freebsd-pf@FreeBSD.ORG Tue Nov 9 07:04:28 2010 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E3EF106566B for ; Tue, 9 Nov 2010 07:04:28 +0000 (UTC) (envelope-from fbsdq@peterk.org) Received: from poshta.pknet.net (poshta.pknet.net [216.241.167.213]) by mx1.freebsd.org (Postfix) with ESMTP id 232328FC1D for ; Tue, 9 Nov 2010 07:04:27 +0000 (UTC) Received: (qmail 51691 invoked by uid 89); 9 Nov 2010 06:37:46 -0000 Received: from localhost (HELO smtp.pknet.net) (127.0.0.1) by poshta.pknet.net with ESMTP; 9 Nov 2010 06:37:46 -0000 Received: from 216.241.167.208 (SquirrelMail authenticated user fbsdq@peterk.org) by smtp.pknet.net with HTTP; Mon, 8 Nov 2010 23:37:46 -0700 Message-ID: <33f0d4dc72bcfc27f08902dec7e0bc33.squirrel@smtp.pknet.net> In-Reply-To: <32AB5C9615CC494997D9ABB1DB12783C024C6FC08E@SJ-EXCH-1.adaranet.com> References: <32AB5C9615CC494997D9ABB1DB12783C024C6FC08E@SJ-EXCH-1.adaranet.com> Date: Mon, 8 Nov 2010 23:37:46 -0700 From: "Peter" To: "Ricky Charlet" User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: "freebsd-pf@freebsd.org" Subject: Re: shy about borrowing X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2010 07:04:28 -0000 > Howdy, > > altq on gif10 cbq qlimit 300 bandwidth 45Mb queue { queue1, queue2 } > queue queue1 qlimit 300 bandwidth 1Mb priority 7 cbq (default) > queue queue2 qlimit 300 bandwidth 10Mb priority 1 cbq(borrow red) > pass out quick on gif10 inet proto tcp no state queue queue2 > > If I run traffic through my queue2, it runs about 12Mb and `pfctl -vvsq` > does show some borrows. But even though it is borrowing some, why does it > not borrow up to my 45Mb root queue limit? > > > --- > Ricky Charlet > Adara Networks > USA 408-433-4942 > > I could not get it to borrow, not even on OpenBSD [at that time, followed their pf faq examples, and OpenBSD also did not borrow] http://www.mail-archive.com/freebsd-pf@freebsd.org/msg04052.html. http://lists.freebsd.org/pipermail/freebsd-pf/2007-February/003021.html After many tests, I could never get it to borrow properly from parent and finally went with hfsc, which works just as it should. It was almost pretty much %s/cbq/hfsc/g to get it working. ]Peter[