General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: Jonathan Morton <chromatix99@gmail.com>
To: Fred Baker <fred@cisco.com>
Cc: bloat@lists.bufferbloat.net
Subject: Re: [Bloat] Random idea in reaction to all the discussion of TCP flavours - timestamps?
Date: Wed, 16 Mar 2011 08:26:39 +0200	[thread overview]
Message-ID: <B8766E32-5AC2-410D-AA7F-0FF99DBE7CDF@gmail.com> (raw)
In-Reply-To: <2927A265-BB9F-4466-BA03-1522AFF989C3@cisco.com>


On 16 Mar, 2011, at 7:41 am, Fred Baker wrote:

> The question isn't "what is the magic mean queue depth for min-threshold to be set to"; it's "what mark/drop rate is sufficient to keep the queue somewhat shallow most of the time".

And that's what BLUE (and SFB) tries to do.  If the queue grows beyond some limit, it increments the marking rate.  If it becomes empty, it decrements it.  The result is an I-type control loop which has a reasonable chance of finding a steady state, if there is one.  SFB does it on a per-flow basis.

I also thought of an analogy just now, as I was playing with my train simulator - many people like car analogies, I prefer railway ones.  A router is like a bunch of railways meeting at a grand-union flying junction (typically implemented as a cloverleaf in the real world).  The more expensive kinds are built with wider curves that let trains go fast even in the junction.

You can have lightweight, fast passenger trains, running loaded in both directions, and these are your VoIP traffic.  Among them you might have heavy, slow freight trains, which just happen to weigh about 1500 tons each, but which run empty from the power station back to the mines.  You don't want to be on a passenger train stuck behind a freight, so railways build extra tracks, either at intervals or continuously, to keep freight trains in and allow passenger trains past.

But a railway can only carry one train on each track at a time, and tracks are expensive.  So sometimes a train still has to wait for another one.  They can simply wait one behind the other at signals, or the railways might decide to put a marshalling yard in at the junction, so that many trains can be stored and rearranged for efficient prioritisation.

Meanwhile, a wireless network is more like a bunch of railways which meet at the cheapest, skinniest single-track junction the builders could devise - only one train at a time can use it, and sometimes they even fall off the rails and have to be crowbarred back on.  It's a bit of a mess, but the junction is up in the mountains so it's very difficult to improve it.

The problem is that the railway company doesn't like to admit that the trains are slow and unreliable at this junction, so it employs lots of men with crowbars, and tries to avoid the subject when trains arrive several hours late.  Yet people *do* notice, especially during the holiday season when *everyone* is travelling and the freight trains are chock-full of parcels - and the snow is just starting to fall in earnest, which freezes the points.

 - Jonathan


  reply	other threads:[~2011-03-16  6:26 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-15 10:36 Jim Gettys
2011-03-15 14:40 ` Jim Gettys
2011-03-15 16:47   ` Jonathan Morton
2011-03-15 17:59     ` Don Marti
2011-03-15 18:14       ` Rick Jones
2011-03-15 18:31         ` John W. Linville
2011-03-15 19:40           ` Jonathan Morton
2011-03-15 19:59             ` Rick Jones
2011-03-15 20:51             ` John W. Linville
2011-03-15 21:31               ` Rick Jones
2011-03-16  0:32                 ` John W. Linville
2011-03-16  1:02                   ` Rick Jones
2011-03-15 22:01               ` Jonathan Morton
2011-03-15 22:19                 ` Stephen Hemminger
2011-03-15 22:26                   ` Jonathan Morton
2011-03-15 22:36                     ` Rick Jones
2011-03-15 22:40                       ` Jonathan Morton
2011-03-15 22:42                         ` Stephen Hemminger
2011-03-15 22:52                       ` Eric Dumazet
2011-03-15 23:02                         ` Rick Jones
2011-03-15 23:12                         ` Jonathan Morton
2011-03-15 23:25                           ` Rick Jones
2011-03-15 23:33                             ` Jonathan Morton
2011-03-15 23:46                         ` Dave Täht
2011-03-16  0:49                           ` Jonathan Morton
2011-03-16  1:02                             ` Dave Täht
2011-03-16  1:28                               ` Jonathan Morton
2011-03-16  1:59                                 ` Dave Täht
2011-03-16  2:23                                   ` Jonathan Morton
2011-03-16 22:22                                     ` [Bloat] Random idea in reaction to all the discussion of TCPflavours " Richard Scheffenegger
2011-03-16 23:38                                       ` richard
2011-03-16 23:50                                         ` Rick Jones
2011-03-17 12:05                                       ` Fred Baker
2011-03-17 12:18                                         ` Fred Baker
2011-03-17 17:27                                           ` Dave Täht
2011-03-18 18:30                                           ` Richard Scheffenegger
2011-03-18 18:49                                             ` Fred Baker
2011-03-20 11:40                                               ` Jonathan Morton
2011-03-20 22:18                                                 ` david
2011-03-20 22:45                                                   ` Jonathan Morton
2011-03-20 22:50                                                     ` Dave Täht
2011-03-20 22:55                                                       ` grenville armitage
2011-03-20 23:04                                                         ` Dave Täht
2011-03-20 23:14                                                           ` Jonathan Morton
2011-03-20 23:19                                                             ` Dave Täht
2011-03-20 23:23                                                               ` Dave Täht
2011-03-20 22:58                                                       ` Jonathan Morton
2011-03-21  1:28                                                     ` david
2011-03-21  1:56                                                       ` Wesley Eddy
2011-03-18 18:27                                       ` [Bloat] Random idea in reaction to all the discussion ofTCPflavours " Richard Scheffenegger
2011-03-16 22:07                           ` [Bloat] Random idea in reaction to all the discussion of TCPflavours " Richard Scheffenegger
2011-03-17  0:10                             ` Jonathan Morton
2011-03-16  0:47                 ` [Bloat] Random idea in reaction to all the discussion of TCP flavours " John W. Linville
2011-03-16 20:07                   ` Jim Gettys
2011-03-17  2:26                     ` Jonathan Morton
2011-03-17 18:22                       ` Rick Jones
2011-03-17 21:50                         ` Jonathan Morton
2011-03-17 22:20                           ` Rick Jones
2011-03-17 22:56                             ` Jonathan Morton
2011-03-18  1:36                               ` Justin McCann
2011-03-18  5:51                             ` Eric Dumazet
2011-03-15 16:34 ` Jonathan Morton
2011-03-15 18:13   ` Stephen Hemminger
2011-03-16  5:41 ` Fred Baker
2011-03-16  6:26   ` Jonathan Morton [this message]
2011-03-16  8:55 ` [Bloat] Random idea in reaction to all the discussion of TCPflavours " Richard Scheffenegger
2011-03-16  9:04 ` [Bloat] Random idea in reaction to all the discussion of TCP flavours " BeckW
2011-03-16 22:48   ` Fred Baker
2011-03-16 23:23     ` Jonathan Morton
2011-03-17  8:34     ` BeckW

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=B8766E32-5AC2-410D-AA7F-0FF99DBE7CDF@gmail.com \
    --to=chromatix99@gmail.com \
    --cc=bloat@lists.bufferbloat.net \
    --cc=fred@cisco.com \
    /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