Re: [manet] Some comments on draft-funkfeuer-manet-olsrv2-etx-01

Georg Wittenburg <georg.wittenburg@inria.fr> Fri, 13 May 2011 14:23 UTC

Return-Path: <georg.wittenburg@inria.fr>
X-Original-To: manet@ietfa.amsl.com
Delivered-To: manet@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C8512E0675 for <manet@ietfa.amsl.com>; Fri, 13 May 2011 07:23:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level:
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_FR=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RudSNEDkZrW1 for <manet@ietfa.amsl.com>; Fri, 13 May 2011 07:23:24 -0700 (PDT)
Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by ietfa.amsl.com (Postfix) with ESMTP id B14B4E065A for <manet@ietf.org>; Fri, 13 May 2011 07:23:23 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.64,364,1301868000"; d="scan'208";a="98984554"
Received: from 212-198-208-196.rev.numericable.fr (HELO vaio.localnet) ([212.198.208.196]) by mail4-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 13 May 2011 16:23:21 +0200
From: Georg Wittenburg <georg.wittenburg@inria.fr>
Organization: INRIA
To: Henning Rogge <henning.rogge@fkie.fraunhofer.de>
Date: Fri, 13 May 2011 16:23:19 +0200
User-Agent: KMail/1.13.6 (Linux/2.6.38-8-generic; KDE/4.6.2; i686; ; )
References: <201105111610.58611.georg.wittenburg@inria.fr> <235011815.1087321.1305180451563.JavaMail.root@zmbs2.inria.fr>
In-Reply-To: <235011815.1087321.1305180451563.JavaMail.root@zmbs2.inria.fr>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Message-Id: <201105131623.20102.georg.wittenburg@inria.fr>
Cc: manet@ietf.org
Subject: Re: [manet] Some comments on draft-funkfeuer-manet-olsrv2-etx-01
X-BeenThere: manet@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Mobile Ad-hoc Networks <manet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/manet>, <mailto:manet-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/manet>
List-Post: <mailto:manet@ietf.org>
List-Help: <mailto:manet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/manet>, <mailto:manet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 May 2011 14:23:24 -0000

Dear Henning, all,

On Thursday 12 May 2011 08:07:31 Henning Rogge wrote:
> On Wed May 11 2011 16:10:58 Georg Wittenburg wrote:
> [...]
> > - Size of HELLO messages: Sec. 8.1 states that HELLO messages should be
> > generated as specified in draft-ietf-manet-olsrv2 which in turn refers to
> > RFC 6130. In the absence of other traffic, the delivery ratios of these
> > HELLO messages will be the only input to the ETX metric.
> 
> That is not right... there will be more TC messages in the network
> (especially in larger networks) than Hellos, so they will contribute to
> the size of the packets too.

OK. But the point below still remains, doesn't it?


> > The problem is
> > that packet delivery ratios differ depending on the size of the
> > transmitted packet. If small packets are used to estimate link quality,
> > this estimate will be flawed if the link is used for large packets later
> > on, i.e, packets that make full use of the MTU. A workaround would be to
> > require that if HELLO packets are to be used for link quality estimation
> > then they must be padded to correspond in size to the average data
> > packet, or MTU.
> 
> The funkfeuer metric drafts suggests to use all RFC 5444 packets for link
> loss estimation, not only a certain message type. Your suggestion would
> make it necessary to pad all RFC5444 packets to the maximum MTU, which
> might be a considerable overhead.

I agree. However, it still remains true that link loss estimation that relies 
excessively on small packets will lead to suboptimal results. I'm aware that 
the original ETX paper doesn't cover this, but it doesn't mean that it 
shouldn't be addressed in this draft.

How about, for example, only incrementing the respective counters for packets 
whose size is above a certain threshold, say MTU / 2 (or even MTU / 4)?


> [...]
> > Regarding possible additions:
> > 
> > - Convergence time: Has it been considered to add weights to the list of
> > measured loss ratios in order to optimize the convergence time after
> > major changes to a link?
> 
> Yes, but this metric has been mostly used in non-moving mesh networks where
> weights would only add computational overhead.
> 
> It might be a tuning parameter for moving networks, but I am not able to
> guess a good value for the weight distribution.

Neither am I. :) In this case, I just suggest that the wording in this draft 
is chosen in such a way, that amendments regarding highly volatile or moving 
networks can be made easily later on through a second complementary draft.


> > - Useless links: Has it been considered to have an upper bound on the ETX
> > value above which links are considered as being too bad to be useful?
> 
> We do this in the Freifunk/Funkfeuer meshs, but in NHDP/OLSRv2 this would
> be the job of the link hysteresis (which easily could be implemented based
> on the link cost value).

But since the link cost value depends on the metric used, it would be up to 
this draft to suggest values for this, wouldn't it?


> > - Modulation issues: How does this metric deal with packets that are send
> > at different transmission rates using different encodings? For instance,
> > if a link is measured using broadcast packets, then the metric may well
> > be flawed for high-speed streams of unicast packets.
> 
> ETX metrics do not consider link speed, so our metric would not encode this
> difference into the link cost.

Yes, link speed, just as packet size, is not covered by the original ETX 
proposal. I'm aware that properly considering link speed greatly increases the 
complexity of the problem. The best workaround that I see is to be relatively 
conservative in what is considered a useful link (see above).


Best,

	Georg

-- 
Dr. Georg Wittenburg
Postdoctoral Researcher
INRIA / École Polytechnique, HIPERCOM Team
Laboratoire d'Informatique de l'École Polytechnique (LIX)
Route de Saclay, 91128 Palaiseau (CEDEX)
Phone: +33-(0)1-69334126, Fax: +33-(0)1-69334044
http://www.lix.polytechnique.fr/~wittenburg/