Re: [LARTC] cbq bounded problem

Linux Advanced Routing and Traffic Control

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

 



On Thursday 05 June 2003 06:35, Zealous wrote:
> Dear all,
>
> I have 1 mbps line to internet.
>
> Our linux server is connected to router of 1mb
>
> Linux server gets 1mb bandwidth.
>
> I have done SOURCE MASQUERADING on linux.
>
> I have attached a cbq bandwidth script. I want to allow the traffic to
> restrict to 200Kbps. it should not exceed beyond 200.
>
> I have made a configuration and i kept on the server but the traffic goes
> beyond 200 .....it even goes to 350 and 400. how can i restrict the traffic
> on 200. ????
> plz check the attached script .
> plz open in word.
> any help is great for me.
Some tips :
- Adding the sfq qdisc to class 10:200 is useless.  It's removed as soon as 
you add a subclass.
- Are you sure your packes are queued in the class you want?  Check it out 
with tc -s -d class show dev eth4.
- prio 100 is too much.  The maximum is 7.
- avpkt 800 should reflect your average packet size.  Are you sure it's only 
800 bytes?
- Is your NIC configured at 10Mbit?  (bandwidth parameter)
Take weight = rate / 10.
- Use htb and visit www.docum.org :)

Stef


-- 

stef.coene@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net



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