Re: Weird HTB behaviour in 2.6.17

Linux Advanced Routing and Traffic Control

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

 



Marlon Dutra wrote:
On 7/28/06, Andy Furniss <lists@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

I see you snipped giants even though you were asked about them.


Oh sorry. Here it goes:

class htb 1:31 parent 1:1 leaf 31: prio 0 rate 1000bit ceil 750000bit
burst 15Kb cburst 1875b
Sent 23991629 bytes 5227 pkts (dropped 0, overlimits 0)
rate 1567Kbit 44pps
lended: 150 borrowed: 5077 giants: 3986
tokens: -14728330 ctokens: -21365

Regardless 11678670/2711 > 1500 so specify your mtu next to every rate
and ceil.


I created the class with "mtu 1500" and the result is above, same
behaviour. Afaik, the default mtu is 1600.

By the way, my ethernet MTU is 1500.

How can I prevent those giants?

It seems there is a problem with some nics not obeying mtu then (I mean ifconfig/ip mtu) maybe it's to do with tso or something.

Normally you shouldn't have to specify mtu to tc if you are running 1500 - you only need to if you are bigger, which it looks like you are whatever ifconfig/ip says.

I would find/lookup what you are really using and tell htb that and then check that the giants count is 0.

Andy.









_______________________________________________
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