Re: BFD stability follow-up from IETF-91

"Sam K. Aldrin" <aldrin.ietf@gmail.com> Fri, 05 December 2014 01:41 UTC

Return-Path: <aldrin.ietf@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 543121A1B0D for <rtg-bfd@ietfa.amsl.com>; Thu, 4 Dec 2014 17:41:03 -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 th7B93g9TNU5 for <rtg-bfd@ietfa.amsl.com>; Thu, 4 Dec 2014 17:41:01 -0800 (PST)
Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [IPv6:2607:f8b0:400e:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C60F41A8A11 for <rtg-bfd@ietf.org>; Thu, 4 Dec 2014 17:41:00 -0800 (PST)
Received: by mail-pa0-f46.google.com with SMTP id lj1so19042269pab.19 for <rtg-bfd@ietf.org>; Thu, 04 Dec 2014 17:40:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to; bh=e125d9v5lFmbOkxMIpeo9eWiCVqvIOViaApp6amkDOk=; b=uqudQOeK1In5W0CJjdlD+vnp8i8qrmOqqy73kphXwprscavNOmwEWKOTtLazxGqRH3 +T+uWp3VBjisf1ZjE25qxcMWofSlm4AZHKG0QvOhxPTNy0SJR1T9P33/FrfJq6uEIu7O rQa1yRt6jBAepeJgCIMuMPew3VBIJ+Czdbq8XTggcTi7rv2TMHubgQ2qn71a74wHZxrq 7Hb9szDhs6CtuCJht3vFYf25e0Pljf54sqknZPIjJXkt8utTxuh7tA+6Je2n+r58BZ27 g4zROVi/89dFigQdFptOTKHyo5lkL7wd71zCEfFBstAxJvOl7sOIDw8gQW9Y2Y2SV05u AoPg==
X-Received: by 10.68.136.137 with SMTP id qa9mr31114135pbb.8.1417743659801; Thu, 04 Dec 2014 17:40:59 -0800 (PST)
Received: from [192.168.1.11] (c-107-3-154-60.hsd1.ca.comcast.net. [107.3.154.60]) by mx.google.com with ESMTPSA id c3sm27124170pbu.76.2014.12.04.17.40.58 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 04 Dec 2014 17:40:58 -0800 (PST)
Subject: Re: BFD stability follow-up from IETF-91
Mime-Version: 1.0 (Apple Message framework v1283)
Content-Type: multipart/alternative; boundary="Apple-Mail=_A6A379A1-713D-48A5-AB73-3CF3EED871FD"
From: "Sam K. Aldrin" <aldrin.ietf@gmail.com>
In-Reply-To: <CAG1kdogeZBuhmRmgkY2jo2oFTMOXzwWbS=f0H4M4mh9mJXAdNg@mail.gmail.com>
Date: Thu, 04 Dec 2014 17:40:56 -0800
Message-Id: <58D290A6-1EB1-425B-9FFA-3025A3CAE4EE@gmail.com>
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> <20141204151708.GA9458@pfrc> <7347100B5761DC41A166AC17F22DF1121B8AAC29@eusaamb103.ericsson.se> <059338DA-6758-46C1-AD23-D2039C875D09@gmail.com> <CAG1kdogeZBuhmRmgkY2jo2oFTMOXzwWbS=f0H4M4mh9mJXAdNg@mail.gmail.com>
To: Manav Bhatia <manavbhatia@gmail.com>
X-Mailer: Apple Mail (2.1283)
Archived-At: http://mailarchive.ietf.org/arch/msg/rtg-bfd/79SMfiuI1cnR3ySYmIkuzXacBsU
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: Fri, 05 Dec 2014 01:41:03 -0000

Hi Manav,

On Dec 4, 2014, at 5:05 PM, Manav Bhatia wrote:

> Hi Sam,
> 
> 
> Concern:
> - With the sequence number added, one could find(?) that BFD control packets are experiencing congestion or packet delay. So, the assertion is that BFD flapping could be avoided. But if the packets in the network, including BFD, are really experiencing this, shouldn't this be the right behavior?
> 
> I was looking at it to help debug scenarios where its not just the network but implementation issues as well that cause sporadic BFD flaps. If you have a BFD pkt lying in your buffer for too long before its gets scheduled out, then perhaps there is a case for you to look at your pkt TX scheduler. Similarly, you could look at issues on the RX side -- perhaps the queue isnt being drained fast enough, or the CIR/PIR values are aggressive and you drop certain packets when you have scaled up BFD sessions.
> 
> Ideally even if there is some bit of congestion i would like the BFD packet to get through.
I understand the queuing problems but I am not clear how the ID is going to solve the problem, if there is only congestion and not packet drop. In that case just the sequence # doesn't help and timestamping is needed. Even if timestamping is to be done, realistically it cannot happen the same way across multi vendor i.e. where the timestamping should/could be done. For ex: Before it is queued or after OR LC/RP/SP/Process etc.

Secondly, if the congestion happens, the CIR/PIR should apply to data packets too. In that case BFD flap is at least a good indicator of the problem, isn't it? 

Lastly, these improvements is change from the existing BFD model/protocol. 
I do not see why it shouldn't be part of BFD v2 OR lead to v2 :D

-sam
> 
> Cheers, Manav
> 
> - I see concerns regarding timestamps and sequence numbers expressed in emails. In that case, the proposed model is still not going to identify the problem completely. Am I reading it right?
> 
> -sam
> On Dec 4, 2014, at 7:47 AM, Gregory Mirsky wrote:
> 
> > Hi Jeff,
> > I can reference RFC 5357 here. The Appendix describes what is called TWAMP-Light mode with Stateless Reflector. About year and a half the Errata been accepted that describes Stateful Reflector, which supports measurement of one-way latency/jitter and packet loss metrics.
> >
> >       Regards,
> >               Greg
> >
> > -----Original Message-----
> > From: Rtg-bfd [mailto:rtg-bfd-bounces@ietf.org] On Behalf Of Jeffrey Haas
> > Sent: Thursday, December 04, 2014 7:17 AM
> > To: Nobo Akiya (nobo)
> > Cc: rtg-bfd@ietf.org
> > Subject: Re: BFD stability follow-up from IETF-91
> >
> > On Thu, Dec 04, 2014 at 03:14:50PM +0000, Nobo Akiya (nobo) wrote:
> >> If what you say is the only requirement not met, one approach may be to pursue a non-standard-track document describing some suggested implementation techniques to locally store TX/RX timestamp.
> >>
> >> Given that echo approach will be less accurate and given that we seem to be having difficulty converging, I thought I???ll throw out another idea.
> >
> > I think my biggest concern is that the echo approach has bidirectional packet loss possibilities.  Async at least lets the receiver know about unidirectional packet loss.
> >
> > Of course, if your goal is to notify the sender that their packets are being lost, you need a backchannel anyway.  I just don't know if we want that back channel to be bfd.
> >
> > - Jeff
> >
> 
>