Re: BFD stability follow-up from IETF-91

Manav Bhatia <manavbhatia@gmail.com> Mon, 08 December 2014 12:43 UTC

Return-Path: <manavbhatia@gmail.com>
X-Original-To: rtg-bfd@ietfa.amsl.com
Delivered-To: rtg-bfd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8EBB61A8546 for <rtg-bfd@ietfa.amsl.com>; Mon, 8 Dec 2014 04:43:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, SPF_PASS=-0.001] 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 ul1N9hFY5cvk for <rtg-bfd@ietfa.amsl.com>; Mon, 8 Dec 2014 04:43:25 -0800 (PST)
Received: from mail-oi0-x233.google.com (mail-oi0-x233.google.com [IPv6:2607:f8b0:4003:c06::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2F4C31A86DD for <rtg-bfd@ietf.org>; Mon, 8 Dec 2014 04:43:19 -0800 (PST)
Received: by mail-oi0-f51.google.com with SMTP id e131so3301817oig.24 for <rtg-bfd@ietf.org>; Mon, 08 Dec 2014 04:43:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=hpXrDChqI9bS21wo6F1P/ZwRsIMLQ8meQ0dkmKq+C8k=; b=TK1RwcY02TIp5acKzVmzJo/z0F0MbTJWE1N66cRBfiL2zVxHeh8FEhGtU25eAIAw3B MlPm26uW9VzsTlUb5ATH6oLKXWB8yfcVy4/beq19Do27f/yUf2AlquCwIM+KYAntsHkK HHuSCUzwssVFw8Z5JBBDnZb8U7WyLMlbGWjr5S7g9cnDdy9sERUhjyx7m75XX71j+eOW pJU3TW4OtYADco3ombwK3NGgr/mRS8MaWKYqJcCPsk0f90ptkjb0QY4ZdAmnQSOCNcaE KSqS7tj5scCrD45VbTid8yU+eBbgYyrXaaCfey+YmzicTuPy4fi/+9IUej35Wq7cAbeq adgQ==
MIME-Version: 1.0
X-Received: by 10.60.146.231 with SMTP id tf7mr7499811oeb.48.1418042598430; Mon, 08 Dec 2014 04:43:18 -0800 (PST)
Received: by 10.76.178.199 with HTTP; Mon, 8 Dec 2014 04:43:18 -0800 (PST)
In-Reply-To: <20141207234958554921.33ce21f7@sniff.de>
References: <CO2PR0501MB823C222B7D62779F4DF58CDB3780@CO2PR0501MB823.namprd05.prod.outlook.com> <D0A647C1.28843%mmudigon@cisco.com> <CO2PR0501MB8234A1BDDFD008EE12C847AB3780@CO2PR0501MB823.namprd05.prod.outlook.com> <CECE764681BE964CBE1DFF78F3CDD3943F5AE38D@xmb-aln-x01.cisco.com> <CAG1kdogkUr2YyodeUPWOqea+2jqOkmdYnPywVHCw8j1+=9eM6A@mail.gmail.com> <CECE764681BE964CBE1DFF78F3CDD3943F5AE4AE@xmb-aln-x01.cisco.com> <CAG1kdoh5DwdKrJWK_aSvo4KQ6Xu5ZaTObe_PLhV66YZ4yQozmg@mail.gmail.com> <20141207193610211284.1f098741@sniff.de> <CAG1kdojxdDY0qXPYnZ5K67rizVaD7gHte1MdRA2q==K6SoRVsw@mail.gmail.com> <20141207212102448099.e2e4012a@sniff.de> <CAG1kdogRJ1PU+uaGAZkRP=QhrGv-KcY+8yAz23sobbykL2pLXQ@mail.gmail.com> <20141207234958554921.33ce21f7@sniff.de>
Date: Mon, 08 Dec 2014 18:13:18 +0530
Message-ID: <CAG1kdog4Cu+vhKZq1UdESOHe5kMEWG9=TuVf2KDzEyteQp_AaA@mail.gmail.com>
Subject: Re: BFD stability follow-up from IETF-91
From: Manav Bhatia <manavbhatia@gmail.com>
To: Marc Binderberger <marc@sniff.de>
Content-Type: multipart/alternative; boundary="047d7b5d341a5b1bd10509b3c524"
Archived-At: http://mailarchive.ietf.org/arch/msg/rtg-bfd/fvLvYeWS6ZXTK5m6Bl2edCAomiE
Cc: "rtg-bfd@ietf.org" <rtg-bfd@ietf.org>
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtg-bfd/>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Dec 2014 12:43:27 -0000

Hi Marc,

> .. and i dont like this. Are you saying that for each BFD session now you
> > will run a parallel BFD echo session that would carry the debug data?
> Your
> > scaling just went for a toss !!
>
> Just by a factor of 2 ;-)
>

.. and thats quite bad.


> But seriously: if you run echo at hight speed you would usually avoid
> running
> the control packets at high speed too. Just what RFC5880 describes.
>

You never send control plane packets at a high rate - but now you send and
receive twice as many BFD packets as you were processing earlier. I would
wager that this would be a show stopper.

Cheers, Manav


>
> > This would help if the flap is deterministic-ally reproducible. If its
> not,
>
> Correct. Good for some problems, not good for others. As I said,
> interesting
> option but not what I had in mind in first place.
>
> > then how long do you run the Echo BFD? And what happens to the original
> BFD
> > session? You run the two parallel-ly?
>
> The "original" session?  I'm talking here about an echo session that is
> controlled by the corresponding control packet exchange. As described in
> RFC5880. Echo not defined for 5884 or 7130? Ah well, one probably could.
>
> Echo seems at least an option to me, in the context of debugging, that can
> be
> discussed. The freedom of defining the packet is interesting, some
> parameters
> like RTT are measured easily. Other aspects, like Multihop, are a problem,
> no
> doubt. I was simply surprised how quickly this idea was dismissed ... .
>
>
> Regards, Marc
>
>
>
>
>
> >
> >>
> >>
> >>> Or are you suggesting that once BFD flaps we will start sending Echoes
> >>> overloaded with debug information to detect the issue?
> >>
> >> interesting idea - that would be an alternative use, collecting forensic
> >> data. Maybe we should support that too!
> >
> > This would help if the flap is deterministic-ally reproducible. If its
> not,
> > then how long do you run the Echo BFD? And what happens to the original
> BFD
> > session? You run the two parallel-ly?
> >
> > Cheers, Manav
> >
> >>
> >>
> >> My biggest problem with the echo idea is so far BFD-over-LAG. But maybe
> it
> >> is
> >> not a real problem, any echo stamping/updating in the forwarding path
> would
> >> require an hardware update (or reprogramming, if your hardware allows)
> and
> >> in
> >> this case one could boldly state that the echo packet must leave via the
> >> ingress port :-)
> >>
> >>
> >> Regards, Marc
> >>
> >>
> >>
> >>
> >>
> >> On Mon, 8 Dec 2014 09:33:05 +0530, Manav Bhatia wrote:
> >>> Hi Marc,
> >>>
> >>>>
> >>>>
> >>>> * Greg's echo idea is of course do-able - when you think timestamping
> in
> >>>> hardware can be done then it can be done in the forwarding path for
> >> echos
> >>>> as
> >>>> well. Depends on your hardware :-) and on an agreed (minimal) format
> for
> >>>> echo. As mentioned BFD echo is not defined/used for multiple BFD
> >> features,
> >>>> which limits it's use though.
> >>>>
> >>>
> >>> For the echo mechanism to work, do you agree that you would have to
> >>> continuously send Echos so that you can detect the issue?
> >>>
> >>> Or are you suggesting that once BFD flaps we will start sending Echoes
> >>> overloaded with debug information to detect the issue?
> >>>
> >>> I'd like to understand this before the mailing list sees a barrage of
> >>> emails. Alternatively, we can also take it offline and only report the
> >>> summary of our discussion to the list.
> >>>
> >>> Cheers, Manav
> >
>