Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Hannes Ebner <he@fli4l.de>
To: lartc@vger.kernel.org
Subject: [LARTC] HTB quantum for small rates
Date: Sun, 22 Dec 2002 02:37:49 +0000	[thread overview]
Message-ID: <marc-lartc-104052473724740@msgid-missing> (raw)

hi devik,

i have found the following you have written some time ago:
> It is important to know that for precise operation quantums need to 
> be as small as possible and larger than MTU. Normaly you don't need 
> to specify quantums manualy as HTB chooses precomputed values. It 
> computes classe's quantum (when you add or change it) as its rate 
> divided by r2q global parameter. Its default value is 10 and because
> typical MTU is 1500 the default is good for rates from 15 kBps (120
> kbit). For smaller minimal rates specify r2q 1 when creating qdisc -
> it is good from 12 kbit which should be enough. If you will need you
> can specify quantum manualy when adding or changing the class.

what would be the best solution for rates smaller than 120kbit? i don't
know how the higher rates are affected by scaling r2q down to 1, but
would this be a solution for rates from 12kbit?

would it be better to calculate the quantum for each rate or to set a
small quantum for all rates?

thanks in advance,
hannes

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

             reply	other threads:[~2002-12-22  2:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-22  2:37 Hannes Ebner [this message]
2002-12-22 11:09 ` [LARTC] HTB quantum for small rates Stef Coene

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=marc-lartc-104052473724740@msgid-missing \
    --to=he@fli4l.de \
    --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