Re: [Efficientnd-dt] ND related test results draft

Erik Nordmark <nordmark@sonic.net> Sat, 14 March 2015 07:05 UTC

Return-Path: <nordmark@sonic.net>
X-Original-To: efficientnd-dt@ietfa.amsl.com
Delivered-To: efficientnd-dt@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B3ECC1AC427 for <efficientnd-dt@ietfa.amsl.com>; Sat, 14 Mar 2015 00:05:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.009
X-Spam-Level:
X-Spam-Status: No, score=-2.009 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, J_CHICKENPOX_75=0.6, RCVD_IN_DNSWL_LOW=-0.7, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 HPdDRzJiTtqR for <efficientnd-dt@ietfa.amsl.com>; Sat, 14 Mar 2015 00:05:24 -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 AD55B1AC423 for <efficientnd-dt@ietf.org>; Sat, 14 Mar 2015 00:05:24 -0700 (PDT)
Received: from [172.22.241.170] ([162.210.130.3]) (authenticated bits=0) by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id t2E75Ef9024385 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 14 Mar 2015 00:05:15 -0700
Message-ID: <5503DDA9.8040508@sonic.net>
Date: Sat, 14 Mar 2015 00:05:13 -0700
From: Erik Nordmark <nordmark@sonic.net>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: Ankur Sood <asood2@ncsu.edu>, Samita Chakrabarti <samita.chakrabarti@ericsson.com>
References: <ECA43DA70480A3498E43C3471FB2E1F01C2E84C1@eusaamb103.ericsson.se> <5502036C.2000105@sonic.net> <ECA43DA70480A3498E43C3471FB2E1F01C2EAE8E@eusaamb103.ericsson.se> <CAEO2hq2MG7G6JxxFqus_7Taim2bNKsuxhKp2f=u1XMgpcb_rqQ@mail.gmail.com>
In-Reply-To: <CAEO2hq2MG7G6JxxFqus_7Taim2bNKsuxhKp2f=u1XMgpcb_rqQ@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------000005020301030106090307"
X-Sonic-CAuth: UmFuZG9tSVYYj6AdE7Rbu5+RUFZ71Q0m4WdTMGWXyLzpI7A4PSZVFGei878uNJyhf363woXcq5nWiVbikSuN0+QloFYi1OvK
X-Sonic-ID: C;cEPVdhjK5BGhe75YxQPdhw== M;0NDxdhjK5BGhe75YxQPdhw==
X-Sonic-Spam-Details: 0.0/5.0 by cerberusd
Archived-At: <http://mailarchive.ietf.org/arch/msg/efficientnd-dt/fdTTAGLl3JE2E5KWkvz8U18fGqI>
Cc: "Erik Nordmark (nordmark@acm.org)" <nordmark@acm.org>, "efficientnd-dt@ietf.org" <efficientnd-dt@ietf.org>
Subject: Re: [Efficientnd-dt] ND related test results draft
X-BeenThere: efficientnd-dt@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: 6man Efficient ND Design Team discussion list <efficientnd-dt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/efficientnd-dt>, <mailto:efficientnd-dt-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/efficientnd-dt/>
List-Post: <mailto:efficientnd-dt@ietf.org>
List-Help: <mailto:efficientnd-dt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/efficientnd-dt>, <mailto:efficientnd-dt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Mar 2015 07:05:27 -0000

On 3/13/15 7:53 PM, Ankur Sood wrote:
> Hello All,
>
> Please see the comments inline.
>
> On Thu, Mar 12, 2015 at 8:24 PM, Samita Chakrabarti 
> <samita.chakrabarti@ericsson.com 
> <mailto:samita.chakrabarti@ericsson.com>> wrote:
>
>     Hi Erik,
>
>     Please see in-line.
>
>     -----Original Message-----
>     From: Erik Nordmark [mailto:nordmark@sonic.net
>     <mailto:nordmark@sonic.net>]
>     Sent: Thursday, March 12, 2015 2:22 PM
>     To: Samita Chakrabarti; Erik Nordmark (nordmark@acm.org
>     <mailto:nordmark@acm.org>)
>     Cc: asood2@ncsu.edu <mailto:asood2@ncsu.edu>;
>     efficientnd-dt@ietf.org <mailto:efficientnd-dt@ietf.org>
>     Subject: Re: [Efficientnd-dt] ND related test results draft
>
>     On 3/9/15 4:18 PM, Samita Chakrabarti wrote:
>     >
>     > Hello Erik and all:
>     >
>     > A draft has been published by Ankur Sood (from North Carolina State
>     > University); Ankur had done some simple tests with ND routers(linux
>     > Ubuntu), a  non-intelligent Wifi access point which sends data back
>     > and forth towards and from the wireless hosts ( two wifi phone
>     devices
>     > and a laptop ).
>     >
>     > The purpose of this draft is to see how RA messages can increase
>     with
>     > the frequency of interval and the difference between min and MAX
>     > advinterval. Also how different sleeping host implementations behave
>     > differently  around ND and DAD.
>     >
>     The part about the different behavior of of the hosts is quite
>     informative. I think this is an area we should understand better
>     to see how the implementation choices affect the network behavior.
>
>     [SC>]  Most importantly the sleepy behavior of the two wireless
>     phones' implementations  and  anomaly in response to DAD messages.
>
>     Changing maxRa and not minRa seems less useful than changing one
>     and keeping the max:min ratio constant. One would expect that with
>     a constant ratio between them the RA rate would be proportional to
>     the timers. However, I can't easily check if that is the case from
>     the results due to the change in ratio. (And if there are
>     additional hosts one would expect to see RAs caused by sending RS
>     as they connect; many router implementations multicast those
>     solicited RAs.)
>     [SC>]   Yes, many implementation still multicast the solicited RA
>     - I think that might be the case for this Ubuntu implementation
>     too. Ankur-- do you remember?
>
> [AS] As far as I remember, all the RA's were multicast.
>
>
>     I didn't quite understand the last part about changing the lifetime.
>     That should not affect when RAs are transmitted (which the results
>     show).
>     [SC>]  The advlifetime column is  kind of lame here.  Originally
>     the plan was to observe the  node behavior  when RA interval is
>     increased to  >= Advlifetime.  But  that was not possible from the
>     configuration file [ did not allow]. So I believe Ankur tried
>     changing default-lifetime just for experiment's sake . The change
>     in number (increment) in RA is probably due to  increased time
>     duration.
>
>
> [AS] From this test case, I intend to show that as the difference 
> between [Max/Min]RtrAdvInterval increases, the number of RA messages 
> transmitted almost remains the same except for the initial case when 
> the difference between [Max/Min]RtrAdvInterval is very small.
>
> (1) Taking the default values,
>
> MinRtrAdvInterval = 3 sec.

