Re: tc doesn't shape correct

Stanislav Kruchinin <[email protected]>
Newsgroups gmane.linux.network.routing
Message-ID <[email protected]>
Johan Huysmans wrote:
> Here is my tc config, maybe something is wrong with that config:
> 
> /sbin/tc qdisc  del dev bond1 root
> /sbin/tc qdisc  add dev bond1 root handle 1: htb default 1
> /sbin/tc class  add dev bond1 parent 1: classid 1:1 htb rate 1000mbit
> burst 1310720
> /sbin/tc class  add dev bond1 parent 1: classid 1:2 htb rate 30mbit
> burst 39321
> /sbin/tc class  add dev bond1 parent 1: classid 1:3 htb rate 10mbit
> burst 13107

I think you should try to set "quantum" parameter of all leaf classes to
the value at least as high as MTU, e.g. 1500 for Ethernet, and to
increase the burst of 1:3 class.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.