From owner-freebsd-pf@FreeBSD.ORG Thu Mar 19 16:06: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 AEAE4106566C for ; Thu, 19 Mar 2009 16:06: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 685098FC1C for ; Thu, 19 Mar 2009 16:06:10 +0000 (UTC) (envelope-from fbsdq@peterk.org) Received: (qmail 62652 invoked from network); 19 Mar 2009 16:06:09 -0000 Received: from poshta.pknet.net (HELO pop.pknet.net) (216.241.167.213) by poshta.pknet.net with SMTP; 19 Mar 2009 16:06:09 -0000 Received: from 216.241.167.212 (SquirrelMail authenticated user fbsdq@peterk.org) by webmail.pknet.net with HTTP; Thu, 19 Mar 2009 10:06:09 -0600 (MDT) Message-ID: <56661.216.241.167.212.1237478769.squirrel@webmail.pknet.net> Date: Thu, 19 Mar 2009 10:06:09 -0600 (MDT) From: "Peter" To: Morgan =?iso-8859-1?Q?Wesstr=F6m?= 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: Thu, 19 Mar 2009 16:06:13 -0000 >> fxp0 is connected to broadband ISP _and_ local LAN which is going at > I think you have to explain in more detail the physical layout of your > setup. > >> 100Mbps - So I have 90Mbps queue defined for 'intranet' 876Kb for >> 'extranet' - Shouldn't the children of 'extranet' still 'borrow' >> everything up to 876Kb? - Since I was defining root at 100Mb, I would >> assume my queues would use up more, instead they are using _exactly_ >> what >> is defined for them and refusing to borrow [hence going at 37KB instead >> of >> the uplink max of ~100KB]. As soon as I 'up' the 34% to 60%, I get >> higher >> dl speeds, although not using/borrowing above the 60%. > I'm slightly confused here. You're talking about download speeds but pf > queues only affect upload bandwidth. Assuming it's upload you are > referring to and if you want those four child queues to use free > bandwidth from "intranet", then you have to add "borrow" to your > "extranet" queue. Child queues can only borrow from their parent queue > and if you don't have "borrow" on "extranet", that queue will only have > 876Kb to share among its child queues. > > /Morgan Sorry, by dl I mean downloading large file from server to remote desktop - The server is uploading to desktop. I want the children to use all the available bandwidth within the 'extranet' queue - The child 'poshta' queue NEVER goes above using 34%, even though all other queues have no services running on them and 'poshta' is set to borrow. If I leave 'poshta' queue at 34% and set all others to 1%, the 'poshta' queue is still never pushing out more than 34% / 37KB. If I set it to '90%' it pushes out at ~90KB - wondering why it's not borrowing when parent has unused bandwidth. ]Peter[