Re: PIM BFD RFC

Greg Mirsky <gregimirsky@gmail.com> Thu, 17 October 2019 14:46 UTC

Return-Path: <gregimirsky@gmail.com>
X-Original-To: rtg-bfd@ietfa.amsl.com
Delivered-To: rtg-bfd@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6ED7012012C for <rtg-bfd@ietfa.amsl.com>; Thu, 17 Oct 2019 07:46:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.497
X-Spam-Level:
X-Spam-Status: No, score=-1.497 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, SUBJ_ALL_CAPS=0.5, URIBL_BLOCKED=0.001] autolearn=no 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 r0W_ogB0u3ZI for <rtg-bfd@ietfa.amsl.com>; Thu, 17 Oct 2019 07:46:56 -0700 (PDT)
Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) (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 AF9C7120091 for <rtg-bfd@ietf.org>; Thu, 17 Oct 2019 07:46:55 -0700 (PDT)
Received: by mail-lf1-x12a.google.com with SMTP id 195so2107427lfj.6 for <rtg-bfd@ietf.org>; Thu, 17 Oct 2019 07:46:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=epOTXKxaHQOtwM13TEGd9yWxBS9n3Rs6Kq/0MBNGb5g=; b=JY+9pfIWY1nbQEY4b2MAIyKDG6oejL1NbOXV0h8Kf++DEnmAzXsL/sTKjaN7S1AWoi ov+ADLvPuQfy/ljS/eOmJigZ7ihxPpVuuw0a51hzh9K27ExV5m4cfamc1/jRoL8Nm/x4 1aZvN1hlWii6hoJtOX2IOMko4cyzXf8/HH8nig7uFrD9V1JafkErtw26LMgZ6xrcl1bQ jH2nW9ktmDqbQOKQcX+4E9s1n1HCEFW4+WdvPpNs7u9B2z1hGWDyn5g/9XtVFTELWHws ojstZnpb6208MLR5KBd5rJcjChMb8ldp0BWTpjsE4KNobON6u71lXkeZRRjCnLPlnf9y JJwg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=epOTXKxaHQOtwM13TEGd9yWxBS9n3Rs6Kq/0MBNGb5g=; b=MYdG+SUiYQmfwO+3YJFiQd7AGJHxdNyMeKO63NIEyNXlSUfv7i0X5itoVfUZ02jjkr ncZzdBF/mOCqS7Uh6/DAPREIy1MeEJDoV3LcJ3Th4XJZqFeV0SSLDL2je6SyJGMs0Sf/ O54Pju/LtX1Z1dq/QV49B5d2XK2DckYNXoTBPjoS2oo4QcwhpQABsWFps0yWX9cRXdZf xcKuitRsjIGvJcDTWmCXVbIsIvMLXi+ZcYB1HPgrqox2occUhT7O3C2U0u0Hj4I9mXoJ m+ul8rfwENOSbgL7ZuWMxhgqpWJAPmTRrRcuTwdQxP4oqEZjFaH2xFEPPdxi1+wiVSfv Y1qg==
X-Gm-Message-State: APjAAAV9p+pcXr/2xvT852oKTVTdQR8okzV29xCuE3Jv18HK2vPTLxcb nX1yt53XVY7R2z7yY0JscfGFkDGOeLno0CD3sDY=
X-Google-Smtp-Source: APXvYqyK9COOH2g9/B/zkZDuPf0TvrZt+kr3cLRUlnQAnXE3YPfT6LF9p4jPFWuBDDtwIqdP0YMmsW1Fov4CDWavr7Q=
X-Received: by 2002:a05:6512:482:: with SMTP id v2mr2477737lfq.72.1571323613853; Thu, 17 Oct 2019 07:46:53 -0700 (PDT)
MIME-Version: 1.0
References: <37FED5C8-F400-4C72-B72E-0552AD398895@gmail.com> <F4C0E27E-A90D-450D-99F1-FD985E9639D8@gmail.com> <CA+RyBmXZYTaZWQf0VLBTPKM+ZXEvWEOucGHUeQs9pEb5E3shGg@mail.gmail.com> <F8DFF05F-AB75-42B1-8112-7B5E00A86A18@gmail.com> <CA+RyBmW+E4XGrUv4bEH2Psx7o4bVuk=pG7oCY6x_LQ_MPgXyhg@mail.gmail.com> <6688ABC1-BF0C-42EC-B2B3-8CE93C870538@gmail.com>
In-Reply-To: <6688ABC1-BF0C-42EC-B2B3-8CE93C870538@gmail.com>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Thu, 17 Oct 2019 07:46:43 -0700
Message-ID: <CA+RyBmWmdFd=fC2Nq-Pv1tjxsaDp7fQu0a358dMkAX2y63wNdQ@mail.gmail.com>
Subject: Re: PIM BFD RFC
To: Gyan Mishra <hayabusagsm@gmail.com>
Cc: rtg-bfd WG <rtg-bfd@ietf.org>, xu.benchong@zte.com.cn, "Mankamana Mishra (mankamis)" <mankamis@cisco.com>
Content-Type: multipart/alternative; boundary="000000000000d4bc2c05951c496d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/XgeE0ATZuQ-gJ8lLPpwWLAQDN3Q>
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 17 Oct 2019 14:46:59 -0000

Hi Gyan,
many thanks for adding more details to the scenario you're discussing. As
you know, p2mp BFD, as defined in RFC 8562 and RFC 8563, operates in the
Demand mode. What are the advantages of using the Asynchronous mode, and I
assume that implies using p2p BFD sessions, as in RFC 5881 for single-hop
BFD?

Regards,
Greg

On Thu, Oct 17, 2019 at 7:10 AM Gyan Mishra <hayabusagsm@gmail.com> wrote:

> Greg
>
> That is true that there can be more GDR candidates but with the modulo
> hashing algorithm the load balancing becomes less even with odd number of
> routers similar to XOR bitwise source/destination hash.
>
> So the issue is that with even routers you do achieve close to 100% load
> balancing which means a very close 50/50 split between the two routers with
> the hashing algorithm.  So even in that scenario if one of the 2 routers
> doing down instead of having to reconverge 100% of all of you traffic you
> reconverge only 50% so the impact is only 50% of your traffic volume.  As
> you increase the number of routers the load is split between routers
> however and so the impact is diminished but not eliminated and of course
> with odd number routers 3  5 7 etc you have uneven load balancing so more
> impact and with even 2 4 6 close to perfect split of load balancing.
>
> So bottom line is that traffic is on the router that went down has to
> reconverge be taken over or split hashed onto the other remaining routers
> so the from my point of view their is still definitely improvements gains
> with tight PIM timers with BFD single hop asynchronous mode to get as close
> to hitless convergence.  The P2MP RFCs are strictly for labels switched
> multicast multipoint LSP with mLDP or P2MP TE P2MP or MP2MP MDT strictly
> for MVPN scenarios and cannot be applied to LAN.
>
> Gyan
>
> Sent from my iPhone
>
> On Oct 16, 2019, at 10:23 PM, Greg Mirsky <gregimirsky@gmail.com> wrote:
>
> Hi Gyan,
> thank you for bringing draft-ietf-pim-drlb to my attention (I'm
> following discussions in PIM WG but was not aware of this use case). Also,
> I appreciate you sharing your thoughts on the applicability of RFCs 8562
> and 8563 to the GDR use case. With the current scenario, as I
> understand it, there could be more than two GDR Candidates on the given LAN
> segment. Let us assume that there three such routers. If one is elected as
> GDR and another as GBDR, then third is GDROther. If that is the case, then
> the mechanism described for DR/BDR/DROther
> in draft-ietf-pim-bfd-p2mp-use-case can be used for expedited convergence
> of GDR/GDBR/GDROther. Would you agree?
>
> Regards,
> Greg
>
> On Tue, Oct 15, 2019 at 9:10 PM Gyan Mishra <hayabusagsm@gmail.com> wrote:
>
>>
>> Greg
>>
>> + Mankamana and Benchon
>>
>> ...from PIM WG & BESS which owns LSM MVPN mLDP / P2MP TE S-PMSI and
>> MI-PMSI.
>>
>> We were discussing PIM BFD use case on this BFD WG thread  and  RFC 8562
>> and RFC 8563 covers strictly L3 VPN LSM ( label switched Multicast) LMDT
>> (labeled multicast distribution tree) mLDP / P2MP p-tree S-PMSI ( selective
>> constrained MDT / Cisco data MDT) MI-PMSI(inclusive MDT for all VRFs) and
>> not Ethernet switching LAN based PIM SM BFD.
>>
>> We have a new draft in the PIM WG PIM DRLB load balancing GDR capability
>> and the draft of hashing of ASM PIM RP hash and ASM and SSM S,G hash load
>> balancing of traffic across both PIM DR/BDR does significantly help with
>> convergence as 50/50 LB split but during failover you still have 50% of the
>> traffic that still has to reconverge and SPT tree MRIB/MFIB state has to
>> rebuild.
>>
>>
>> https://tools.ietf.org/html/draft-ietf-pim-drlb-11
>>
>>
>> So the BFD PIM Draft would register the PIM protocol and in asynchronous
>> mode with echo disabled we can achieve sub millisecond detection time and
>> convergence during failover.
>>
>> So I do think we need a PIM BFD Draft.
>>
>> Since this falls between multiple WG but since BFD related this would be
>> under the BFD WG.
>>
>> I am part of the BFD WG as well as part of PIM and BESS so I can assist
>> in writing the draft if we are all in agreement that this is needed and can
>> work with Mankamana and Benchon as well in creating the draft.
>>
>> Gyan
>>
>> Sent from my iPhone
>>
>> On Oct 12, 2019, at 12:07 AM, Greg Mirsky <gregimirsky@gmail.com> wrote:
>>
>> Hi Gyan,
>> thank you for your interest in this draft. We've described how RFC 8562
>> BFD for Multipoint Networks <https://datatracker.ietf.org/doc/rfc8562/> can
>> be used to shorten convergence in PIM-SM. The similar scenario discussed in
>> draft-ietf-bess-mvpn-fast-failover
>> <https://datatracker.ietf.org/doc/draft-ietf-bess-mvpn-fast-failover/> where
>> p2mp BFD is used by tails to detect the failure of the head/root or the
>> multicast tree. If it is required for the head/root to detect a defect of
>> the multicast tree toward a tail, we'll turn to RFC 8563 BFD for
>> Multipoint  Active Tails <https://datatracker.ietf.org/doc/rfc8563/> as
>> in draft-hu-bier-bfd
>> <https://datatracker.ietf.org/doc/draft-hu-bier-bfd/>.
>> Hope this information would be helpful to you. I always welcome your
>> questions.
>>
>> Regards,
>> Greg
>>
>> On Fri, Oct 11, 2019 at 7:40 PM Gyan Mishra <hayabusagsm@gmail.com>
>> wrote:
>>
>>> Greg
>>>
>>> I saw your draft on PIM BFD use cases but could not find the RFC on PIM
>>> BFD.
>>>
>>>
>>> https://tools.ietf.org/id/draft-mirsky-pim-bfd-p2mp-use-case-02.html
>>>
>>> Thanks
>>>
>>> Gyan
>>> Verizon Communications
>>> Cell-301 502-1347
>>>
>>>
>>> Sent from my iPhone
>>>
>>> On Oct 11, 2019, at 9:53 PM, Gyan Mishra <hayabusagsm@gmail.com> wrote:
>>>
>>>
>>> BFD WG
>>>
>>> Anyone know what the RFC or draft for PIM BFD support.
>>>
>>> Thank you
>>>
>>> Gyan
>>> Verizon Communications
>>>
>>>
>>>
>>> Sent from my iPhone
>>>
>>>