Re: [v6ops] new draft: draft-ietf-v6ops-cidr-prefix

Lorenzo Colitti <lorenzo@google.com> Fri, 13 February 2015 00:00 UTC

Return-Path: <lorenzo@google.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 105F61A00FF for <v6ops@ietfa.amsl.com>; Thu, 12 Feb 2015 16:00:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.088
X-Spam-Level:
X-Spam-Status: No, score=-2.088 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 HajBgVXDbuVN for <v6ops@ietfa.amsl.com>; Thu, 12 Feb 2015 16:00:04 -0800 (PST)
Received: from mail-ie0-f169.google.com (mail-ie0-f169.google.com [209.85.223.169]) (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 21F1E1A0149 for <v6ops@ietf.org>; Thu, 12 Feb 2015 16:00:04 -0800 (PST)
Received: by iecat20 with SMTP id at20so15958138iec.12 for <v6ops@ietf.org>; Thu, 12 Feb 2015 16:00:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=LIhNGfI6NFJi1ZvjraREB1u2/onmyW08yy01xzMviUU=; b=GRTSwwZrh6AToKfSJDjmPi/sr+hCHYIoDpnl4XIsV+Aumj0mpLKRtKaVsfiU0lMZm0 2aSe08YMv20PQbvptcq5waVRIjrDI0JkaSlQI6w31R7o0UZrWhBrL8EEF0joIL0f8/QA cUA4zk91ZSMNcEXT9pb2PnOs/62XGG52E87+Db2koKU/tq7RI0SrbKyUGAzpbSzR/4lh qXLAZJ5YTXhmRtj/Qxwzkg8zmXy12GRcsW6yMqqd7bOkwprsRlFOrn6wXqcleUWcfob7 E+BCkMW2vVG2QwP8FaPMI3rq+guUApghjbGcZYFxT+DZ4BAnxGv+IcF6vMMhlSsRlN5n jUAg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=LIhNGfI6NFJi1ZvjraREB1u2/onmyW08yy01xzMviUU=; b=One+7bHEEIJadz7kfgheJzJ8FMAKRe9JKpe0VK3PdBD+YmpCfx4NohF5tJJk1SqiGS k1IOHwOULkW2/jLAqdxDeKRTWZpxmvEYW3HMr6lEx3ZNzxLC6C7u6p3afuOY7YLKwLZb 4EHrCglMIDPDo/gqT/PAc69ridxlr6SF65kY482jTuf6HCrEWt88DHyxgumiJuICCIQW WDkRuv/Ebj7nIquqLBkhipB91F+e64pmp+BKTqMr/twtjkVm0tdv8diY+LTzq30bVINq KPIQl3VtzPbZxaJ1CPh1eVTCq0+RxE6Oc8RnYmSPyOA0jFzj1S1Wo9b2aBsOyXB4JbMJ rN4g==
X-Gm-Message-State: ALoCoQkifGWb73U9drcvS7FWUu9Axhm5yJ4Bog6+mitunsZhRSnpHxo7AytIBjDlRXoyCECsHn6J
X-Received: by 10.107.128.169 with SMTP id k41mr8320249ioi.30.1423785603575; Thu, 12 Feb 2015 16:00:03 -0800 (PST)
MIME-Version: 1.0
Received: by 10.64.33.104 with HTTP; Thu, 12 Feb 2015 15:59:43 -0800 (PST)
In-Reply-To: <CAGWMUT4aiKZOiTACq+ftw1CtTTztw0WResN0ywdFNdCP2aFp8Q@mail.gmail.com>
References: <201502111247.t1BCl1Fu003450@irp-lnx1.cisco.com> <54DB5ABA.7090703@foobar.org> <CAGWMUT4aiKZOiTACq+ftw1CtTTztw0WResN0ywdFNdCP2aFp8Q@mail.gmail.com>
From: Lorenzo Colitti <lorenzo@google.com>
Date: Thu, 12 Feb 2015 15:59:43 -0800
Message-ID: <CAKD1Yr3MtZUohxmrr7tpj-4NSS7TZnjNphP8TBj6JcJu3O1v8A@mail.gmail.com>
To: Rick Casarez <rick.casarez@gmail.com>
Content-Type: multipart/alternative; boundary="001a113f8e9a235597050eeceb8a"
Archived-At: <http://mailarchive.ietf.org/arch/msg/v6ops/wI7haL5FTJQ_NeXdK3Cr1hKWkec>
Cc: draft-ietf-v6ops-cidr-prefix@tools.ietf.org, "v6ops@ietf.org WG" <v6ops@ietf.org>
Subject: Re: [v6ops] new draft: draft-ietf-v6ops-cidr-prefix
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Feb 2015 00:00:07 -0000

I don't believe we should dictate routing table sizes. We can state that it
must be possible to route on prefix levels up to /128, but we cannot state
how many entries the hardware must support.

Because /64 is a common maximum prefix length, it makes sense to treat
64-bit routing entries and 128-bit routing entries differently in hardware.

Reality dictates that routing on 128 bits consumes more resources than
routing on 64 bits. Attempting to enforce that all routing table entries
must be full 128 bits wide will either result in the hardware supporting
fewer routing table entries or in the hardware costing more, neither of
which to anyone's gain.

So, for example, if a given router did not support /123-bit long entries at
all, then that would not fit in this best practice. But if the router
supported 1024 /128 entries and 64k /64 entries, I think that would comply.

On Thu, Feb 12, 2015 at 5:56 AM, Rick Casarez <rick.casarez@gmail.com>
wrote:

> I know I have run into vendors who have optimized their data structures
> for /64 but not for anything smaller. We are already pushing them on that
> front to do it for all prefix-lengths.
>
> I support this document.
>
> -------------------
> Cheers, Rick
>
> Experiences not things.
>
> On Wed, Feb 11, 2015 at 8:35 AM, Nick Hilliard <nick@foobar.org> wrote:
>
>> On 11/02/2015 12:47, fred@cisco.com wrote:
>> > A new draft has been posted, at
>> http://tools.ietf.org/html/draft-ietf-v6ops-cidr-prefix. Please take a
>> look at it and comment.
>>
>> I agree with the sentiment of this document but as an observation,
>> unrestricted longest-prefix-match lookup tends to be circumvented by
>> vendors in order to provide increased forwarding table capacity.  There's
>> a
>> curious practical example in the "Cisco Nexus 5000 Series Configuration
>> Limits" document:
>>
>> Dynamic routes          16,384 (includes IPv4 and IPv6 routes)
>> V6 LPM routes           128 entries
>>
>> It would be interesting to see why the difference between v4 and v6 lpm
>> lookup entries is greater than 4x.
>>
>> Otherwise, I support this doc.
>>
>>
>> Nick
>>
>> _______________________________________________
>> v6ops mailing list
>> v6ops@ietf.org
>> https://www.ietf.org/mailman/listinfo/v6ops
>>
>
>
> _______________________________________________
> v6ops mailing list
> v6ops@ietf.org
> https://www.ietf.org/mailman/listinfo/v6ops
>
>