From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Fri, 16 Dec 2005 12:44:09 +0000 Subject: Re: [LARTC] tc strange behaviour (some discoveries) Message-Id: <43A2B699.2040201@dsl.pipex.com> List-Id: References: <856763c80512152227l5d2c7e08xe0d448838f55f829@mail.gmail.com> In-Reply-To: <856763c80512152227l5d2c7e08xe0d448838f55f829@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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