From owner-freebsd-ipfw@FreeBSD.ORG Sat Mar 3 02:37:10 2007 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E6E5F16A404 for ; Sat, 3 Mar 2007 02:37:10 +0000 (UTC) (envelope-from jmok@attglobal.net) Received: from eoemailadmin.pacific.net.hk (eoemailadmin.pacific.net.hk [202.14.67.94]) by mx1.freebsd.org (Postfix) with ESMTP id 7E58213C4A7 for ; Sat, 3 Mar 2007 02:37:10 +0000 (UTC) (envelope-from jmok@attglobal.net) Received: from hanghau.pacific.net.hk (hanghau.pacific.net.hk [202.64.33.147]) by eoemailadmin.pacific.net.hk with ESMTP id l231oklL031532 for ; Sat, 3 Mar 2007 09:50:46 +0800 Received: from [192.168.16.50] ([210.17.159.154]) by hanghau.pacific.net.hk with ESMTP id l231oiSo008208 for ; Sat, 3 Mar 2007 09:50:44 +0800 Message-ID: <45E8D473.5090808@attglobal.net> Date: Sat, 03 Mar 2007 09:50:43 +0800 From: John Mok User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-ipfw@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Dummynet cascade of pipes X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2007 02:37:11 -0000 Hi, I am new to Dummynet. I would like to setup a FreeBSD QoS box to replace the one using Linux IMQ. However, I have the following questions :- 1. Is it possible to cascade pipes, such that the bandwidth management could be easier by hierarchical control rather than flat-out? For instance, pipe 100 is the total bandwidth 2Mbps of the serial link to Internet pipe 110 cascade pipe 100 with a weight 8Kbps and ceiling 16 Kbps pipe 120 cascade pipe 100 with a weight 32Kbps and ceiling 256 Kbps pipe 130 cascade pipe 100 with a weight 384Kbps and ceiling 2Mbps pipe 140 cascade pipe 100 with a weight 224Kbps and ceiling 2Mbps Pipe 130 and pipe 140 are allowed to consume the total bandwidth if there is no other traffic, but would only get its share 224 / (8 + 32 + 384 + 224) when all pipes are fully loaded. 2. Is there any FIFO queue rather WFQ? If there are 3 queues defined top sahre the bandwidth of pipe 110, how to make the traffic to go in FIFO manner? Thanks a lot. John Mok