Hello all, I have using htb for last 10-12 months to manage the bandwidth share. Until last month everything was ok, but now after a kernel upgrade (from 2.4.20 to 2.4.26 because a kernel bug that generate a oops) the Linux router is droping packets. It is weird because the "tc -s class ls dev eth1" (in the class I monitor) reports no packet drop, the "tc -s qdisc ls dev eth1" reports no packet drop (in the qdisc attached to class I monitor) and even the "ifconfig" reports no packet drop. My htb configuration consist of more than 150 classes with rates from 1.5 kbps to 64 kbps and ceils from 8 kbps to 170 kbps. Every class have a sfq qdisc attached. The total bandwidth is 2 Mbps. All clases/qdisc are created using Stef Coene''s QoS scripts. My hardware is a Dell PIV 2GHz with 512MB RAM and I use 2 eepro100 (Intel 82555 rev4) nics. The same problem appear with 2.4.24, 2.6.8 kernels and with rtl8139 nics and all cables and switch ports changed. Thanks. -- TIMnet webmail (webmail.tim.ro) _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Well, similar things happened on a machine with 2.4.26, with about 300 classes (for 150 users with different cir/mir for metro/extern). I remade the classes and i applyed fw filters instead of u32, and now it works very well on 2.4.26. On Thu, 28 Oct 2004 15:22:42 +0200, Dumitrache Ionut <dionut@tim.ro> wrote:> > Hello all, > > I have using htb for last 10-12 months to manage the bandwidth share. > Until last month everything was ok, but now after a kernel upgrade (from > 2.4.20 to 2.4.26 because a kernel bug that generate a oops) the Linux router > is droping packets. It is weird because the "tc -s class ls dev eth1" (in the > class I monitor) reports no packet drop, the "tc -s qdisc ls dev eth1" > reports no packet drop (in the qdisc attached to class I monitor) and even > the "ifconfig" reports no packet drop. > My htb configuration consist of more than 150 classes with rates from 1.5 > kbps to 64 kbps and ceils from 8 kbps to 170 kbps. Every class have a sfq > qdisc attached. The total bandwidth is 2 Mbps. All clases/qdisc are created > using Stef Coene''s QoS scripts. My hardware is a Dell PIV 2GHz with 512MB RAM > and I use 2 eepro100 (Intel 82555 rev4) nics. > The same problem appear with 2.4.24, 2.6.8 kernels and with rtl8139 nics > and all cables and switch ports changed. > > Thanks. > > -- > TIMnet webmail (webmail.tim.ro) > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ >-- Bla bla _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hello, Thanks for the quick response George. I will switch to fw filters. I know, there are many advantages, but are the fw filters ok for massive classifing ? How many classes and how much bandwidth have you ? Thanks again, Ionut _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
I have more than 600 classes, 4 classes per each client (down/up for both metro/extern). I can''t be sure if my problem got solved because i switched to fw or because the htb trees got a little changed, i can only say it works like a charm, for about 30mbit parent class, mipclasses, 1700 routes written by bgp. The system is load at 20% usually, and sometimes more when the rrdtool is doing his job. It is true the machine is an Intel 3G with dual thread hehe :) On Thu, 28 Oct 2004 16:56:23 +0200, Dumitrache Ionut <dionut@tim.ro> wrote:> Hello, > > Thanks for the quick response George. I will switch to fw filters. I > know, there are many advantages, but are the fw filters ok for massive > classifing ? How many classes and how much bandwidth have you ? > > Thanks again, > Ionut > >-- Bla bla _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/