Re: [manet] DLEP and latency metric

John Dowdell <john.dowdell.ietf@gmail.com> Wed, 04 May 2016 13:09 UTC

Return-Path: <john.dowdell.ietf@gmail.com>
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 5DEFD12D66E for <manet@ietfa.amsl.com>; Wed, 4 May 2016 06:09:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 DdSyW_X7CSYi for <manet@ietfa.amsl.com>; Wed, 4 May 2016 06:09:04 -0700 (PDT)
Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0AD8612D1CC for <manet@ietf.org>; Wed, 4 May 2016 06:09:04 -0700 (PDT)
Received: by mail-wm0-x236.google.com with SMTP id n129so188116053wmn.1 for <manet@ietf.org>; Wed, 04 May 2016 06:09:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to; bh=ysO+ebVVG/lV5ONrgzB2t3+ZdL28Ejk4PEa9bV5krU4=; b=jX1n0H45pTzFYcwV/lfH0+hfkYc9L9BCH24TH4UeMaZg9RfcBPJHGH3j0+OMiv/fZV go5obx0QTjwxXVl6wCuDcxzR4MJVOpzo+Jw9Y+334NM8znKKPQ84Nc1Nc0gjJ7R+mKcm Y47hGuSO3nvAtgOLTodk9YLtCV3qHBio0nmlmVmVRa7bE2ba4a09yuXdQjz4Y9V0A3uI rFXwshHpfEeiJ0tkYVga+ulpU0pT/zoJk4THfdxTzxsvWqECXT79DE8VkjPOv7gNFA2B MPjOAO3w7cdF3zhZ24oXftQIM5g7D/3rzTGI7tGgQ4GxE1whfeBdvLhLli8Uc0QF6/hy yAJQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=ysO+ebVVG/lV5ONrgzB2t3+ZdL28Ejk4PEa9bV5krU4=; b=FS26xcP7hGHQTSeIbyV2a6wCF8IFp8aw0h0MCTa+yg8AdkiOqkn3yk4IV0PzqbYCFA orZzazLvSx3OC3bQOUNPhBFurvfktOTBWTucWC5ttVoqkvsSRlWygvn6Ay/lgvkyRc8B Y387YfxhV31Q4OVWt0JjvunkvBwD/eK2Y4jFzKyBuB8WpaAVooO2dSqDQhSCl/hYUJOq EjTUmSpkoyhL0kz4LUvMK2w90iLJlJNubHBQTjnbZ65HUcmDlW9SerthP8RELQlep3bm D+JMHkMeHrxZd1CQJQH3iv2YvLR27RLzpiP8WZRJ92Jvhgyfb7kebZQynfML3gVCjEnV G2Lw==
X-Gm-Message-State: AOPr4FUxS+KrF8sgNW0bNOy9kbTSkUOpmbAxl1t87PQobkZFcnxUqnqMxkdBa2HnxFXqeA==
X-Received: by 10.28.195.7 with SMTP id t7mr29639701wmf.96.1462367342562; Wed, 04 May 2016 06:09:02 -0700 (PDT)
Received: from johns-mbp-4.home (host86-155-246-227.range86-155.btcentralplus.com. [86.155.246.227]) by smtp.gmail.com with ESMTPSA id ug8sm4139020wjc.42.2016.05.04.06.09.00 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 May 2016 06:09:01 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail=_4036BBD4-57D4-42A5-9D6A-7F3F8F491001"
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: John Dowdell <john.dowdell.ietf@gmail.com>
In-Reply-To: <B31EEDDDB8ED7E4A93FDF12A4EECD30D923B2E92@GLKXM0002V.GREENLNK.net>
Date: Wed, 04 May 2016 14:08:59 +0100
Message-Id: <D12120B6-A852-4C74-AA8E-386CFD8220AD@gmail.com>
References: <1E296417-D0F3-4E02-8323-F778A9203078@gmail.com> <CALtoyomaAa=w4wB_Xv25nq-bhGskx9i2XMKMSpr6eQxn9Cz3kg@mail.gmail.com> <2DC54CCE-46BE-48D0-9497-52D31DCB5B40@inf-net.nl> <8E293203-E383-4E27-A3B2-511142EE3FD4@gmail.com> <B31EEDDDB8ED7E4A93FDF12A4EECD30D923B2E92@GLKXM0002V.GREENLNK.net>
To: "Dearlove, Christopher (UK)" <chris.dearlove@baesystems.com>
X-Mailer: Apple Mail (2.3124)
Archived-At: <http://mailarchive.ietf.org/arch/msg/manet/3djNfe3uVg497qDq1bzx7UpffiE>
Cc: MANET IETF <manet@ietf.org>
Subject: Re: [manet] DLEP and latency metric
X-BeenThere: manet@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 04 May 2016 13:09:08 -0000

> On 4 May 2016, at 13:38, Dearlove, Christopher (UK) <chris.dearlove@baesystems.com> wrote:
> 
> Was the suggestion to include an empty queuing delay, i.e. it included everything, but in the case where the queue was empty?

Yes that is my proposal, or actually my seconding of Stan’s proposal, assuming I understood Stan correctly.

Regards
John

