Hello Ramin, Friday, June 01, 2001, 8:41:52 PM, you wrote: RA> On Fri, Jun 01, 2001 at 02:41:47PM -0300, Ethy H. Brito wrote: >> On Fri, 1 Jun 2001, Wingtung.Leung wrote: >> >> > On Fri, 1 Jun 2001, Serguei I. Ivantsov wrote: >> > >> > > Please explain me why my class 10:300 does not drops packets? >> > > My class is bounded and isolated - but 8kbit!=1783bps!!! >> > > >> > > >> > > class cbq 10:300 parent 10:1 leaf 801b: rate 8Kbit (bounded,isolated) prio 5 >> > > Sent 470737 bytes 388 pkts (dropped 0, overlimits 7465) >> > > rate 1783bps 1pps backlog 40p >> > > borrowed 0 overactions 290 avgidle -786633 undertime 612289 >> > >> > I'm not sure what 1783bps means. If it is "bytes/sec" more packets should >> > be dropped, if it is "bits/sec", everything seems to be ok. >> >> As a general rule "bps" means bits per second and "Bps" means bytes per second. >> I am not shure if it applies here. I should say it does. RA> Usually, when one talks about the bandwidth it always refers to "bit" RA> not "byte". RA> Ramin RA> _______________________________________________ RA> LARTC mailing list / LARTC@xxxxxxxxxxxxxxx RA> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/ Well, let's perfom a little calculation :) "tc -s class ls dev eth0" : > class cbq 10:200 parent 10:1 leaf 8026: rate 16Kbit (bounded,isolated) prio 5 > Sent 4049872 bytes 3846 pkts (dropped 0, overlimits 10286) > borrowed 0 overactions 1364 avgidle 309677 undertime 0 after 4 second : > class cbq 10:200 parent 10:1 leaf 8026: rate 16Kbit (bounded,isolated) prio 5 > Sent 4049926 bytes 3847 pkts (dropped 0, overlimits 10286) > rate 13bps > borrowed 0 overactions 1364 avgidle 309677 undertime 0 4049926(bytes)-4049872(bytes)=54(bytes) 54(bytes)/4(second)=13.5 BYTES PER SECOND! It is easy to come to this conclusion when looking at MRTG graps. -- Best regards, Serguei mailto:admin@xxxxxxxxxxxxxxxx