Date: Wed, 09 Jul 2003 06:22:33 -0700 From: Michael Sierchio <kudzu@tenebras.com> To: freebsd-ipfw@freebsd.org Subject: Re: Dynamic Bandwidth Allocation Using Dummynet Message-ID: <3F0C1719.3030303@tenebras.com> In-Reply-To: <20030709023126.39182.qmail@web13903.mail.yahoo.com> References: <20030709023126.39182.qmail@web13903.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
zam wrote: That's very silly. Just state the goal or requirements clearly, and not in terms of your ad hoc solution. > Group A - 700KBps > Group B - 1500KBps > Group C - 800KBps > > Let say Group A using 70% of the bandwidth, and at the > same time, Group C utilize 100% of the bandwidth, is > there any ways to make sure that the balance of group > A (30%) will be given to Group C? Your math is a little odd -- Group A using 70% of the bandwidth, and at the same time, Group C utilize 100% -- that adds up to 170%. Are they sharing bandwidth or not? If so, all of everything must add up to 100% (1.0). With dummynet, you can fairly allocate bandwidth based on IP or net or type of traffic, and guarantee that the remainder will go to whomever you wish. At the same time, when there is no contention for bandwidth, any users may use up to 100%. Have you read the man page for ipfw? queue A queue is an abstraction used to implement the WF2Q+ (Worst- case Fair Weighted Fair Queueing) policy, which is an effi- cient variant of the WFQ policy. The queue associates a weight and a reference pipe to each flow, and then all backlogged (i.e., with packets queued) flows linked to the same pipe share the pipe's bandwidth pro- portionally to their weights. read this? http://info.iet.unipi.it/~luigi/ip_dummynet/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F0C1719.3030303>