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

Donald Eastlake <d3e3e3@gmail.com> Fri, 01 March 2013 07:21 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 2FF1421F871D for <trill@ietfa.amsl.com>; Thu, 28 Feb 2013 23:21:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.452
X-Spam-Level:
X-Spam-Status: No, score=-103.452 tagged_above=-999 required=5 tests=[AWL=0.147, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1vamP0jUgjHY for <trill@ietfa.amsl.com>; Thu, 28 Feb 2013 23:21:35 -0800 (PST)
Received: from mail-oa0-f47.google.com (mail-oa0-f47.google.com [209.85.219.47]) by ietfa.amsl.com (Postfix) with ESMTP id E9F0321F8717 for <trill@ietf.org>; Thu, 28 Feb 2013 23:21:34 -0800 (PST)
Received: by mail-oa0-f47.google.com with SMTP id o17so5242933oag.34 for <trill@ietf.org>; Thu, 28 Feb 2013 23:21:34 -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=UQ3+5+LHk+6nxodNyHPlhf9q6zZCP5mBTfssrPQ/vMg=; b=tjtSocLxaN7YmO4y/faaXjuOEMXbJQhD39+3BlxrTx0Fbu/bzKMOdTet/k5Fde/95y oJqyznoKE8gO3hEikkTbwYKtMkd3DICisxUIrbkO3+3GYT2kDQ0HXYTf+iSEOPHuQ/Gh /WwtSOLnZ4AJkalCL3run+aluaf6thFahlLBJpxuSSVVeg/a9YW+gPuvy9QMcJtmJP61 f1B+WcvKUjP9kW2WYX6CkGt/4tnpD2xnPs35hrDW9QXOQGCGPhugVhKf4SVqqsfkMFwB wmniqFTUU58uPDP3ZRxr+BaQm/O14KGKy/cHfnzAR7Vc8IaY7wSCoLv3DZURXnIENKv7 lfJA==
X-Received: by 10.60.172.18 with SMTP id ay18mr7611757oec.126.1362122494381; Thu, 28 Feb 2013 23:21:34 -0800 (PST)
MIME-Version: 1.0
Received: by 10.76.98.168 with HTTP; Thu, 28 Feb 2013 23:21:14 -0800 (PST)
In-Reply-To: <A3C4E51A53661B4EBEE7C5F5E6FCDEB5029BB4E8D921@USEXCHANGE.corp.extremenetworks.com>
References: <A3C4E51A53661B4EBEE7C5F5E6FCDEB5029BB4E8D921@USEXCHANGE.corp.extremenetworks.com>
From: Donald Eastlake <d3e3e3@gmail.com>
Date: Fri, 01 Mar 2013 02:21:14 -0500
Message-ID: <CAF4+nEGytby1OmDJ+x-OTTg8CEOFzrt_FRW8gTuTm6Jc4H7-pQ@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: Fri, 01 Mar 2013 07:21:36 -0000

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