LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Should traffic control root qdsic & child class limit traffic? (http://www.linuxquestions.org/questions/linux-networking-3/should-traffic-control-root-qdsic-and-child-class-limit-traffic-864639/)

Washington Ratso 02-23-2011 07:16 PM

Should traffic control root qdsic & child class limit traffic?
 
I noticed that before I add client leaf classes that the value I set as the ceiling has no effect. For example, after putting in the following commands:

tc qdisc add dev sat0 root handle 9997 htb default 9999 r2q 2
tc class add dev sat0 parent 9997: classid 9997:9998 htb rate 500000bit ceil 500000bit

I can send over 3000000bits/sec with none of it being dropped. It looks like the 500000bit ceiling I defined is ignored. After I add client leaf classes below the root, I then see that packets are dropped when I try to exceed the ceiling.

Is this behavior expected?


All times are GMT -5. The time now is 11:20 PM.