> That sounds like a sensible approach, assuming it’s reasonably stable.
>  
> --
> 
> Christopher Dearlove
> Senior Principal Engineer
> BAE Systems Applied Intelligence Laboratories
> __________________________________________________________________________
> 
> T:  +44 (0)1245 242194  |  E: chris.dearlove@baesystems.com <mailto:chris.dearlove@baesystems.com>
> 
> BAE Systems Applied Intelligence, Chelmsford Technology Park, Great Baddow, Chelmsford, Essex CM2 8HN.
> www.baesystems.com/ai <http://www.baesystems.com/ai>
> BAE Systems Applied Intelligence Limited
> Registered in England & Wales No: 01337451
> Registered Office: Surrey Research Park, Guildford, Surrey, GU2 7YP
> 
>  
> From: manet [mailto:manet-bounces@ietf.org <mailto:manet-bounces@ietf.org>] On Behalf Of John Dowdell
> Sent: 04 May 2016 12:43
> To: MANET IETF
> Subject: Re: [manet] DLEP and latency metric
>  
>  
> *** WARNING ***
> This message originates from outside our organisation, either from an external partner or the internet.
> Consider carefully whether you should click on any links, open any attachments or reply.
> For information regarding Red Flags that you can look out for in emails you receive, click here <http://intranet.ent.baesystems.com/howwework/security/spotlights/Documents/Red%20Flags.pdf>.
> If you feel the email is suspicious, please follow this process <http://intranet.ent.baesystems.com/howwework/security/spotlights/Documents/Dealing%20With%20Suspicious%20Emails.pdf>.
> 
> *** WARNING ***
> EXTERNAL EMAIL -- This message originates from outside our organization.
>  
> I know we’re all a bit tied up with various last calls but can I ask for adjudication on this point? The current draft is ambiguous as to whether the latency metric includes the current queuing delay, taking account of how full or not the queue is at the sampling instant, or a notional “no traffic" delay (in the same manner as for the bandwidth metric), and there are polarised views for and against.
>  
> Just that I’m keen to get this one clarified one way or the other.
>  
> Following Stan’s proposal below, can I propose that the Latency Metric is measured in absence of traffic, and that an extension metric for Link Utilisation (which could provide metrics plural) is written up?
>  
> Regards
> John
>  
> On 27 Apr 2016, at 07:43, Teco Boot <teco@inf-net.nl <mailto:teco@inf-net.nl>> wrote:
>  
> 
> Op 27 apr. 2016, om 01:16 heeft Stan Ratliff <ratliffstan@gmail.com <mailto:ratliffstan@gmail.com>> het volgende geschreven:
> 
> John,
> 
> Speaking as a co-author and a DLEP implementer,
> 
> On Tue, Apr 26, 2016 at 6:06 PM, John Dowdell <john.dowdell.ietf@gmail.com <mailto:john.dowdell.ietf@gmail.com>> wrote:
> Hi all
> 
> A question has arisen as to whether the Latency metric should include queueing delay in the modem.
> 
> It has long been held that the bandwidth metric is measured in the absence of traffic (though the metric descriptions in 10.14 and 10.15 of Current Data Rate are ambiguous on this point), yet section 10.16 of -22 states ...
> 
> Yes, that's the way my implementation went. I don't see a use case for a bandwidth metric that attempts to take traffic into account, and it seems to me like such a metric could (would) fluctuate wildly. From my experience, the "interesting statistic" was always "how fast is the pipe?" Trying to factor traffic into account can have really weird side-effects - for instance, I remember a radio implementation that reported a "Current Data Rate" of 0 on an idle link (because, after all, no traffic was flowing)... that drove the router nuts, since it saw a "broken" (or nearly broken) link.
> 
> 
> 
> " Latency: A 64-bit unsigned integer, representing the transmission delay, in microseconds, that a packet encounters as it is transmitted over the link.”
> 
> … which suggests that queuing delay should be included.
> 
> Much as in the case above, I can't see a use case for a "Latency" metric *without* queueing delay.
> 
> I don't get this. Above, you suggest traffic is not taken into account. Here, you suggest queuing delay (caused by traffic?) is taken into account.
> 
> I suggest packet handling delay for a single packet on an idle medium is taken into account. Delay caused by filled up queues is not. Queue depth would be another metric. Which would fluctuate wildly^^2. And could be a complex composite metric when *FQ is used. See RFC 7567 / BCP 197 on what packet forwarding devices SHOULD do.
> 
> Teco
> 
> 
> 
> 
> 
> There are positive and negative connotations; a modem queue that suddenly becomes full might not have any more data queued to it, or a DLEP-powered routing algorithm might choose another modem instead, allowing the queue to subside, but that might not be what the system integrator wanted to happen.
> 
> And that would depend on a lot of code that outside the scope of the DLEP spec - specifically, it depends on how an algorithm actually *deals* with the DLEP metrics supplied.
> 
> Having said all of that, I can see a possibility for a couple of follow-on metrics for a DLEP extension - the first would be a "Link Utilization" metric. The other would be a "Propagation delay" metric, based on the physical properties of the transmission medium.
> 
> Just a thought.
> 
> Regards,
> Stan
> 
> 
> _______________________________________________
> manet mailing list
> manet@ietf.org <mailto:manet@ietf.org>
> https://www.ietf.org/mailman/listinfo/manet <https://www.ietf.org/mailman/listinfo/manet>
>  
> ********************************************************************
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> ********************************************************************
>