Re: 6MAN WG Adoption Call: draft-nordmark-6man-rs-refresh-01

Erik Nordmark <nordmark@acm.org> Tue, 28 April 2015 15:23 UTC

Return-Path: <nordmark@acm.org>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ADFD51A87A8 for <ipv6@ietfa.amsl.com>; Tue, 28 Apr 2015 08:23:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.335
X-Spam-Level:
X-Spam-Status: No, score=-1.335 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_36=0.6, RCVD_IN_DNSWL_LOW=-0.7, SPF_SOFTFAIL=0.665] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qCUKpNauCrUI for <ipv6@ietfa.amsl.com>; Tue, 28 Apr 2015 08:23:32 -0700 (PDT)
Received: from d.mail.sonic.net (d.mail.sonic.net [64.142.111.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 998971A8794 for <ipv6@ietf.org>; Tue, 28 Apr 2015 08:23:30 -0700 (PDT)
Received: from [10.0.0.162] (74-61-144-53.sfo.clearwire-wmx.net [74.61.144.53] (may be forged)) (authenticated bits=0) by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id t3SFNMwu013319 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 28 Apr 2015 08:23:24 -0700
Message-ID: <553FA5EB.1050208@acm.org>
Date: Tue, 28 Apr 2015 08:23:23 -0700
From: Erik Nordmark <nordmark@acm.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: Erik Kline <ek@google.com>, Erik Nordmark <nordmark@acm.org>
Subject: Re: 6MAN WG Adoption Call: draft-nordmark-6man-rs-refresh-01
References: <16407124-2B19-4B8F-AEAC-F04D3C7E5C3A@gmail.com> <CAKD1Yr3o7pTOeGsRy7wcWpmEcLRcf+Yvis587Msj9qb0PGEeVg@mail.gmail.com> <5531440E.5060102@sonic.net> <CAKD1Yr3bdARtNdigrAfT3ku5cpihP_Tn6ox4VKLvULU8sSrG8A@mail.gmail.com> <55353A60.1030701@acm.org> <CAKD1Yr19w1Uy=3VSpNua3qJ-bb1yz_zCW4L8k0FV9YJAgvOtXw@mail.gmail.com> <55368297.6080006@acm.org> <CAKD1Yr1oy4TkKvFfF05V6KsyE2xsEACNqtuhLqnbgunW2hbcdA@mail.gmail.com> <55397677.2040107@acm.org> <CAAedzxrdwzPgvQYmxNJ9EMNc1QjM7eOx90oBprydvAMiHh3iJA@mail.gmail.com>
In-Reply-To: <CAAedzxrdwzPgvQYmxNJ9EMNc1QjM7eOx90oBprydvAMiHh3iJA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Sonic-CAuth: UmFuZG9tSVaE9WYG0g5qB5xkR9cFgsVUOVCAaS/KRejn0TggDc4olD2RXNVKt+nAIDtWL+MZ5gBKugErWeJ0uQs3yehC3SJg
X-Sonic-ID: C;AqEPgrrt5BGPGoY+Bvepxg== M;+GmRgrrt5BGPGoY+Bvepxg==
X-Sonic-Spam-Details: 0.0/5.0 by cerberusd
Archived-At: <http://mailarchive.ietf.org/arch/msg/ipv6/lgM9iax4HHZTB5GKFBmZlU_BMjw>
Cc: 6man Chairs <6man-chairs@tools.ietf.org>, Bob Hinden <bob.hinden@gmail.com>, IPv6 List <ipv6@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Apr 2015 15:23:33 -0000

On 4/27/15 8:27 AM, Erik Kline wrote:
> A question comes to mind: what might the operational guidance be for
> setting the refresh timer value in the RA?
>
> Observation: it almost certainly shouldn't be /longer/ than the router
> lifetime, even if the prefix lifetimes are infinite.
>
> Reasonable stab in the dark: refresh timer value in the RA should be
> in the neighborhood of some fraction (1/2, 2/3) * min(router lifetime,
> prefix lifetimes...).
>
> If that turns out to be the case, then the host can compute this timer
> value for itself, sleep on its own schedule, and wake up whenever it
> wants and send a unicast RS.  At that point this isn't a protocol
> change but rather an operational document.  [1]
>
> At the very least, this is a simple enough experiment to perform for
> people writing the code on the affected devices (doesn't require
> router vendor code changes).  Has anybody done this and measured the
> outcome?
Erik,
the above wouldn't work because a RFC 4861 compliant router can delay 
sending the solicited RA (and multicast it) hence the host would have to 
wait for seconds with (at least) the radio powered on when it otherwise 
would have gone back to sleep after a few milliseconds.

That RA delay is why rs-refresh says that routers which implement the 
specification should unicast the solicited RAs immediately. Furthermore, 
the RTO option indicates to the hosts that the routers are in fact 
implementing rs-refresh which includes the immediate RA response.

That should all be covered in the document; I don't know if you've read 
it and understood it. I'd welcome suggestions for how to make this more 
clear if it turns out that it is not.

As an aside, you seem to think that a protocol specification is merely 
about packet formats. However, protocol specifications include 
behaviors, protocol constants, default values, statements about what is 
mandatory to implement etc.
The behaviors might be things that are conditionally mandatory or 
recommended i.e., of the form "if you implement option foo, then you 
SHOULD use binary exponential backoff for the retransmit timer."

Do you have any technical issues for the WG not pursuing this work?
Any non-technical reasons why not?
Please provide sufficient detail so that the WG can properly evaluate 
your concerns.

Thanks,
    Erik


>
> -Erik the Lesser
>
>
> [1]  Note that the node MUST to be ready to basically re-attach from
> scratch in the event that the router has gone (I swapped my IoT device
> access point for a new model, and it got a new prefix too, while
> everyone listening was asleep, for example).  So guessing a wrong
> timer value must be non-fatal for the node.  At worst it won't be
> "optimal" but i'm curious to know what the impact of deviation from
> "optimal" would really be in these networks, given that nodes are all
> going to go for the longest possible timer value.
>