Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] HTB timer??
Date: Wed, 14 May 2003 09:57:30 +0000	[thread overview]
Message-ID: <marc-lartc-105290632715590@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105290411713831@msgid-missing>

On Wednesday 14 May 2003 11:20, Lars Landmark wrote:
> Hi;
> As I understand, HTB use a timer in order to calculate rate.  In addition
> it also use timer to tell whether classes are allowed to send packets or
> not.
> Could somebody tell me how this timer is calculated??
http://www.docum.org/stef.coene/qos/faq/cache/40.html

> If you have, say, a link with capacity 10MB. If you so configure using HTB
> two classes with the same parent to use 5MB each with priority 0,1 and
> ceil 10MB.  What would happen if bandwidth decrease to under 5MB.
>
> Would the highest prio class be the only served??
No.  Each class can send it's rate as a minimum.  Prio is only used to 
distribute remaining bandwidth and to determine the order of the classes so 
the highest priority class has the lowest delays.
If you have a 10mbit class with 2 classes of each 2mbit and prio 0 and 1.  
Each class can send 2mbit.  And the class with prio 0 can use the remaining 
6mbit.  So you have 2 classes with rate 2mbit and 8mbit.

Remember : the lower the prio, the higher the priority.

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

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

  reply	other threads:[~2003-05-14  9:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-14  9:20 [LARTC] HTB timer?? Lars Landmark
2003-05-14  9:57 ` Stef Coene [this message]
2003-05-16  6:38 ` Lars Landmark
2003-05-16  9:33 ` 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-105290632715590@msgid-missing \
    --to=stef.coene@docum.org \
    --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