That isn't the default value. RFC4861 says
Default: 0.33 * MaxRtrAdvInterval

Thus it would be 600 in this case.
> MaxRtrAdvInterval = 1800 sec,
> AdvDefaultLifetime = 3*MaxRtrAdvInterval = 5400 sec.
>
> So here the RA messages would be sent at any random interval between 
> 3sec. - 1800 sec. Now if we assume that the default router fails, the 
> hosts will still consider it as the default router for the next 5400 
> sec. until a new pefix is advertised.
>
> (2) Now if we take the below values,
>
> MinRtrAdvInterval = 3 sec.
> MaxRtrAdvInterval = 100 sec.
> AdvDefaultLifetime = 3*MaxRtrAdvInterval = 300 sec.
>
> So here, when the router fails, then the switchover to another router 
> would be faster.

When a router fails then NUD will detect it (assuming the host is 
sending something) in about 45 seconds and fail over to another default 
router.
And if failover is critical then it is normal to use VRRP to get the 
failover time down to a few seconds if not less.

Regards,
    Erik

>
> (3) Also in this test case, I observed that the number of RA messages 
> exchanged is almost the same except for 30/50 sec value. I observed 
> that the MaxRtrAdvInterval is not being considered while sending RAs, 
> otherwise the number of RA messages transmitted would have been 
> different. So MaxRtrInterval should be kept at a lower value so that 
> switchover, in the case of router failure, is faster.
>
>     Also one observation was made (not listed in the draft) that over
>     several hours of duration only 2/% - 3% battery was consumed when
>     the phone is left idle and periodic RA messages were sent. But the
>     accuracy of the experiment was not clear. Perhaps it is because
>     the phone sleeps and they don't listen to any of the multicast ND
>     messages.
>     Ankur might have details on that.
>
>
> [AS] I observed the battery drain to be around 2-3% when there were no 
> applications running on the phone. But it's not clear what other 
> processes consume the battery apart from the multicast ND messages
>
> Thanks & Best Regards,
> Ankur Sood
>
>
>
>
>
>     > Perhaps it could provide some data point for DAD issues as well.  I
>     > have CC'ed Ankur if anyone has any questions/suggestions for him.
>     >
>     > -Samita
>     >
>     > >Name: draft-sood-6man-nd-signalling-n-dad-test
>     > > Revision:       00
>     > > Title:          Test result analysis of IPv6 Neighbor
>     Discovery in a
>     > > simple Wireless network
>     > > Document date:  2015-03-09
>     > > Group:          Individual Submission
>     > > Pages:          14
>     > > URL:
>     > >
>     >
>     http://www.ietf.org/internet-drafts/draft-sood-6man-nd-signalling-n-da
>     > d-test-00.txt
>     > > Status:
>     > >
>     >
>     https://datatracker.ietf.org/doc/draft-sood-6man-nd-signalling-n-dad-t
>     > est/
>     > > Htmlized:
>     > >
>     http://tools.ietf.org/html/draft-sood-6man-nd-signalling-n-dad-test-
>     > > 00
>     > >
>     > >
>     > > Abstract:
>     > >    IPv6 WG is looking into various Neighbor Discovery (ND)
>     optimization
>     > >    techniques.  This document describes several test cases and
>     test
>     > >    results on IPv6 ND number of messages, power usages using
>     simple WiFi
>     > >    configuration and wireless phones as hosts.
>     >
>     >
>     >
>     > _______________________________________________
>     > Efficientnd-dt mailing list
>     > Efficientnd-dt@ietf.org <mailto:Efficientnd-dt@ietf.org>
>     > https://www.ietf.org/mailman/listinfo/efficientnd-dt
>
>