Re: tc strange behaviour (some discoveries)

Linux Advanced Routing and Traffic Control

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

 



Alexander Kabanov wrote:
hi All,

seems like a kernel problem

when I do the following on kernel 2.6.12.5

tc qdisc add dev lo root handle 1: htb default 1
tc class add dev lo parent 1: classid 1:1 htb rate 512kbit ceil 1mbit

all works as expected (traffic is limited to 1mbit), but this doesn't
work the same
way on kernel 2.6.14.3, and actually only ceil has effect (in my
previous message
I mentioned "rate", but I didn't pay attention that ceil gets set
automatically to
the same value you set in "rate")

when you set ceil 128kbit, you start with 128kbit bandwidth, and it
goes up to 1mbit, if you set 1mbit, it starts with 1 mbit and goes up
to 5mbit

any comments? can someone verify? how can I debug this?

If you put htb on an interface with a big mtu - like lo/gig eth then you need to specify that mtu wherever you have a rate or ceil.

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