Re: how to guarantee 1/numflows bandwidth to each flowdynamically

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux