Re: [LARTC] tc troubles

Linux Advanced Routing and Traffic Control

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

 



Dear Sir,
The question exactly arises from here:
How can I monitor the impact of these several settings on the network
performance?
How can I monitor the size of the queues, log the packets dropped ,....?
I would be thankful if you recommend me some tools or APIs for doing these
tasks.

Best Regards
Hoomaan Naimi
Afranet Network Administrator
----- Original Message -----
From: "bert hubert" <ahu@xxxxxxx>
To: "Hoomaan Naimi" <naimi@xxxxxxxxxxx>
Sent: Monday, October 23, 2000 1:59 PM
Subject: Re: [LARTC] tc troubles


> On Mon, Oct 23, 2000 at 01:45:22PM +0330, Hoomaan Naimi wrote:
> > Hi all,
> > Its a while we are trying to use "tc" for bandwidth control. But each
time
> > we apply tc rules  to the network, we experience a lot of service
> > degradation. The usage we are mostly concerned about, is bandwidth
control
> > of a group of IP addresses. We mark that subnet with IPChains and then
apply
> > the tc rules. These are the rules applied to eth5 in order to limit the
> > uplink of packets marked "7" by ipchains:
>
> Try reading the source of CBQ.init, which can set up rules for you. I miss
a
> lot of settings in your output, like weight, cell size etcetera. This
might
> lead to a bad configuration.
>
> Regards,
>
> bert hubert
>
> > # /sbin/tc class sh dev eth5
> > class cbq 40: root rate 100Mbit (bounded,isolated) prio no-transmit
> > class cbq 40:1 parent 40: rate 100Mbit prio no-transmit
> > class cbq 40:300 parent 40:1 leaf 8025: rate 200Kbit (bounded) prio 5
> > # /sbin/tc qdisc sh dev eth5
> > qdisc tbf 8025: rate 200Kbit burst 25Kb lat 1us
> > qdisc cbq 40: rate 100Mbit (bounded,isolated) prio no-transmit
> > [root@xxxxx naimi]# /sbin/tc filter sh dev eth5
> > filter parent 40: protocol ip pref 1 fw
> > filter parent 40: protocol ip pref 1 fw handle 0x7 classid 40:300
> > filter parent 40: protocol ip pref 80 u32
> > filter parent 40: protocol ip pref 80 u32 fh 800: ht divisor 1
> > filter parent 40: protocol ip pref 80 u32 fh 800::800 order 2048 key ht
800
> > bkt 0 flowid 40:100
> >
> > As I mentioned, the service degraded severely: pig time of internet
sites
> > increased about 300-500 ms!!
> > Does anybody know what is wrong with my configuration?
> >
> > Best Regards
> > Hoomaan Naimi
> > Afranet Network Administrator
> >
> >
> >
> >
> > _______________________________________________
> > LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
> > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:
http://ds9a.nl/2.4Routing/
> >
>
> --
> PowerDNS                     Versatile DNS Services
> Trilab                       The Technology People
> 'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet





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