Re: PIM BFD RFC

Gyan Mishra <hayabusagsm@gmail.com> Thu, 17 October 2019 15:38 UTC

Return-Path: <hayabusagsm@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 C1C2A120937 for <rtg-bfd@ietfa.amsl.com>; Thu, 17 Oct 2019 08:38:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.496
X-Spam-Level:
X-Spam-Status: No, score=-1.496 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, MIME_QP_LONG_LINE=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 3QTgHN9pwPfn for <rtg-bfd@ietfa.amsl.com>; Thu, 17 Oct 2019 08:38:32 -0700 (PDT)
Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) (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 70C1112091B for <rtg-bfd@ietf.org>; Thu, 17 Oct 2019 08:38:32 -0700 (PDT)
Received: by mail-qk1-x72f.google.com with SMTP id p4so2284387qkf.5 for <rtg-bfd@ietf.org>; Thu, 17 Oct 2019 08:38:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=tJ965PM9ARwedAtrFVDqFnDRW0+Li8cPWdScy7uN+CY=; b=IGYymrTnQzf5Vv9S/h1bcrxfoiYBmMnfW3kf5+lw2D8WK/7Y+GiRjWKEUD4NqWt5dQ /rdTP7r7IiMj8XpgpHQ6iZzj33AS8ZTIzNH4C01Enm4vQ8B81OZ+EcnASe+HOhOuWeaa f1spglv3s8B8dB07D0p1WypNBhF01PHgVauD0YBUZE9GRgTvsgiOzd922w8ktSoX97qp 8nNHpPKlxpsd9E3fzvYrPkcVeFIRjluBL3D/vkiBLKkPlK8/NWRBHIXCH97iU4jAjMOM Ftqh8AiuW8mVFnrchZ1gN7CgbbiH9O6b1hQzFHda6AOaZvoeJo2uIIxR2w7j9mdYfBmO f90g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=tJ965PM9ARwedAtrFVDqFnDRW0+Li8cPWdScy7uN+CY=; b=S0BuQ0Qr8Rt6VRV37DfOfsDfZBkXGV0DYAAU16XPhPL0kPAWrc5CpZu+jxSJsjf6it +7oBu9N47P1RwuNMuCufUyiNTNppC2Ty/pYd1Cwfu8zpcwGu3FWlWuvgoWKKGpL8pFdl tTjwro2GTQH6ZHF5NJY285KJ8qa19AisH6qYwfwFfN0M3fEBxs9OK2unCl+WkCbIQR2/ QZlDHW3QL0VwkJyA/nWVfC+8rwCtHW5olh3k0DBupvf3LYjTfm4NuMxh8ah8nOEZiAln +WKgNGovMke3WvThrdSrFcRvL5EmLcb5JiqorYNZq5b/dZbM+YigXtucBylPhYiQbDjm 7qMg==
X-Gm-Message-State: APjAAAWa4JSJjHPLtOrZp0+6TaMqYwWLHgJcObvhUCRXQyt8YSyysxjs 1k9W1BiGPbrGmdgolLx5ytQ=
X-Google-Smtp-Source: APXvYqxw+quuZ/vt3yr1MD77Gr61ChQxzgUhrJ37Esa6tgd/HpKQcpyL1niLsLlp4egtgh9zV6OgTQ==
X-Received: by 2002:a05:620a:15db:: with SMTP id o27mr4058290qkm.368.1571326711119; Thu, 17 Oct 2019 08:38:31 -0700 (PDT)
Received: from ?IPv6:2600:1003:b108:7d8c:c85:6e23:cdbc:b01? ([2600:1003:b108:7d8c:c85:6e23:cdbc:b01]) by smtp.gmail.com with ESMTPSA id u17sm1430902qkj.71.2019.10.17.08.38.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Oct 2019 08:38:30 -0700 (PDT)
From: Gyan Mishra <hayabusagsm@gmail.com>
X-Google-Original-From: Gyan Mishra <hayabusaGSM@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail-8F220BB6-5FDF-4E8C-A44C-FE3A709E3D08"
Mime-Version: 1.0 (1.0)
Subject: Re: PIM BFD RFC
X-Mailer: iPhone Mail (16G102)
In-Reply-To: <CA+RyBmWmdFd=fC2Nq-Pv1tjxsaDp7fQu0a358dMkAX2y63wNdQ@mail.gmail.com>
Date: Thu, 17 Oct 2019 11:38:29 -0400
Cc: rtg-bfd WG <rtg-bfd@ietf.org>, xu.benchong@zte.com.cn, "Mankamana Mishra (mankamis)" <mankamis@cisco.com>
Content-Transfer-Encoding: 7bit
Message-Id: <FE449726-3E34-406B-98B5-56B26B12B9D3@gmail.com>
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> <CA+RyBmWmdFd=fC2Nq-Pv1tjxsaDp7fQu0a358dMkAX2y63wNdQ@mail.gmail.com>
To: Greg Mirsky <gregimirsky@gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/iPm3eO47j9bDoWGqQiD8gWlbiWQ>
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 15:38:36 -0000


Sent from my iPhone

> On Oct 17, 2019, at 10:46 AM, Greg Mirsky <gregimirsky@gmail.com> wrote:
> 
> 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

I think the big difference is physical medium that in the “on demand” mode the head is detecting the active rails sending the control packets however the medium is limited as the number of tails is limited to the number of egress PEs for the LMDT where on a multiaccess media the numbers can be very large infinite like but also is an always ON scenario as a LAN the medium is always present to send single hop BFD asynchronous or echo to as many PIM routers that exist on that shared media where with an LMDT the medium is a temporary state and only when traffic is flowing is the M2MP or P2MP label switched path created and then its torn down once the flow has ended which is why multi hop on demand is perfect for label switched multicast where it just won’t work with a LAN based multiaccess bridge domain medium lan switch.

Gyan
> 
>> 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 can be used to shorten convergence in PIM-SM. The similar scenario discussed in 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 as in 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