From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] HTB theory?
Date: Sun, 13 Jun 2004 15:23:08 +0000 [thread overview]
Message-ID: <40CC715C.8020902@dsl.pipex.com> (raw)
In-Reply-To: <200406121446.08416.dmitry@mikrotik.com>
Dmitry Golubev wrote:
<snip>
> One think I do not understand neither for SFQ nor for HTB (please explain for
> both) - how can we maintain fairness in case of differently-sizes packets. As
> I understand, one packet is atomic unit, and interface is requesting not more
> and not less than one packet.
I don't know about HTB, but SFQ uses quantum (= MTU by default). When a
packet is dequeued its length is taken away from a counter for the flow.
If it's <=0 then the next flow is set up for the next dequeue and
credited with quantum bytes. If its >0 then it will be called again next
dequeue. SFQ returns the skb for the dequeued packet - so HTB can look
up its len, I don't know the HTB code - but that's the next level of
documentation for you.
Andy.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2004-06-13 15:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-12 11:46 [LARTC] HTB theory? Dmitry Golubev
2004-06-12 12:39 ` Stef Coene
2004-06-12 17:43 ` Dmitry Golubev
2004-06-13 15:23 ` Andy Furniss [this message]
2004-06-13 18:41 ` Martin Devera
2004-06-16 15:31 ` Dmitry Golubev
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=40CC715C.8020902@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.