All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] bandwidth control on htb
Date: Mon, 30 May 2005 15:08:29 +0000	[thread overview]
Message-ID: <429B2C6D.6000605@dsl.pipex.com> (raw)
In-Reply-To: <103339c8050528083767284c8b@mail.gmail.com>

Fatih Düzova wrote:
> Hi,
> I implemented queues on some ports with htb by filtering. and to have
> a constant bw, i defined rate and ceil the same. But while watching
> the bw's, I ve realized they may sometimes exceed the defined value
> for short periods.

How are you measuring this and what rates do you use?

> How could I avoid this situation? I thought that
> implementing a leaky bucket'd be fine but i m not sure about this and
> how to do it on tc.
> I would be glad if anyone could help me. Thanks,

There are a few things you can do - I don't know if you really need to.

You could specify burst 10b cburst 10b quantum 1500 on the leaf classes.

There is also a setting - HYSTERESIS in the defines in 
net/sched/sch_htb.c that when changed to 0 (need to recompile 
kernel/module) makes htb a bit more accurate - though I never noticed it 
affecting rates as such.

Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  reply	other threads:[~2005-05-30 15:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-28 15:37 [LARTC] bandwidth control on htb Fatih Düzova
2005-05-30 15:08 ` Andy Furniss [this message]
2005-06-10  0:07 ` Andy Furniss

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=429B2C6D.6000605@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 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.