RE: Split bandwidth equally per IP

Linux Advanced Routing and Traffic Control

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

 



ESFQ allows this to be "per ip address", which solves the problem.

I have not seen applications that grab many ip addresses for a single host,
although this is possible.

Quoting Mihai Vlad <mihaivlad@xxxxxxxxxxxxxxx>:

> Hello Martin, 
> 
> I have recently read your howto from:
> http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/Traffi
> c-Control-HOWTO.html
> 
> I quote: 
> 
> "Of the many types of contention for network bandwidth, this is one of the
> easier types of contention to address in general. By using the SFQ qdisc,
> traffic in a particular queue can be separated into flows, each of which
> will be serviced fairly (inside that queue). Well-behaved applications (and
> users) will find that using SFQ and ESFQ are sufficient for most sharing
> needs. 
> 
> The Achilles heel of these fair queuing algorithms is a misbehaving user or
> application which opens many connections simultaneously (e.g., eMule,
> eDonkey, Kazaa). By creating a large number of individual flows, the
> application can dominate slots in the fair queuing algorithm. Restated, the
> fair queuing algorithm has no idea that a single application is generating
> the majority of the flows, and cannot penalize the user. Other methods are
> called for."
> 
> 
> 
> 
> 
> 
> 
> Can you post a real script using esfq, that splits the bandwidth equally
> per
> IP? 
> 
> The documentation on esfq is scarce and I have no idea where to start from.
> 
> Thanks again for your time.
> 
> 
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Martin A. Brown [mailto:mabrown-lartc@xxxxxxxxxxxxxx] 
> Sent: Friday, December 05, 2003 7:03 PM
> To: Mihai Vlad
> Cc: lartc@xxxxxxxxxxxxxxx
> Subject: RE:  Split bandwidth equally per IP
> 
> Achtung!  There is already an esfq qdisc [0] which does this!  This patch
> may be a good one, but since esfq already exists, perhaps you could try
> that instead.
> 
> -Martin
> 
>  [0] http://www.ssi.bg/~alex/esfq/index.html
> 
> -- 
> Martin A. Brown --- SecurePipe, Inc. --- mabrown@xxxxxxxxxxxxxx
> 
> 
> 
> _______________________________________________
> LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> 
> 



_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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