Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Thierry Coutelier <Thierry.Coutelier@linux.lu>
To: lartc@vger.kernel.org
Subject: [LARTC] CBQ or HTP accuracy
Date: Wed, 04 Dec 2002 11:00:20 +0000	[thread overview]
Message-ID: <marc-lartc-103899971519055@msgid-missing> (raw)



Hello,

I am rate limiting traffic going to some IP addresses using CBQ
  (and want to change to HTB sometime).

While testing with different packet sizes I found out that I could go above the
   rate limit I set. (even with HTB)

The values I use are: rate: 768kbit  weight 77kbit allot 10000 avpkt 1512
I did not change the cell or other parameters.
My root qdisc is set to 40MBit.

With those values I am able to go up to 840kbit/s with packets sizes of 612 or 1224.
With other values it's less except for very low values.

Changing the allot value (If I understood well allot*weight=max packets per round)
  it only gets worst (tested with 1000 and 50000).

AVPKT is only used for maxidle so it should not change anything ?

What values should I tweak to have the max rate never exeeded and still be able
   to come very near my max-rate using 1460 bytes packets ?

Would HTB be more accruate ?


Thanks for the HELP.

-- 
Thierry Coutelier      /'\ ASCII Ribbon Campaign
http://www.linux.lu    \ / No HTML/RTF in email
.                       ×  No Word docs in email
.                      / \ Respect for open standards


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

             reply	other threads:[~2002-12-04 11:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-04 11:00 Thierry Coutelier [this message]
2002-12-04 15:39 ` [LARTC] CBQ or HTP accuracy Stephane Ouellette
2002-12-05 15:34 ` Thierry Coutelier

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-103899971519055@msgid-missing \
    --to=thierry.coutelier@linux.lu \
    --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