From mboxrd@z Thu Jan 1 00:00:00 1970 From: gypsy Date: Wed, 11 May 2005 03:35:37 +0000 Subject: Re: [LARTC] how to guarantee 1/numflows bandwidth to each Message-Id: <42817D89.DDF0F771@iswest.com> List-Id: References: <20050509181700.GA32621@vaxerdec.bmt.questra.com> In-Reply-To: <20050509181700.GA32621@vaxerdec.bmt.questra.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Scott Mcdermott wrote: > > I am looking for a simple way to guarantee to each flow > going through my traffic control point 1/numflows of > bandwidth. I thought using SFQ would do this effectively > but it appears to be quite unfair: a very high speed > download that fills the pipe easily starves smaller flows to > the point where it becomes unusable (especially if they are > at all interactive) > > Because numflows is dynamic, I'm not sure how I would have > the bandwidth allocated to each flow change dynamically and > automatically as flows are added and removed. > > Anyone have an idea how to implement this? Thanks. Perhaps you should look at esfq rather than sfq. esfq lets you specify quantum in bytes, depth in flows, limit in packets, and a source or dest hash. Don't apply any sfq to what Wondershaper calls "interactive". You need to match esfq to the kernel version; 2.6 uses a different esfq than 2.4. -- buck _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc