Re: [LARTC] 1 MBS per server Linux router

Linux Advanced Routing and Traffic Control

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

 



Hello Jean,

 For all that i know your tcng config would be perfectly fine. I will
mail you my 4000 node config. Please try the same out and lemme know it
if works for you.

Trevor


On Thu, 2003-06-26 at 00:23, Jean-Francois Levesque wrote:
> Hi!
> 
> I have done that script to test my router :
> 
> 
> #include "fields.tc"
> #include "ports.tc"
>                                                                                                                                                             
> #define INTERFACE  eth0
> #define LIMITEDRATE 1kBps
>                                                                                                                                                             
> dev INTERFACE {
>     egress {
>                                                                                                                                                             
>         /* In class selection path, the filters come first!  DSmark */
>                                                                                                                                                             
>         class ( <$AB10CL> )    if ip_dst == 10.1.1.10 || ip_src == 
> 10.1.1.10;
>         class ( <$AB11CL> )    if ip_dst == 10.1.1.11 || ip_src == 
> 10.1.1.11;
>         class ( <$AB12CL> )    if ip_dst == 10.1.1.12 || ip_src == 
> 10.1.1.12;
>         class ( <$other> )  if 1 ;
>                                                                                                                                                             
>         /* section in which we configure the qdiscs and classes */
>                                                                                                                                                             
>         htb () {
>             class ( rate 10kBps, ceil 10kBps ) {
>                 $AB10CL   = class ( rate LIMITEDRATE, ceil LIMITEDRATE ) 
> { sfq; } ;
>                 $AB11CL   = class ( rate LIMITEDRATE, ceil LIMITEDRATE ) 
> { sfq; } ;
>                 $AB12CL   = class ( rate LIMITEDRATE, ceil LIMITEDRATE ) 
> { sfq; } ;
>                 $other    = class ( rate 1kBps, ceil 1kBps ) { sfq; } ;
>             }
>         }
>     }
> }
> 
> 
> I have plugged my machine behind the router but I see no difference when 
> I download  :-(
> 
> What is wrong with that script?
> 
> If this is not working, I'll try wrr.
> 
> Thanks!
> 
> Jean-Francois
> 
> 
> Trevor Warren wrote:
> 
> >Hello,
> >
> > If you just wanna reduce the b/w pipe per server wrr could be a
> >simplistic implementation that would work.
> >
> > For real functionality see htb which works like a charm. For something
> >more complex see cbq.
> >
> >Trevor
> >  
> >
> 
> 
> _______________________________________________
> LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
-- 
( >-        LINUX, It's all about CHOICE      -< )
/~\    __        twarren@xxxxxxxxxx       __   /~\
|  \) /  Pre Sales Consultant - Red Hat     \ (/ |
|_|_  \    9820349221(M) | 22881326(O)      / _|_|
       \___________________________________/



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