From owner-freebsd-pf@FreeBSD.ORG Wed Mar 18 21:30:02 2009 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 0853B106566C for ; Wed, 18 Mar 2009 21:30:02 +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 SMTP id 80BC38FC16 for ; Wed, 18 Mar 2009 21:30:01 +0000 (UTC) (envelope-from fbsdq@peterk.org) Received: (qmail 71414 invoked from network); 18 Mar 2009 21:30:00 -0000 Received: from poshta.pknet.net (HELO pop.pknet.net) (216.241.167.213) by poshta.pknet.net with SMTP; 18 Mar 2009 21:30:00 -0000 Received: from 216.241.167.212 (SquirrelMail authenticated user fbsdq@peterk.org) by webmail.pknet.net with HTTP; Wed, 18 Mar 2009 15:30:00 -0600 (MDT) Message-ID: <60015.216.241.167.212.1237411800.squirrel@webmail.pknet.net> Date: Wed, 18 Mar 2009 15:30:00 -0600 (MDT) From: "Peter" To: "Pojken Purken" User-Agent: SquirrelMail/1.4.11 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: pf + altq + cbq(borrow) not borrowing from parent... 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: Wed, 18 Mar 2009 21:30:02 -0000 > Peter wrote: >> iH, >> Can't figure this out - seems as if others are having the same issue >> searching online: >> The queues will not borrow from parent. >> >> pf.conf [cut and snipped] >> >> altq on fxp0 cbq bandwidth 100Mb qlimit 500 queue {intranet, extranet} >> queue extranet bandwidth 876Kb { poshta,abakan,usrx11,imvas } >> queue poshta bandwidth 34% priority 7 cbq(borrow) >> queue abakan bandwidth 22% priority 2 cbq(borrow) >> queue usrx11 bandwidth 22% priority 1 cbq(borrow) >> queue imvas bandwidth 22% priority 1 cbq(borrow) >> queue intranet bandwidth 90Mb cbq(default) >> > > You need to add "borrow" to your default queue. That's where the spare > bandwidth is, not the root queue. As it is defined now, your child > queues below extranet can only borrow bandwidth from each other. If you > add borrow to your default queue, extranet can borrow from intranet and > share that to its child queues. > /Morgan That's the thing - My uplink upload is maxed out at ~896Kb - even if I send traffic faster, still physically limited by uplink - That is all the bandwidth I want to allocate to my public IPs - I want the children to borrow bandwidth from each other, and prioritize the traffic.. They are not borrowing from each other - From my tests, the 'poshta' queue is never going over 34%. ]Peter[