Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Dave Taht <dave.taht@gmail.com>
To: Greg White <g.white@cablelabs.com>
Cc: "William Chan (陈智昌)" <willchan@chromium.org>,
	"aqm@ietf.org" <aqm@ietf.org>,
	"cerowrt-devel@lists.bufferbloat.net"
	<cerowrt-devel@lists.bufferbloat.net>,
	bloat <bloat@lists.bufferbloat.net>
Subject: Re: [Cerowrt-devel] [aqm] chrome web page benchmarker fixed
Date: Fri, 18 Apr 2014 12:40:52 -0700	[thread overview]
Message-ID: <CAA93jw4aWL6CcV-iLgAKmxwA9jaOBDxwwkMMLtCLpKdu6Rz-Rw@mail.gmail.com> (raw)
In-Reply-To: <CAA93jw4mcsipgAoMvaTOu4a6DZ2DKQvBBAdrm48wZg3a6S0wqA@mail.gmail.com>

> The specific thing I've been concerned about was not the probability of
> a dns loss, although as you note the consequences are huge -
> but the frequency and cost of a cache miss and the resulting fill.
>
> This is a very simple namebench test against the alexa top 1000:
>
> http://snapon.lab.bufferbloat.net/~d/namebench/namebench_2014-03-20_1255.html
>
> This is a more comprehensive one taken against my own recent web history file.
>
> http://snapon.lab.bufferbloat.net/~d/namebench/namebench_2014-03-24_1541.html
>
> Both of these were taken against the default SQM system in cerowrt
> against a cable modem, so you can
> pretty safely assume the ~20ms (middle) knee in the curve is basically
> based on physical
> RTT to the nearest upstream DNS server.
>
> And it's a benchmark so I don't generally believe in the relative hit
> ratios vs a vs "normal traffic", but do think the baseline RTT, and
> the knees in the curves in the cost of a miss and file are relevant.

To be utterly clear here, the ~20ms knee in this data is a variable dependent
on the RTT to the nearest upstream DNS server. Most - nearly all -
ISPs - have a hefty dns server in their co-location facility, but the
baseline physical RTT is dependent on the actual technology in use.

The actual RTT of an query is dependent on the outstanding queue
length in a single queue AQM, unless otherwise prioritized. If prioritized
(cerowrt's 3 band system does this for queries coming from the router)
I imagine the packet loss rate drops hugely, also.

To give an extreme example of the DNS rtt problem, dns lookups over
satellite links take
800+ms, and this is one reason why web proxy servers are so common
in such environments as the whole query is shipped to a local-to-the-internet
proxy server so as to avoid this rtt cost. This technique is of increasingly
limited value in an age of e2e encryption.

Also: recently we've seen increasing use of non-local or otherwise redirected
dns servers such as here

http://www.cnet.com/news/google-confirms-turkey-is-blocking-its-dns-service/

It would be a good research project for someone to catagorize typical
nearest-upstream DNS RTTs, the availability of local-to-site dns
servers, hit/miss ratios
in homes and small business, the cost of dnssec, etc.


-- 
Dave Täht

NSFW: https://w2.eff.org/Censorship/Internet_censorship_bills/russell_0296_indecent.article

  reply	other threads:[~2014-04-18 19:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-17 17:49 [Cerowrt-devel] " Dave Taht
2014-04-17 19:01 ` [Cerowrt-devel] [aqm] " William Chan (陈智昌)
2014-04-17 21:07   ` Dave Taht
2014-04-17 22:29     ` William Chan (陈智昌)
2014-04-18 18:15     ` Greg White
2014-04-18 18:48       ` dpreed
2014-04-18 19:27         ` Greg White
2014-04-18 19:05       ` Dave Taht
2014-04-18 19:40         ` Dave Taht [this message]
2014-04-18 20:41         ` Greg White
2014-04-19 19:29           ` Dave Taht
2014-04-30 14:09             ` Dave Taht

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/cerowrt-devel.lists.bufferbloat.net/

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

  git send-email \
    --in-reply-to=CAA93jw4aWL6CcV-iLgAKmxwA9jaOBDxwwkMMLtCLpKdu6Rz-Rw@mail.gmail.com \
    --to=dave.taht@gmail.com \
    --cc=aqm@ietf.org \
    --cc=bloat@lists.bufferbloat.net \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=g.white@cablelabs.com \
    --cc=willchan@chromium.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox