From owner-freebsd-pf@FreeBSD.ORG Thu Mar 19 21:17:10 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 6F352106568E for ; Thu, 19 Mar 2009 21:17:10 +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 27D3D8FC1D for ; Thu, 19 Mar 2009 21:17:10 +0000 (UTC) (envelope-from fbsdq@peterk.org) Received: (qmail 44147 invoked from network); 19 Mar 2009 21:17:09 -0000 Received: from poshta.pknet.net (HELO pop.pknet.net) (216.241.167.213) by poshta.pknet.net with SMTP; 19 Mar 2009 21:17:09 -0000 Received: from 216.241.167.212 (SquirrelMail authenticated user fbsdq@peterk.org) by webmail.pknet.net with HTTP; Thu, 19 Mar 2009 15:17:09 -0600 (MDT) Message-ID: <59450.216.241.167.212.1237497429.squirrel@webmail.pknet.net> Date: Thu, 19 Mar 2009 15:17:09 -0600 (MDT) From: "Peter" To: "Max Laier" 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: Pojken Purken , freebsd-pf@freebsd.org Subject: Re: more tests - 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: Thu, 19 Mar 2009 21:17:10 -0000 > On Thursday 19 March 2009 21:46:20 Pojken Purken wrote: >> > In theory and example as seen on >> > http://www.openbsd.org/faq/pf/queueing.html - Example #2: Company >> Network >> > >> > The poshta queue should borrow fully from the parent queue >> [extranet], >> > but borrowing seems to _only_ work from the root queue/first level >> down. >> > >> > Am I missing something here? >> > >> > ]Peter[ >> >> I think Max has to answer this if he sees this post. In any case I guess >> you have to be clear about what your available upload bandwidth is on >> fxp0, it can't be both 100Mb and 876Kb, can it? > > I still don't understand the OP's setup. Peter can you please provide a > clear > picture of what you are trying to achieve? I have a feeling that you are > trying to use ALTQ for shaping incoming traffic - which is a no-go. > > -- > /"\ Best regards, | mlaier@freebsd.org > \ / Max Laier | ICQ #67774661 I'm trying to queue outgoing traffic from server. In all tests only pulling data from server via sftp server -> 100MB tgz -> desktop I know the queue rules are working because if I change things around, the speed in the sftp pull of this file changes dramatically. These changes are on the server, nothing is touched/changed on desktop: pf+altq are on the server. altq on fxp0 cbq bandwidth 100Mb queue {extranet} queue extranet bandwidth 886Kb {poshta} queue poshta bandwidth 186Kb cbq(borrow,default) With this setup, I can download FROM this server to desktop at 20KB If I change to this setup: altq on fxp0 cbq bandwidth 100Mb queue {extranet} queue extranet bandwidth 886Kb {poshta} queue poshta bandwidth 856Kb cbq(borrow,default) I can download FROM this server to desktop at 100KB the 'poshta' queue does not seem to borrow from it's parent as I understand it should.