problem with wrong speeds

Linux Advanced Routing and Traffic Control

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

 



Hello everyone,
I just found very strange problem. I have a big class with 5500 KBit
bandwidth, and a lot of smaller for which this one is their parent.
Some of them are with rate 64 and ceil 1024 and other are with rate
256 and ceil pceil (5500). All filters are using mark from iptables.

The strange thing is that noone can get more of about 60% of its ceil
even if the parent class is almost free.

Thats my parent class:

class htb 1:2309 root rate 5500Kbit ceil 5500Kbit burst 8638b cburst 8638b
 Sent 51543995 bytes 41551 pkts (dropped 0, overlimits 0)
 rate 133323bps 104pps
 lended: 28949 borrowed: 0 giants: 0
 tokens: 8170 ctokens: 8170

the rate is about 133 KBps which is about 1000 Kbit (our class has 5500)

now we look at some of the children classess

class htb 1:3632 parent 1:2309 prio 4 rate 64Kbit ceil 1020Kbit burst 1680b cburst 2904b
 Sent 24009127 bytes 15880 pkts (dropped 4687, overlimits 0)
 rate 62900bps 41pps
 lended: 2109 borrowed: 13771 giants: 0
 tokens: -364219 ctokens: -13866

class htb 1:3620 parent 1:2309 prio 4 rate 64Kbit ceil 1020Kbit burst 1680b cburst 2904b
 Sent 25147025 bytes 16660 pkts (dropped 4957, overlimits 0)
 rate 65953bps 43pps backlog 1p
 lended: 2152 borrowed: 14507 giants: 0
 tokens: -237551 ctokens: -33322

there no other classes that do more then some 1-2 kbps transfers at
the time of this check.

As you can see there is alot of free speed, but the two classes are
shaped at about 65 KBps - packets are being dropped.

The interface is VLAN interface and the classes are added like this:


tc qdisc del dev eth2.1248 root
tc qdisc add dev eth2.1248 root handle 1 htb default 0

---for the parent class---
tc class add dev eth2.1248 parent 1:0 classid 1:2309 htb rate 5500Kbit prio 4
tc qdisc add dev eth2.1248 parent 1:2309 handle 2309 sfq perturb 10
---

---for the children classes---
tc class add dev eth2.1248 parent 1:2309 classid 1:3632 htb rate 64Kbit ceil 1020Kbit prio 4
tc filter add dev eth2.1248 parent 1:0 protocol ip prio 150 handle 3632 fw classid 1:3632
---


Any suggestions and help will be highly appreciated!
Thanks in advance to all of you!


Best regards,
Ilian


_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
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