From: Eddie Kohler <kohler@cs.ucla.edu>
To: dccp@vger.kernel.org
Subject: Re: [PATCH 2/25]: Avoid accumulation of large send credit
Date: Thu, 12 Apr 2007 14:39:53 +0000 [thread overview]
Message-ID: <461E44B9.5020904@cs.ucla.edu> (raw)
In-Reply-To: <200703211844.12007@strip-the-willow>
> That is one of the problems here - in the RFC such problems do not arise, but the implementation needs
> to address these correctly.
The RFC's solution to this problem, which involves t_gran, EXACTLY addresses this
> | Your token bucket math, incidentally, is wrong. The easiest way to see this
> | is to note that, according to your math, ANY token bucket filter attempting to
> | limit the average output rate would have to have n = 0, making TBFs useless.
> | The critical error is in assuming that a TBF allows "s * (n + R * rho)" bytes
> | to be sent in a period R. This is not right; a TBF allows a maximum of s * R
> | * rho per longer-term period R; that's the point. A token bucket filter
> | allows only SHORT-term bursts to compensate for earlier slow periods. Which
> | is exactly what we need.
> Please take another look. The formula is correct (you will find the same one e.g in Andrew
> Tanenbaum's book).
So I assume what you are referring to is the clause "average rate OVER ONE
RTT"? Sorry I missed that. I missed it because it is not TFRC's goal. Can
you point to the section in RFC3448 or RFC4342 that prohibits a TFRC sender
from ever sending a (transient) rate more than X over one RTT? RFC3448 4.6
allows burstiness much more than a single packet, and the intro allows
fluctuations of up to a factor of 2 relative to the fair rate
> I think (with regard to the paragraph below) that your perspective is an entirely different one,
> namely to solve the question "which kind of token bucket do we need to obtain an a rate which
> is on average consistent with X".
That is *TFRC's* perspective: finding packet sends that on average are
consistent with X. As demonstrated by 4.6 and elsewhere
How much above X may an application transiently send? The intro would argue 2x.
> But until this is truly resolved I want this patch in.
Fine, I disagree, Ian disagrees (as far as I read its messages). You are
fixing one problem and creating another: artificially low send rates
Eddie
next prev parent reply other threads:[~2007-04-12 14:39 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-21 18:44 [PATCH 2/25]: Avoid accumulation of large send credit Gerrit Renker
2007-03-26 2:33 ` Ian McDonald
2007-04-10 17:24 ` Eddie Kohler
2007-04-11 14:50 ` Gerrit Renker
2007-04-11 15:43 ` Eddie Kohler
2007-04-11 22:45 ` Ian McDonald
2007-04-12 11:40 ` Gerrit Renker
2007-04-12 12:55 ` Gerrit Renker
2007-04-12 14:39 ` Eddie Kohler [this message]
2007-04-13 18:27 ` Gerrit Renker
2007-04-13 20:37 ` Eddie Kohler
2007-04-13 20:58 ` David Miller
2007-04-13 21:45 ` Ian McDonald
2007-04-13 23:43 ` Eddie Kohler
2007-04-14 5:51 ` Eddie Kohler
2007-04-15 15:44 ` Gerrit Renker
2007-04-15 15:56 ` Gerrit Renker
2007-04-15 16:23 ` Gerrit Renker
2007-04-15 16:41 ` Gerrit Renker
2007-04-18 16:16 ` [dccp] " Colin Perkins
2007-04-18 16:48 ` Lars Eggert
2007-04-18 18:32 ` vlad.gm
2007-04-18 18:34 ` vlad.gm
2007-04-20 9:45 ` Gerrit Renker
2007-04-20 10:20 ` Ian McDonald
2007-04-20 10:56 ` Colin Perkins
2007-04-20 11:31 ` Gerrit Renker
2007-04-24 22:50 ` Colin Perkins
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=461E44B9.5020904@cs.ucla.edu \
--to=kohler@cs.ucla.edu \
--cc=dccp@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.