General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: Justin McCann <jneilm@gmail.com>
To: "Dave Täht" <d@taht.net>
Cc: bufferbloat list <bloat@lists.bufferbloat.net>
Subject: Re: [Bloat] The wireless problem in a nutshell
Date: Tue, 8 Feb 2011 10:54:26 -0500	[thread overview]
Message-ID: <AANLkTikVOn373ZnZm2j-m0rswEWaxkkHoTAXErGy5q6B@mail.gmail.com> (raw)
In-Reply-To: <8739o0f5cu.fsf@cruithne.co.teklibre.org>

On Mon, Feb 7, 2011 at 6:31 AM, Dave Täht <d@taht.net> wrote:
>...
> How long can the RTT get before TCP throughput drops?
>
> Good question.
>
> That depends on your tolerance for latency and packet loss. You can
> increase your RTT, and reduce packet drops, by using buffering at the
> expense of latency. ...

There's a rule of thumb for the upper bound in two SIGCOMM-award
papers; I generally use the simple one from the Mathis paper.

bandwidth = (MSS / RTT) * (C / sqrt(loss))

   MSS = maximum segment size
   RTT = round trip time
   C = a constant between 0.87 and 1.31, depending on the ACK strategy
and type of loss
   sqrt(loss) = square root of the probability of losing a packet

So, for a given connection, your expected throughput scales linearly
with the size of your packets, and inversely with the RTT and
sqrt(loss).

I have an unverified/untested Python implementation of the equations
at http://www.cs.umd.edu/~jmccann/tcp_tput.py

I wonder how jumbo frames play into bufferbloat. When queues are in
terms of number of packets (not bytes), jumbo frames make the problem
even worse.

    Justin

* The Macroscopic Behavior of the TCP Congestion Avoidance Algorithm,
by Matthew Mathis, Jeffrey Semke, Jamshid Mahdavi, and Teunis Ott, CCR
27(3), 1997. (pdf:
http://ccr.sigcomm.org/archive/1997/jul97/ccr-9707-mathis.pdf)
* Modeling TCP Throughput:  A Simple Model and Its Empirical
Validation, by Jitendra Padhye, Victor Firoiu, Don Towsley, and Jim
Kurose, Proc. of ACM SIGCOMM 1998. (pdf:
http://conferences.sigcomm.org/sigcomm/1998/tp/paper25.pdf)

  reply	other threads:[~2011-02-08 15:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-06 17:41 Dave Täht
2011-02-07  8:56 ` Luca Dionisi
2011-02-07 11:31   ` Dave Täht
2011-02-08 15:54     ` Justin McCann [this message]
2011-02-08 19:56 ` Juliusz Chroboczek
2011-02-08 21:54   ` Dave Täht
2011-02-10 18:39     ` Juliusz Chroboczek
2011-02-11 14:50     ` Dave Täht
2011-02-11 20:12       ` Stuart Cheshire

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

  List information: https://lists.bufferbloat.net/postorius/lists/bloat.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikVOn373ZnZm2j-m0rswEWaxkkHoTAXErGy5q6B@mail.gmail.com \
    --to=jneilm@gmail.com \
    --cc=bloat@lists.bufferbloat.net \
    --cc=d@taht.net \
    /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