Re: [mpls] [spring] redux: Special purpose labels in draft-hegde-spring-traffic-accounting-for-sr-paths

Greg Mirsky <gregimirsky@gmail.com> Thu, 16 November 2017 14:39 UTC

Return-Path: <gregimirsky@gmail.com>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 386E912950B; Thu, 16 Nov 2017 06:39:12 -0800 (PST)
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 ow1RBVLLzLF4; Thu, 16 Nov 2017 06:39:09 -0800 (PST)
Received: from mail-lf0-x22d.google.com (mail-lf0-x22d.google.com [IPv6:2a00:1450:4010:c07::22d]) (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 4EA10126D46; Thu, 16 Nov 2017 06:39:09 -0800 (PST)
Received: by mail-lf0-x22d.google.com with SMTP id 73so16131224lfu.10; Thu, 16 Nov 2017 06:39:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=PK95F7P+jrKep+1Xjy+1azkpxveB4frcHO9W3DnXMwA=; b=MewR4Ikz30sqm8X8p+4O/1PQSYSGBQpBW4aufG5MElG5unZpkiz9z8Bw+zkw+YCIa3 1WBKi3x4+AIxFvDwCxA+B2qpIfrdIFK33hx9sicZw0dq7pbkpR5XphpmRxYJ2DAyEW96 6DboT16L55M9QQd4SMFW4NKrSgJaAeipD31nOks6oiAtF9pC7k2gA2jUQQ2tMl0TIqix FRN43SBnQx8hBFb9ixc+zddYWWdVOOG71tawsCSJJ2YO+xv7yMLuL5Bz0X5eQMso0NBj IX78MgfhYHr97adk3Ix3xC/qW9WKwCzMGCE9wEuxnI0cUpeJ9ylBl9mZChlWu6qRPbKf TmXw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=PK95F7P+jrKep+1Xjy+1azkpxveB4frcHO9W3DnXMwA=; b=accBWdLS2Qw4rDE+cJac7qUA02JfB92Y1qBeEhNi2cbmWg2C5U9tju4gZbpPF36Gxs e9V50w/ZLf2v7o4g1TW+Up59mas5TTkiZSz1vzJJCXX+9D04vrPbusZ8bLOJeaDpDnzo ZP3VZbmm4c3w8JDoCBUZ8CFuj7u/YZ8/llj85xey8DE6kUSr5PmOWlQtJHregNiOE+7x C4zGnBoXEpdZ4JT7WOCYJGilcSC9eZMbv9xzvg4D6VujVTEJJOM7CsY84K30z0qER5yt hSQYRywZ6zfcdgvP0KpvdQEmYvepB/WYOgVrR8v0JRxKW3ODZcVQrrC6/dk0kl8Ucwnr 9ISg==
X-Gm-Message-State: AJaThX7hgjlsGvUQvIPCA4Yyj5aaucbHHU8p8qI6HIDldMHb15kBz0DX PHTEtKkt+PehnePHq+Rg8875liNSrOovqoIA6Qo=
X-Google-Smtp-Source: AGs4zMbQ9ViD4qVQVR0elLBNEqJFCSe13dXfgqC1M1P8+VhUZBCzoaVkPAxaAG5BHK8vXsPq1EtIQb6Zv4TZuVgMPkM=
X-Received: by 10.25.15.161 with SMTP id 33mr777450lfp.57.1510843147502; Thu, 16 Nov 2017 06:39:07 -0800 (PST)
MIME-Version: 1.0
Received: by 10.46.32.136 with HTTP; Thu, 16 Nov 2017 06:39:06 -0800 (PST)
In-Reply-To: <MWHPR05MB3551B49226876BE7FD0EA584C72E0@MWHPR05MB3551.namprd05.prod.outlook.com>
References: <12fc01d35e9c$ad540470$07fc0d50$@olddog.co.uk> <LEXPR01MB0094E212D3765DA6BA1AAEC49C2E0@LEXPR01MB0094.DEUPRD01.PROD.OUTLOOK.DE> <MWHPR05MB3551B49226876BE7FD0EA584C72E0@MWHPR05MB3551.namprd05.prod.outlook.com>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Thu, 16 Nov 2017 22:39:06 +0800
Message-ID: <CA+RyBmUxpqJad89C0oRoqPoTjUvu_K3CFZqyEaD-Fexv8x0L3w@mail.gmail.com>
To: John E Drake <jdrake@juniper.net>
Cc: "Ext - Ruediger.Geib@telekom.de" <Ruediger.Geib@telekom.de>, "adrian@olddog.co.uk" <adrian@olddog.co.uk>, "draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org" <draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org>, "spring@ietf.org" <spring@ietf.org>, "zali@cisco.com" <zali@cisco.com>, "robert@raszuk.net" <robert@raszuk.net>, "mpls@ietf.org" <mpls@ietf.org>
Content-Type: multipart/alternative; boundary="001a113f22001e4981055e1a9574"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/vUJch6C8VQUwk88XoS4tk3EjMpU>
Subject: Re: [mpls] [spring] redux: Special purpose labels in draft-hegde-spring-traffic-accounting-for-sr-paths
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mpls>, <mailto:mpls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mpls/>
List-Post: <mailto:mpls@ietf.org>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Nov 2017 14:39:12 -0000

Hi John,
if network doesn't use payload information to handle ECMP then performance
measurement using RFC 8169-style or pure active OAM based on RFC 6374 will
certainly work. But if it is DPI-based hashing for ECMP, then there cannot
be guarantee that packets with GAL/G-ACh follow the same path as regular
packets. Of course, one can use GAL/G-ACh encapsulation as a tunnel, as
normal case and then do any sort of measurements.

Regards,
Greg

On Thu, Nov 16, 2017 at 7:59 PM, John E Drake <jdrake@juniper.net> wrote:

> Ruediger,
>
>
>
> There is also the possibility of using a GAL w/ a new fixed size GACH
> containing the SR Segment List Id.  This is similar to Robert’s suggestion
> of using a VXLAN header.
>
>
>
> Yours Irrespectively,
>
>
>
> John
>
>
>
> *From:* mpls [mailto:mpls-bounces@ietf.org] *On Behalf Of *
> Ruediger.Geib@telekom.de
> *Sent:* Thursday, November 16, 2017 4:44 AM
> *To:* adrian@olddog.co.uk
> *Cc:* draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org;
> spring@ietf.org; robert@raszuk.net; mpls@ietf.org; zali@cisco.com
> *Subject:* Re: [mpls] [spring] redux: Special purpose labels in
> draft-hegde-spring-traffic-accounting-for-sr-paths
>
>
>
> Adrian,
>
>
>
> to me, there’s no ideal solution. But an analysis may help to find a
> useful solution. There’s a need to collect traffic statistics also for
> packets which don’t follow the shortest end to end path. There’s no simple
> howto, I think.
>
>
>
> For the time being, I’d prefer not to add special labels to the stack.
> What other options are there?
>
> -        Accounting at the router pushing a relevant label stack only.
>
> -        Accounting of an n-label stack.
>
> -        Acoounting of a subset of labels only (e.g. Node-SID Labels and
> Anycast-SID, but not ADJ-SID). The idea is a compromise to limit the number
> of counters be maintained. Consider accounting of the top 2 labels carrying
> global routing information.
>
> -        A special label. Shradda proposes to put such a label into the
> stack. The labels present there prior to the addition are maintained. One
> might think about a single top label which identifies and replaces the
> label stack carrying routing information relevant for the path. That would
> simplify accounting, but it requires suitable IGP functionality.
>
>
>
> None of the options sounds simple. Are there more (and simpler) ones I
> didn’t come upon?
>
>
>
> Regards, Ruediger
>
>
>
> *Von:* spring [mailto:spring-bounces@ietf.org <spring-bounces@ietf.org>] *Im
> Auftrag von *Adrian Farrel
> *Gesendet:* Donnerstag, 16. November 2017 06:35
> *An:* 'Mach Chen' <mach.chen@huawei.com>; 'Jeff Tantsura' <
> jefftant.ietf@gmail.com>; 'Robert Raszuk' <robert@raszuk.net>
> *Cc:* 'draft-hegde-spring-traffic-accounting-for-sr-paths' <
> draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org>; 'spring' <
> spring@ietf.org>; 'Zafar Ali (zali)' <zali@cisco.com>; 'mpls' <
> mpls@ietf.org>
> *Betreff:* Re: [spring] [mpls] redux: Special purpose labels in
> draft-hegde-spring-traffic-accounting-for-sr-paths
>
>
>
> Let's unpick a couple of things...
>
>
>
> 1. This work is not talking about per-flow accounting, it is talking about
> peer SR-path accounting
>
> 2. ipfix on its own does not cut it because you still have to put a marker
> in the packets
>
> 3. Yes, SR assumes there is no (i.e. zero) state per SR-path in the network
>
> But this third point causes a tension: we want to use SR because it is
> good, but we want to do transit node diagnostics because (frankly) they are
> necessary.
>
> To get the full picture of why they are necessary read the draft, or
> consider ECMP.
>
>
>
> This discussion will not be unfamiliar to those who tried to debug LDP
> networks.
>
>
>
> Adrian
>
>
>
> _______________________________________________
> mpls mailing list
> mpls@ietf.org
> https://www.ietf.org/mailman/listinfo/mpls
>
>