Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] tc strange behaviour (some discoveries)
Date: Fri, 16 Dec 2005 12:44:09 +0000	[thread overview]
Message-ID: <43A2B699.2040201@dsl.pipex.com> (raw)
In-Reply-To: <856763c80512152227l5d2c7e08xe0d448838f55f829@mail.gmail.com>

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

      reply	other threads:[~2005-12-16 12:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-16  6:27 [LARTC] tc strange behaviour (some discoveries) Alexander Kabanov
2005-12-16 12:44 ` Andy Furniss [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43A2B699.2040201@dsl.pipex.com \
    --to=andy.furniss@dsl.pipex.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox