Re: [Roll] MRHOF ETX

"Reddy, Joseph" <> Fri, 08 June 2012 18:11 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id F1BB711E80AB for <>; Fri, 8 Jun 2012 11:11:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -10.099
X-Spam-Status: No, score=-10.099 tagged_above=-999 required=5 tests=[AWL=0.500, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id tUtpJ3UDX-g3 for <>; Fri, 8 Jun 2012 11:11:12 -0700 (PDT)
Received: from ( []) by (Postfix) with ESMTP id 5DB9111E8089 for <>; Fri, 8 Jun 2012 11:11:12 -0700 (PDT)
Received: from ([]) by (8.13.7/8.13.7) with ESMTP id q58IB4FQ030778; Fri, 8 Jun 2012 13:11:05 -0500
Received: from ( []) by (8.13.8/8.13.8) with ESMTP id q58IB4nA013241; Fri, 8 Jun 2012 13:11:04 -0500
Received: from ([fe80::843:a4aa:bf01:3f68]) by ([fe80::a0f1:125b:e7e3:7ed8%18]) with mapi id 14.01.0323.003; Fri, 8 Jun 2012 13:11:04 -0500
From: "Reddy, Joseph" <>
To: Philip Levis <>
Thread-Topic: [Roll] MRHOF ETX
Thread-Index: Ac1Fmg4SPQh/8rD8Q92yAuo1fIkMvwALQtKAAAmbfcA=
Date: Fri, 08 Jun 2012 18:11:04 +0000
Message-ID: <>
References: <> <>
In-Reply-To: <>
Accept-Language: en-US
Content-Language: en-US
x-originating-ip: []
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "" <>
Subject: Re: [Roll] MRHOF ETX
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Routing Over Low power and Lossy networks <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Fri, 08 Jun 2012 18:11:13 -0000


It doesn't seem right to me that the actual metric used varies based on setting of the MinHopRankIncrease parameter ( since that parameter is defined outside of MrHof draft and its setting may be based on other considerations ). The draft clearly states  ( in section 3.3 ): "... a node MUST advertise an approximation of its ETX in its advertised Rank value....". This sentence should be modified if the intention is to encode an ETX + Hopcount-penalty depending on MinHopRankIncrease setting. 

As an aside, is there a specific reason to use 128 as the factor for multiplying ETX? Since the default value of MinHopRankIncrease is 256 in the RPL spec, using ETX*256 as the encoding would allow the default usage to be ETX without a hopcount penalty ( which is likely to be common usage ).


-----Original Message-----
From: Philip Levis [] 
Sent: Friday, June 08, 2012 10:36 AM
To: Reddy, Joseph
Subject: Re: [Roll] MRHOF ETX

On Jun 8, 2012, at 10:24 AM, Reddy, Joseph wrote:

> The advertised Rank of the parent is a 16-bit value that has integer and fractional parts. The MinHopRankIncrease parameter determines the length of the Integer/Fraction parts. 

I think you're misreading MRHOF, and misinterpreting MinHopRankIncrease. The MRHOF draft tries to be very explicit about this. MRHOF with ETX encodes the ETX in Rank, but MinHopRankIncrease can change the computation. If MinHopRankIncrease is greater than 128, then Rank no longer really encodes a fixed-point version of ETX, it encodes ETX plus a per-hop penalty.

> Now when the draft says to add the Rank and link ETX parameters, clearly this cannot be a simple addition of the Rank with either ETX or (ETX*128). Instead, the ETX value must be converted to the same Integer/Fraction representation as the Rank ( i.e., using MinHopRankIncrease )

Disagree -- the draft is pretty explicit on what you do, and it's not this.