Re: Reducing the battery impact of ND

Erik Nordmark <nordmark@acm.org> Wed, 22 January 2014 21:44 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 410C81A04A1 for <ipv6@ietfa.amsl.com>; Wed, 22 Jan 2014 13:44:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level:
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, 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 uOXMg940o0ga for <ipv6@ietfa.amsl.com>; Wed, 22 Jan 2014 13:44:25 -0800 (PST)
Received: from d.mail.sonic.net (d.mail.sonic.net [64.142.111.50]) by ietfa.amsl.com (Postfix) with ESMTP id D46741A0494 for <ipv6@ietf.org>; Wed, 22 Jan 2014 13:44:25 -0800 (PST)
Received: from [10.0.1.44] (184-23-158-201.dsl.dynamic.sonic.net [184.23.158.201]) (authenticated bits=0) by d.mail.sonic.net (8.14.4/8.14.4) with ESMTP id s0MLiKb9013860 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT); Wed, 22 Jan 2014 13:44:20 -0800
Message-ID: <52E03BB4.8040309@acm.org>
Date: Wed, 22 Jan 2014 13:44:20 -0800
From: Erik Nordmark <nordmark@acm.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Lorenzo Colitti <lorenzo@google.com>, Erik Nordmark <nordmark@acm.org>
Subject: Re: Reducing the battery impact of ND
References: <CAKD1Yr29S=O5L4DfhNoiVieWPkgBJ2veuOu6ig5rwgK4ELz7Xw@mail.gmail.com> <52D96663.6060005@sonic.net> <CAKD1Yr3pCQ15uFz36MvKG3Q_Vzt27ws0aG1=94377FFaJtWV7g@mail.gmail.com> <52DA0ABA.8030903@acm.org> <CAKD1Yr1zSfAOv8j9XgB_ph9uaUUNW0yrJhfjJTsSTYHNKYNx9A@mail.gmail.com>
In-Reply-To: <CAKD1Yr1zSfAOv8j9XgB_ph9uaUUNW0yrJhfjJTsSTYHNKYNx9A@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Sonic-ID: C;CgjXWa6D4xG38MecJ1f4WQ== M;BnjyWa6D4xG38MecJ1f4WQ==
Cc: 6man Chairs <6man-chairs@tools.ietf.org>, 6man WG <ipv6@ietf.org>, Andrew 👽 Yourtchenko <ayourtch@gmail.com>
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: Wed, 22 Jan 2014 21:44:27 -0000

On 1/21/14 12:34 PM, Lorenzo Colitti wrote:

> To my mind, sending an RS when the RA lifetime is about to expire is a
> robustness fix, not an efficiency fix. In a world where IPv6 is optional
> and IPv4 is the main protocol, just having your IPv6 address expire is
> not necessarily a problem. But in a world where IPv6 is the main
> protocol, then hosts will probably want to try harder to keep their IPv6
> address around.

Lorenzo,

Whether you call it "efficiency" or "robustness" doesn't make much 
difference from a technical or a process perspective.

The approach you advocate is insufficient to ensure better robustness 
for at least two reasons:
  - the lifetime(s) of the prefixes are independent of the lifetimes of 
the default routers. Hence in this approach a host can have default 
routers but no prefixes.
  - the reachability state in the NCEs is independent of the default 
router list - per RFC 4861 the router stays in the default router list 
even if it is unreachable. Thus your last router might be unreachable 
but with remaining lifetime - it was the next-to-last router in the list 
that was reachable.

Solving those without risking hosts sending lots of RSs during failure 
events or resulting in a steady state of RSs from hosts seems tricky.

>     FWIW I don't have a problem with an opt-in update to 4861. I even
>     think efficient-nd is the way to go because it reduces overall ND
>     multicast traffic and not just your narrow focus on mobile phone
>     battery life.
>
>
> The tradeoff is that efficient ND adds more state to the network about
> host addresses and changes a pretty core part of the IPv6 specs. I think
> that if we can reduce the battery impact of multicast traffic, we will
> have fixed most of the problem without doing either of those, and to my
> mind, that's a much better tradeoff.

Changing from periodic RAs to (effectively) periodic RSs as you propose 
would change RFC 4861 is a very fundamental way.

It may or may not be the right thing to do for the future, but I think 
that requires a bit more work then forcing some edits into a document 
which has almost completed the WG process. I think resilient-rs has 
significant benefits in its current form and scope.

Regards,
    Erik