Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Nov 2004 10:44:33 +0100
From:      Pawel Malachowski <pawmal-posting@freebsd.lublin.pl>
To:        freebsd-ipfw@freebsd.org
Subject:   Re: Dummynet dynamically assigned bandwidth
Message-ID:  <20041107094433.GA56141@shellma.zin.lublin.pl>
In-Reply-To: <1099819314.652.13.camel@Mobile1.276NET>
References:  <1099819314.652.13.camel@Mobile1.276NET>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041107094433.GA56141>