Thank you, I put 100kbps to both 1:11 and 1:10. 1:10 (prio 0) get almost 50kbps form 60kbps excess and 1:20 (prio 1) get 10kbps form excess. Is it the expected result? I gussess the all 60kbps (excess) should go to prio 0 or by proportional to rate in each class. Pat On Fri, 7 Jun 2002, Martin Devera wrote: > Ok. It seems you generate only 40kbps by ethloop script. Then you > can't expect your lines to go higher ! > Generate 100kbps to 1:11 and 1:10 ... > devik > > On Fri, 7 Jun 2002, King Yung Tong wrote: > > > Here is the version and info. > > > > Version htb3_2.4.17 > > > > [root@samwise htb]# ./tc -s -d class show dev lo > > class htb 1:11 parent 1:2 leaf 30: prio 1 quantum 1024 rate 80Kbit ceil > > 800Kbit burst 1701b/8 mpu 0b cburst 2623b/8 mpu 0b level 0 > > Sent 130048 bytes 127 pkts (dropped 0, overlimits 0) > > rate 254bps > > lended: 100 borrowed: 27 giants: 0 > > tokens: -60449 ctokens: 12800 > > > > class htb 1:1 root rate 800Kbit ceil 800Kbit burst 2623b/8 mpu 0b cburst > > 2623b/8 mpu 0b level 7 Sent 730112 bytes 713 pkts (dropped 0, overlimits > > 0) > > rate 1426bps 1pps > > lended: 81 borrowed: 0 giants: 0 > > tokens: 12800 ctokens: 12800 > > > > class htb 1:10 parent 1:2 leaf 20: prio 0 quantum 3072 rate 240Kbit ceil > > 800Kbit burst 1906b/8 mpu 0b cburst 2623b/8 mpu 0b level 0 > > Sent 360448 bytes 352 pkts (dropped 0, overlimits 0) > > rate 704bps > > lended: 298 borrowed: 54 giants: 0 > > tokens: -36462 ctokens: 12800 > > > > class htb 1:2 parent 1:1 rate 320Kbit ceil 800Kbit burst 2008b/8 mpu 0b > > cburst 2623b/8 mpu 0b level 6 > > Sent 490496 bytes 479 pkts (dropped 0, overlimits 0) > > rate 958bps > > lended: 0 borrowed: 81 giants: 0 > > tokens: -62221 ctokens: 12800 > > > > class htb 1:12 parent 1:1 leaf 40: prio 0 quantum 6144 rate 480Kbit ceil > > 800Kbit burst 2213b/8 mpu 0b cburst 2623b/8 mpu 0b level 0 > > Sent 239616 bytes 234 pkts (dropped 0, overlimits 0) > > rate 426bps > > lended: 234 borrowed: 0 giants: 0 > > tokens: 15867 ctokens: 12800 > > > > > > > > result for all line with 100kbps (pic5) > > > > 0.5 23947 23947 0 0 7982 7982 0 0 45228 45228 0 0 > > 1.0 29036 29036 0 0 9571 9571 0 0 57118 57118 0 0 > > 1.5 29318 29318 0 0 10107 10107 0 0 59489 59489 0 0 > > 2.0 30522 30522 0 0 10253 10253 0 0 59327 59327 0 0 > > 2.5 28197 28197 0 0 10280 10280 0 0 61159 61159 0 0 > > 3.0 30910 30910 0 0 7927 7927 0 0 59985 59985 0 0 > > 3.5 30991 30991 0 0 7935 7935 0 0 60665 60665 0 0 > > 4.0 28994 28994 0 0 9598 9598 0 0 59183 59183 0 0 > > 4.5 30150 30150 0 0 10034 10034 0 0 14044 14044 0 0 > > 5.0 28662 28662 0 0 10458 10458 0 0 3333 3333 0 0 > > 5.5 30876 30876 0 0 10506 10506 0 0 791 791 0 0 > > 6.0 28540 28540 0 0 10523 10523 0 0 188 188 0 0 > > 6.5 29107 29107 0 0 10154 10154 0 0 45 45 0 0 > > 7.0 30387 30387 0 0 8500 8500 0 0 11 11 0 0 > > 7.5 45085 45085 0 0 18230 18230 0 0 3 3 0 0 > > 8.0 49523 49523 0 0 19855 19855 0 0 1 1 0 0 > > 8.5 49546 49546 0 0 20405 20405 0 0 0 0 0 0 > > 9.0 50916 50916 0 0 18643 18643 0 0 0 0 0 0 > > 9.5 50410 50410 0 0 20082 20082 0 0 0 0 0 0 > > 10.0 48597 48597 0 0 20453 20453 0 0 0 0 0 0 > > > > > > > > > > > > > > On Fri, 7 Jun 2002, Martin Devera wrote: > > > > > What version of HTB do you use ? Send me > > > tc -s -d class show dev xxx > > > outoput after test pic5 generation. > > > devik > > > > > > On Fri, 7 Jun 2002, King Yung Tong wrote: > > > > > > > Thank you again for you help! > > > > Attach is the pic5 for the ceil equal to 100kbps for all line. > > > > pic10limit for the ceil equal to 100kbps except 1:20. > > > > > > > > My objective is to show if not prio is set the excess should allocate > > > > according to rate. If the prio is set, the high prio should get more. > > > > > > > > > > > > > > > > > > > > > > > > On Fri, 7 Jun 2002, Martin Devera wrote: > > > > > > > > > > Thank you for you answer, 1:10 is incresed but 1:20 is also increased and > > > > > > increase to the specific rate if I add 100kbps to every line. > > > > > > > > > > sounds weird. With higher prio 1:10 should get 90k and 1:11 10k. > > > > > > > > > > > In my case, I would like to put all the extra to 1:10 only, is that means > > > > > > I have to give 1:11 ceil to 10kbps. If it is, is that means I don't need > > > > > > prio paramter? How prio parameter works? > > > > > > > > > > your understanding is ok, tge ceil 10k is correct - the prio is > > > > > meant for lowering delay and change in excess distribution is > > > > > only "secondary" product. > > > > > > > > > > Port the resulting graph somewhere so I can look at it. > > > > > > > > > > devik > > > > > > > > > > _______________________________________________ > > > > > LARTC mailing list / LARTC@mailman.ds9a.nl > > > > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > > > > > > > > > > > > > > > > > > > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/