* [LARTC] tc strange behaviour (some discoveries)
@ 2005-12-16 6:27 Alexander Kabanov
2005-12-16 12:44 ` Andy Furniss
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Kabanov @ 2005-12-16 6:27 UTC (permalink / raw)
To: lartc
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?
best,
--alex
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] tc strange behaviour (some discoveries)
2005-12-16 6:27 [LARTC] tc strange behaviour (some discoveries) Alexander Kabanov
@ 2005-12-16 12:44 ` Andy Furniss
0 siblings, 0 replies; 2+ messages in thread
From: Andy Furniss @ 2005-12-16 12:44 UTC (permalink / raw)
To: lartc
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@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-12-16 12:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-16 6:27 [LARTC] tc strange behaviour (some discoveries) Alexander Kabanov
2005-12-16 12:44 ` Andy Furniss
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.