Re: [dnsext] Fwd: New Version Notification for draft-bellis-dnsext-multi-qtypes-01.txt

Nicholas Weaver <nweaver@icsi.berkeley.edu> Tue, 27 March 2012 11:58 UTC

Return-Path: <dnsext-bounces@ietf.org>
X-Original-To: namedroppers-archive-gleetwall6@lists.ietf.org
Delivered-To: ietfarch-namedroppers-archive-gleetwall6@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9DFC521F8870; Tue, 27 Mar 2012 04:58:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1332849527; bh=4qdL58MEMUrZK3CqZj+lgYiLhw0dZbxGRkUaYadfPng=; h=Mime-Version:From:In-Reply-To:Date:Message-Id:References:To: Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help: List-Subscribe:Content-Type:Content-Transfer-Encoding:Sender; b=D0/wO7BNxD2MvTexY/PKzkr+ky5To+OMDn6bBUDIcT/rIMbOYBvrjtNQDxcyqOqKc h4KLDVDitMh8D67N8sMbFxgBGI39xVThUmFaq8EWYNwP2hx+xFT8WzDHBAelynSV/S wx+Jz6PODnLlhC+J1mjAFFSaYutFGtvPnQFuEk34=
X-Original-To: dnsext@ietfa.amsl.com
Delivered-To: dnsext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0123821F89CA for <dnsext@ietfa.amsl.com>; Tue, 27 Mar 2012 04:58:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.519
X-Spam-Level:
X-Spam-Status: No, score=-1.519 tagged_above=-999 required=5 tests=[AWL=-0.779, BAYES_20=-0.74]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9194-78Zy1kF for <dnsext@ietfa.amsl.com>; Tue, 27 Mar 2012 04:58:41 -0700 (PDT)
Received: from rock.ICSI.Berkeley.EDU (rock.ICSI.Berkeley.EDU [192.150.186.19]) by ietfa.amsl.com (Postfix) with ESMTP id 0A3AA21F8870 for <dnsext@ietf.org>; Tue, 27 Mar 2012 04:58:41 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by rock.ICSI.Berkeley.EDU (Postfix) with ESMTP id C87882C404B; Tue, 27 Mar 2012 04:58:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ICSI.Berkeley.EDU
Received: from rock.ICSI.Berkeley.EDU ([127.0.0.1]) by localhost (maihub.ICSI.Berkeley.EDU [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZwOZHluB+EpA; Tue, 27 Mar 2012 04:58:40 -0700 (PDT)
Received: from [10.0.1.7] (c-76-103-162-14.hsd1.ca.comcast.net [76.103.162.14]) (Authenticated sender: nweaver) by rock.ICSI.Berkeley.EDU (Postfix) with ESMTP id 5B0972C4046; Tue, 27 Mar 2012 04:58:40 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1257)
From: Nicholas Weaver <nweaver@icsi.berkeley.edu>
In-Reply-To: <CAKW6Ri76oOasGLKEe6kD05D8rybz0cDZX8wyRiqWGStq-kvk6g@mail.gmail.com>
Date: Tue, 27 Mar 2012 04:58:38 -0700
Message-Id: <12F4D2BD-644B-435A-9C61-DB091B5548F4@icsi.berkeley.edu>
References: <20120327082614.22953.96097.idtracker@ietfa.amsl.com> <DD6C7261-806F-4F33-8CF3-D9A16FBD4B8C@nominet.org.uk> <CAKW6Ri76oOasGLKEe6kD05D8rybz0cDZX8wyRiqWGStq-kvk6g@mail.gmail.com>
To: DNSEXT Working Group <dnsext@ietf.org>
X-Mailer: Apple Mail (2.1257)
Subject: Re: [dnsext] Fwd: New Version Notification for draft-bellis-dnsext-multi-qtypes-01.txt
X-BeenThere: dnsext@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: DNS Extensions working group discussion list <dnsext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsext>, <mailto:dnsext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dnsext>
List-Post: <mailto:dnsext@ietf.org>
List-Help: <mailto:dnsext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsext>, <mailto:dnsext-request@ietf.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: dnsext-bounces@ietf.org
Errors-To: dnsext-bounces@ietf.org

I think this is a bad idea:  


There are two kinds of secondary resource records: ones that can be asked in parallel (e.g. A and AAAA records associated with the same name), and ones that are sequentialized (e.g. the A and AAAA records corresponding to MX entries).

As far as I can tell, this draft only addresses the former, not the latter, as for the latter the client doesn't know yet which question to ASK, so it can't construct a multiple question query.


And in the former case, the efficiency savings are actually negative:  It imposes a needless sequentialization on what was previously a parallel activity of asking both questions separately.  

If the server has one record in the cache but not the other, it will have to wait until it has the other record.  This slows "happy eyeballs" approaches where A and AAAA records are looked up simultaneously, and then the contacts also proceed in parallel.

So this approach can NEVER be faster for the server to compute, only equal time or slower, thus the only speedups can occur if this made communication substantially smaller.


But it doesn't.  You only save the packet framing one one question and one response per additional RTYPE queried, which is, in practice, roughly 200B of traffic when one includes ALL overhead (including interframe gaps, ethernet framing and minimum packet sizes).  On a slow 1 Mbps home connection, this still represents ONLY a 1.6 ms savings.


The only case where this would have more than a 10ms savings is on a <200 Kbps link, and such a link is so slow that nobody will care about the savings because everything else is so glacial, and such links are likely to not be querying for AAAA records anyway (the most common case)



Thus I think this proposal is a bad idea:  It adds a substantial amount of complexity for something that can substantially slow things down by removing parallelization, and even when everything works right, is only 1.6ms of savings on a 1 Mbps link (and .16ms savings on a 10 Mbps link).

_______________________________________________
dnsext mailing list
dnsext@ietf.org
https://www.ietf.org/mailman/listinfo/dnsext