Re: [trill] Asymmetric link costs and D-Tree calculations

Donald Eastlake <d3e3e3@gmail.com> Sat, 09 March 2013 04:26 UTC

Return-Path: <d3e3e3@gmail.com>
X-Original-To: trill@ietfa.amsl.com
Delivered-To: trill@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 73F2621F86C8 for <trill@ietfa.amsl.com>; Fri, 8 Mar 2013 20:26:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.6
X-Spam-Level:
X-Spam-Status: No, score=-102.6 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, NO_RELAYS=-0.001, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id foL0yyGotPIj for <trill@ietfa.amsl.com>; Fri, 8 Mar 2013 20:26:21 -0800 (PST)
Received: from mail-ob0-x233.google.com (mail-ob0-x233.google.com [IPv6:2607:f8b0:4003:c01::233]) by ietfa.amsl.com (Postfix) with ESMTP id C93C721F86BE for <trill@ietf.org>; Fri, 8 Mar 2013 20:26:21 -0800 (PST)
Received: by mail-ob0-f179.google.com with SMTP id un3so1876363obb.24 for <trill@ietf.org>; Fri, 08 Mar 2013 20:26:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=5lpzmqEyZ5MKzRaPY46eU3u8AnyZxhWETzwTzC022GM=; b=c9s9VuytU7pW2B2NCpjnJCQG68zTj01yXiDWtGRQm8NqawM3krdw4/xOqqj4eaQkyA 8Q1SnvrDkbobKc3wRQ4P8CDASJubEO1vw1GZBaZkC83lneYTHeil9cd0D/zL5bbl9IKO DekvcCtiOC8i1s5bXfz2D+iUpBm/dw0o48AwZRy+oJS5Dat2r8iAh5/VgS7/ywrSyNbk 98BHSGOW/szSETU6RQgku2xKUJZ+ngRUA+/Qt7jCoLk/bpPk7wpDhYDaB/ijtBTmfZrA Psjx/7iNPH3xGuITFoVn3ruBUmFG7vz4D+aq0dAKlPjonSxhFoX4B6EVwZLq9QNEfTQr H76A==
X-Received: by 10.182.40.71 with SMTP id v7mr3710961obk.85.1362803181424; Fri, 08 Mar 2013 20:26:21 -0800 (PST)
MIME-Version: 1.0
Received: by 10.76.139.200 with HTTP; Fri, 8 Mar 2013 20:26:01 -0800 (PST)
In-Reply-To: <CAF4+nEGytby1OmDJ+x-OTTg8CEOFzrt_FRW8gTuTm6Jc4H7-pQ@mail.gmail.com>
References: <A3C4E51A53661B4EBEE7C5F5E6FCDEB5029BB4E8D921@USEXCHANGE.corp.extremenetworks.com> <CAF4+nEGytby1OmDJ+x-OTTg8CEOFzrt_FRW8gTuTm6Jc4H7-pQ@mail.gmail.com>
From: Donald Eastlake <d3e3e3@gmail.com>
Date: Fri, 08 Mar 2013 23:26:01 -0500
Message-ID: <CAF4+nEERWaAqFRx23dS6kzUoms01sFdf_1QtguUYbQM-CFmAAA@mail.gmail.com>
To: Olen Stokes <ostokes@extremenetworks.com>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
Cc: "trill@ietf.org" <trill@ietf.org>
Subject: Re: [trill] Asymmetric link costs and D-Tree calculations
X-BeenThere: trill@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Developing a hybrid router/bridge." <trill.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/trill>, <mailto:trill-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/trill>
List-Post: <mailto:trill@ietf.org>
List-Help: <mailto:trill-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/trill>, <mailto:trill-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Mar 2013 04:26:22 -0000

Hi,

As I said I would below, I did file an Errata against RFC 6325.
Although the notice I got saying it had been filled appeared to cc the
TRILL WG mailing list, I don't see that mail in the archive. So I'm
posting a pointer to it here:

http://www.rfc-editor.org/errata_search.php?rfc=6325&eid=3508

Thanks,
Donald
=============================
 Donald E. Eastlake 3rd   +1-508-333-2270 (cell)
 155 Beaver Street, Milford, MA 01757 USA
 d3e3e3@gmail.com


On Fri, Mar 1, 2013 at 2:21 AM, Donald Eastlake <d3e3e3@gmail.com> wrote:
> Hi Olen,
>
> On Thu, Feb 28, 2013 at 1:21 PM, Olen Stokes
> <ostokes@extremenetworks.com> wrote:
>> Appendix A.1 of RFC 6325 discusses the fact that “two RBridges may know they
>> are connected but each sees the link as a different speed from how it is
>> seen by the other.”
>
> Yes, and asymmetry can also occur through manual cost configuration of costs.
>
>> We have been looking at this and how it relates to D-Tree calculation as
>> discussed in Section 4.5.1.  In that section, it states, “Each RBridge RBn
>> independently calculates a tree rooted at RBi by performing the SPF
>> (Shortest Path First) calculation with RBi as the root”.  So, it appears
>> that the D-Tree is calculated from the root RBridge outward.
>>
>> The following three paragraphs describe how to determine the potential
>> parents P for a node N.  There does not appear to be any mention of
>> direction so it would seem that all calculations are done in the direction
>> from the root RBi outward.
>
> That was the intent. The tree is calculated through a Dijkstra SPF
> process starting at the Root and working outwards.
>
>> The last paragraph in Section 4.5.1 states, “In other words, the set of
>> potential parents for N, for the tree rooted at R, consists of those that
>> give equally minimal cost paths from N to R and that have distinct IS-IS
>> IDs, based on what is reported in LSPs.”  In this case, costs are discussed
>> as inward from node N towards root RBi.
>
> That text in RFC 6325 is wrong, as far as I know.
>
>> This change in direction of cost calculation could potentially be confusing
>> when there are asymmetric link costs as described in Appendix A.1.  For any
>> parent P found during the SPF calculation, it is possible that the cost from
>> N to
>> P is different than the cost from P to N.  It is also possible that none of
>> the parents found during the SPF calculation are found along any of the
>> “equally minimal cost paths from N to R”.
>
> Yes.
>
> Although I think the asymmetric costs will be rarely encountered, it
> is critical that all RBridges calculate the same tree so the method
> must be unambiguous.
>
>> Is the potential change of direction when calculating costs in the last
>> paragraph unintended?  Would the paragraph have been more clear discussing
>> “equally minimal cost paths from R to N”?
>
> Yes, thanks for spotting this. It should have said "from R to N" or
> something like that. I'll file an Errata against RFC 6325.
>
>> Is there agreement in the presence of asymmetric link costs that it is
>> possible that none of the parents found during the SPF calculation are found
>> along any of the “equally minimal cost paths from N to R” calculated for
>> known unicast traffic?
>
> It seems to me that could happen.
>
> Thanks,
> Donald
> =============================
>  Donald E. Eastlake 3rd   +1-508-333-2270 (cell)
>  155 Beaver Street, Milford, MA 01757 USA
>  d3e3e3@gmail.com
>
>> Cheers,
>> Olen