Re: Unshapeable traffic

Linux Advanced Routing and Traffic Control

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

 



>> OK, but why traffic doesn't slow down due to shaping and still assail
>> upload ? [I tried sqf and red qdisc attached to class].

>You already found out that iptables counts packets which get dropped later
>by HTB. You kind of answered your own question with that observation. What
>I don't understand is what you mean now by 'traffic slow down'.


I suppose that traffic slow down to defined bandwidth on "all route" -
I mean before TC queue. When some queue limits speed, all hosts that
do traffic [remote shaped] should slow down due to TCP features, but comparing TC and iptables
counters it looks that it doesn't happen precisely.


>You have a 1500kbit class with a ceil of 4MBit. So if you're missing a slow
>down, does that mean that this class sends more than 4MBit, or does it
>borrow too much bandwidth from other classes?

TC do good job but as mentioned above, traffic doesn't slow down
before queue and a lot of packets [~30% of total packets] are dropped
by queue.


> What other classes do you
>have?

Others doesn't have much to do but if You like to see:

#-------------------------
class htb 1:11 parent 1:10 leaf 80bc: prio 0 rate 300Kbit ceil 400Kbit burst 1974b cburst 2099b
 Sent 146796 bytes 1336 pkts (dropped 0, overlimits 0)
 lended: 1336 borrowed: 0 giants: 0
 tokens: 48687 ctokens: 39076

class htb 1:1 root rate 100Mbit ceil 100Mbit burst 126587b cburst 126587b
 Sent 61202927558 bytes 153038476 pkts (dropped 0, overlimits 0)
 rate 618726bps 1581pps
 lended: 0 borrowed: 0 giants: 0
 tokens: 9760 ctokens: 9760

class htb 1:10 parent 1:1 rate 14200Kbit ceil 14200Kbit burst 19347b cburst 19347b
 Sent 61202927558 bytes 153038476 pkts (dropped 0, overlimits 0)
 rate 618726bps 1581pps
 lended: 22825987 borrowed: 0 giants: 0
 tokens: 6810 ctokens: 6810

class htb 1:13 parent 1:10 leaf 80be: prio 2 rate 300Kbit ceil 1700Kbit burst 1974b cburst 3724b
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
 lended: 0 borrowed: 0 giants: 0
 tokens: 53929 ctokens: 17949

class htb 1:12 parent 1:10 leaf 80bd: prio 1 rate 1200Kbit ceil 1500Kbit burst 3099b cburst 3474b
 Sent 7030787084 bytes 103264002 pkts (dropped 761, overlimits 0)
 rate 68754bps 1109pps
 lended: 103186192 borrowed: 77810 giants: 0
 tokens: 20834 ctokens: 18715

class htb 1:17 parent 1:10 leaf 80bf: prio 3 rate 3Mbit ceil 9Mbit burst 5349b cburst 12848b
 Sent 15792105008 bytes 19364386 pkts (dropped 2, overlimits 0)
 rate 50435bps 114pps
 lended: 15626484 borrowed: 3737902 giants: 0
 tokens: 13080 ctokens: 11188

class htb 1:18 parent 1:10 leaf 18: prio 3 rate 1500Kbit ceil 4Mbit burst 3474b cburst 6599b
 Sent 38380012693 bytes 30408825 pkts (dropped 13642848, overlimits 0)
 rate 501190bps 370pps backlog 73p
 lended: 11398477 borrowed: 19010275 giants: 0
 tokens: -24850 ctokens: -15351
#-------------------------
 
 1:17 is default traffic class
 1:18 is p2p traffic class.
 


-- 
tw


_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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