Networking Forums

Networking Forums > Computer Networking > Linux Networking > Should traffic control root qdisc & child class limit traffic?

Reply
Thread Tools Display Modes

Should traffic control root qdisc & child class limit traffic?

 
 
Washington Ratso
Guest
Posts: n/a

 
      02-24-2011, 05:33 PM
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?
 
Reply With Quote
 
 
 
 
Andy Furniss
Guest
Posts: n/a

 
      02-25-2011, 06:48 PM
Washington Ratso wrote:
> 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 guess this won't do anything alone because there is nothing to filter
traffic to it. It should work if default was 9998 rather than 9999 - but
beware when using default generally as it catches non ip traffic.
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble setting IPv6 traffic class (QoS) bits with iperf Washington Ratso Linux Networking 0 07-25-2011 10:44 PM
Problem in using TC Traffic Control Asif Linux Networking 0 11-05-2008 11:16 AM
how to setup massive traffic shaping? (2 class B nets) safin.timur@gmail.com Linux Networking 0 09-19-2006 11:16 AM
traffic control =?ISO-8859-1?Q?Hern=E1n_Freschi?= Linux Networking 8 04-27-2005 06:36 PM
I can see qdisc/prio/bfifo filled by datas but can't see any traffic prioritization Eric Bart Linux Networking 1 11-12-2003 04:02 AM



1 2 3 4 5 6 7 8 9 10 11