RE: Anyone seen this?

Linux Advanced Routing and Traffic Control

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

 




> You have to compare the highes and the lowest rate you have.  
> You have to 
> choose r2q so the lowest-rate / r2q > 1500 and highest-rate / 
> r2q < 60000.
> You can specify the r2q parameter if you add the htb qdisc.

Ok, I specified the r2q as 2, and now here's my HTB:

-------------------------

ROOT
class htb 1:1 root rate 168Kbit ceil 168Kbit burst 2Kb/8 mpu 0b cburst 1814b/8 mpu 0b level 7
 Sent 27115 bytes 246 pkts (dropped 0, overlimits 0)
 rate 289bps 3pps
 lended: 10 borrowed: 0 giants: 0
 tokens: 72229 ctokens: 63353

PCs' upstreams
class htb 1:2 parent 1:1 rate 112Kbit ceil 168Kbit burst 2Kb/8 mpu 0b cburst 1814b/8 mpu 0b level 6
 Sent 1239 bytes 8 pkts (dropped 0, overlimits 0)
 rate 6bps
 lended: 0 borrowed: 0 giants: 0
 tokens: 93716 ctokens: 53600

SSH packets
class htb 1:3 parent 1:1 leaf 3: prio 1 quantum 2048 rate 16Kbit ceil 168Kbit burst 2Kb/8 mpu 0b cburst 1814b/8 mpu 0b level 0
 Sent 18380 bytes 104 pkts (dropped 0, overlimits 0)
 rate 159bps 1pps
 lended: 94 borrowed: 10 giants: 0
 tokens: 777601 ctokens: 65181

ACK packets
class htb 1:4 parent 1:1 leaf 4: prio 2 quantum 5120 rate 40Kbit ceil 168Kbit burst 2Kb/8 mpu 0b cburst 1814b/8 mpu 0b level 0
 Sent 7496 bytes 134 pkts (dropped 0, overlimits 0)
 rate 71bps 1pps
 lended: 134 borrowed: 0 giants: 0
 tokens: 320000 ctokens: 67314

PC 1
class htb 1:10 parent 1:2 leaf 10: prio 3 quantum 4096 rate 32Kbit ceil 152Kbit burst 2Kb/8 mpu 0b cburst 1793b/8 mpu 0b level 0
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
 lended: 0 borrowed: 0 giants: 0
 tokens: 409600 ctokens: 75536

PC 2
class htb 1:11 parent 1:2 leaf 11: prio 3 quantum 4096 rate 32Kbit ceil 152Kbit burst 2Kb/8 mpu 0b cburst 1793b/8 mpu 0b level 0
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
 lended: 0 borrowed: 0 giants: 0
 tokens: 409600 ctokens: 75536

PC 3
class htb 1:12 parent 1:2 leaf 12: prio 3 quantum 4096 rate 32Kbit ceil 152Kbit burst 2Kb/8 mpu 0b cburst 1793b/8 mpu 0b level 0
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
 lended: 0 borrowed: 0 giants: 0
 tokens: 409600 ctokens: 75536

ROUTER (this machine itself!) and default
class htb 1:13 parent 1:2 leaf 13: prio 3 quantum 2048 rate 16Kbit ceil 152Kbit burst 2Kb/8 mpu 0b cburst 1793b/8 mpu 0b level 0
 Sent 1239 bytes 8 pkts (dropped 0, overlimits 0)
 rate 6bps
 lended: 8 borrowed: 0 giants: 0
 tokens: 656002 ctokens: 58359
--------------------

Note that all my quantums are now >1500 and < 60k.  Does everything here look ok? Will the rates be more accurate now that quantum isn't 1000?  How do I make pretty graphical pictures like you guys did, to tell how well it is working?

> results you wanted.  I just did some small test with the 
> quantum parameter.  
> I have to make a link on the site, but you can find it for now on : 
> http://home.docum.org/stef.coene/qos/tests/htb/quantum/

That link doesn't work for me. Can you check it for me?

> The lower the prio, the higher the priority

Great, thanks.

Thanks for all the help!

tim
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


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