All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Marcus Felipe Pereira" <marcus@task.com.br>
To: lartc@vger.kernel.org
Subject: [LARTC] HTB rate miscalculation
Date: Wed, 04 May 2005 22:56:10 +0000	[thread overview]
Message-ID: <029901c550fc$77524c30$1f00a8c0@Micro1> (raw)

Hi,
  I've migrated my tc configuration from CBQ to HTB.

  One problem appeared. Htb seems to miscalculate the bandwidth for classes 
with greater rates.
  For rates below 2Mbit there is almost no difference between the configured 
and the measured rate.

  For large ones the problem starts. My root class has 10Mbit rate and when 
the interface has heavy trafic the measured bandwidth coudn't get more then 
8.5Mbit.

   "# tc -s class show ...." shows that the root class has about the 10Mbit, 
but the link stats shows mutch less.

  The solution was to put the htb ceil on about 12Mbit. Then I can get to 
the 10Mbit. When using CBQ I didn't have this problem.

  Is there any parameter that I can change to correct the rate calculation?
  Any one has similar problem?

Marcus Pereira

 

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

             reply	other threads:[~2005-05-04 22:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-04 22:56 Marcus Felipe Pereira [this message]
2005-05-06  0:19 ` [LARTC] HTB rate miscalculation Andy Furniss
2005-05-06 15:36 ` Marcus Felipe Pereira
2005-05-09 22:21 ` Andy Furniss
2005-05-10 13:17 ` Marcus Felipe Pereira

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='029901c550fc$77524c30$1f00a8c0@Micro1' \
    --to=marcus@task.com.br \
    --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.