General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: Jonathan Morton <chromatix99@gmail.com>
To: Hal Murray <hmurray@megapathdsl.net>
Cc: bloat@lists.bufferbloat.net
Subject: Re: [Bloat] Bufferbloat: GoGo blocking YouTube
Date: Tue, 6 Jan 2015 23:49:18 +0200	[thread overview]
Message-ID: <EADF820A-4F96-48B4-A444-29AE54D82C9D@gmail.com> (raw)
In-Reply-To: <20150106204528.8FAE240600C@ip-64-139-1-69.sjc.megapath.net>

> On 6 Jan, 2015, at 22:45, Hal Murray <hmurray@megapathdsl.net> wrote:
> 
> GoGo provides internet access on airplanes.  They want to block YouTube 
> (and similar) to avoid overloading their thin pipes.  They are doing that by 
> intercepting https connections and presenting bogus certificates.

…WTF?

Look - if you *want* to block YouTube, then you block YouTube.  People might get a little annoyed about that, but it’ll probably be limited to minor grumbling.  You *don’t* fiddle with traffic to it.  There is something *seriously* wrong if that’s the first or best solution that came to mind.

I agree with the conclusion of the article, though.  There’s a straightforward, network-neutral, technological solution which actually solves the original problem.  Shame almost nobody’s heard of it.

Incidentally, I finally got my test setup running properly.  It now has cake running on each of two Fast Ethernet interfaces in the Pentium-MMX, which are bridged.  It is able to comfortably pass 50Mbps through that before it runs out of CPU grunt - but that’s 50Mbps total.  It doesn’t matter whether it’s all one way, all the other way, or half each.  I then set it up to simulate a 24/3 Mbps ADSL, and it did that with about 50% CPU time in soft-interrupt mode.

I haven’t tried cake2 yet.

The limiting factor may well be context switching, or at least interrupt handling overhead.  That’s quite expensive on x86 and on a full OS like Linux; far more so than on, say, an ARM running in a dedicated embedded configuration.  (ARM has banks of registers which are switched in, replacing the originals, for interrupt handlers, so it doesn’t have to hurriedly save all those registers before it can do anything useful.)  Bridging, and running *both* the traffic endpoints on other machines, rather than keeping one endpoint on the Pentium-MMX, improves the throughput markedly.

 - Jonathan Morton


  reply	other threads:[~2015-01-06 21:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-06 20:45 Hal Murray
2015-01-06 21:49 ` Jonathan Morton [this message]
2015-01-06 23:53   ` Wes Felter

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=EADF820A-4F96-48B4-A444-29AE54D82C9D@gmail.com \
    --to=chromatix99@gmail.com \
    --cc=bloat@lists.bufferbloat.net \
    --cc=hmurray@megapathdsl.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