Re[2]: per-session QoS

Linux Advanced Routing and Traffic Control

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

 



So maybe I'm dense, but I thought that throughput limit on classes where 
class-wide, not for each session in the class. In otherwords, if I limit 
class A to 50KB/5s, every tcp session in that class fights for the same 
50KB/5s.

Instead, I want every tcp session to have a thoughput limit of 50KB/5s. 

Maybe I don't understand your example?

On Thu, 5 Feb 2004, Peteris Krumins wrote:

> B> I want something that says "for every session going to port x, limit
> B> incoming throughput to no more than 50KB/5s" - or some other throughput 
> B> definition that allows bursting.
> 
> Well, that is easy.
> 
> Create as many classes needed, add filters based on MARK value to put
> the traffic in the correspoing classes, then simply put the connbytes
> rules (-m connbytes max_bw:) together with a jump to MARK target
> (-j MARK) in the mangle table.
> As soon as max_bw will be reached, the packet will get marked and the
> filter will put the traffic in the appropriate class.
> 
> 
> P.Krumins
> 
> 


_______________________________________________
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