From owner-freebsd-ipfw@FreeBSD.ORG Sun Nov 7 09:43:30 2004 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC8AA16A4CE for ; Sun, 7 Nov 2004 09:43:30 +0000 (GMT) Received: from shellma.zin.lublin.pl (shellma.zin.lublin.pl [212.182.126.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D7D943D5E for ; Sun, 7 Nov 2004 09:43:30 +0000 (GMT) (envelope-from pawmal-posting@freebsd.lublin.pl) Received: by shellma.zin.lublin.pl (Postfix, from userid 1018) id 3B4B3347E01; Sun, 7 Nov 2004 10:44:33 +0100 (CET) Date: Sun, 7 Nov 2004 10:44:33 +0100 From: Pawel Malachowski To: freebsd-ipfw@freebsd.org Message-ID: <20041107094433.GA56141@shellma.zin.lublin.pl> References: <1099819314.652.13.camel@Mobile1.276NET> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1099819314.652.13.camel@Mobile1.276NET> User-Agent: Mutt/1.4.2i Subject: Re: Dummynet dynamically assigned bandwidth X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 09:43:31 -0000 On Sun, Nov 07, 2004 at 12:21:55PM +0300, Martes Wigglesworth wrote: > I have had a problem getting dynamic bandwidth assigned while hosts are > still online. I thought that when a dynamic queue has no packets, hence > the pipe show displays 0 0 in between used and the last column, the > queue should disappear, allowing for that segment of bandwidth to be > utilized fully again. I have not seen this type of functionality, and > would like help to get a better understanding of it. > > Example: > > pipe 1 config bw 128Kbit/s > queue 1 config pipe 1 config mask dst-ip 0xffffffff > queue 1 ip from any to ${int_net} in recv ${ext_dev} > > Result: > if ext_net={ 192.168.1.0/24}, and 8 hosts are online, then the queues > remain even when there is no traffic on that queue. Aren't the unused > queues supposed to disappear so that the other hosts may use the > difference? > > Please help. I have been struggling with this for a while. By default, it will disappear after some time. Note, this has nothing to do with bandwidth sharing -- it is shared immediatly because when queue has nothing to send, system will take another queue without waiting. -- Paweł Małachowski