Re: [AVTCORE] Comments on draft-ietf-avtcore-rfc5764-mux-fixes-03.txt

"Gonzalo Salgueiro (gsalguei)" <gsalguei@cisco.com> Tue, 20 October 2015 17:12 UTC

Return-Path: <gsalguei@cisco.com>
X-Original-To: avt@ietfa.amsl.com
Delivered-To: avt@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D54AB1A89A6 for <avt@ietfa.amsl.com>; Tue, 20 Oct 2015 10:12:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=unavailable
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 jc1b5MpqfMvY for <avt@ietfa.amsl.com>; Tue, 20 Oct 2015 10:12:09 -0700 (PDT)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2C30F1AC7E7 for <avt@ietf.org>; Tue, 20 Oct 2015 10:05:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2456; q=dns/txt; s=iport; t=1445360753; x=1446570353; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=SXjvLGrt1KGGIwMUwgpu7aWMhiIWY0iEuzQWhTavH4c=; b=iQyEAglfYWfXy2rZdLy+H26k/+F/Y6wfwAL6Bp0jfF4KzTfDr/lkB7Zg zGu6tNq2tmxL9+x0Jz/mhTM3HX5Jjov5osDGUVORrJmdXoovdlQxmYWnK gITebT6Q6o+BMhWO488MxpP186CXNDuJndnG4H7EbF8qaz6n1XAfnuA1M k=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0D5AQD4cyZW/4MNJK1dDoMoVG8GvhkBDYFaFwqFfQIcgR84FAEBAQEBAQGBCoQtAQEBAwEBAQEgEUUFCwIBCA4KAgImAgICJQsVEAIEDgUbiA0IDbBfkyABAQEBAQEBAQEBAQEBAQEBAQEBAQEUBIEihVWCEIJuhFozB4JpMYEUAQSWJAGICIUWnCABHwEBQoNFPnKEYYEGAQEB
X-IronPort-AV: E=Sophos;i="5.17,707,1437436800"; d="scan'208";a="199416896"
Received: from alln-core-1.cisco.com ([173.36.13.131]) by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 20 Oct 2015 17:05:52 +0000
Received: from XCH-RCD-007.cisco.com (xch-rcd-007.cisco.com [173.37.102.17]) by alln-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id t9KH5pMM012972 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 20 Oct 2015 17:05:51 GMT
Received: from xch-aln-009.cisco.com (173.36.7.19) by XCH-RCD-007.cisco.com (173.37.102.17) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Tue, 20 Oct 2015 12:05:32 -0500
Received: from xch-aln-009.cisco.com ([173.36.7.19]) by XCH-ALN-009.cisco.com ([173.36.7.19]) with mapi id 15.00.1104.000; Tue, 20 Oct 2015 12:05:32 -0500
From: "Gonzalo Salgueiro (gsalguei)" <gsalguei@cisco.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>
Thread-Topic: [AVTCORE] Comments on draft-ietf-avtcore-rfc5764-mux-fixes-03.txt
Thread-Index: AQHRC1HmJzdno4raWES0JscKUDi6MZ508G+A
Date: Tue, 20 Oct 2015 17:05:32 +0000
Message-ID: <D281692E-D8A2-405B-80B9-1B87C9BE63EE@cisco.com>
References: <20151019221040.17412.81332.idtracker@ietfa.amsl.com> <56261C39.8060208@ericsson.com> <5626674F.80101@alum.mit.edu>
In-Reply-To: <5626674F.80101@alum.mit.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.82.233.144]
Content-Type: text/plain; charset="utf-8"
Content-ID: <4B581B5294F1FD45A199929244B9F533@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/avt/zS0JDNkE0rYjazqeVB_-dcMPJrU>
Cc: Marc Petit-Huguenin <petithug@acm.org>, "avt@ietf.org" <avt@ietf.org>
Subject: Re: [AVTCORE] Comments on draft-ietf-avtcore-rfc5764-mux-fixes-03.txt
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Audio/Video Transport Core Maintenance <avt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/avt/>
List-Post: <mailto:avt@ietf.org>
List-Help: <mailto:avt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Oct 2015 17:12:11 -0000

Thanks, Paul.  We’ll try and formulate this section so that it is more of a simple table look-up without attempting to overlay any predetermined look-up algorithms or efficiencies.

Cheers,

Gonzalo



> On Oct 20, 2015, at 12:09 PM, Paul Kyzivat <pkyzivat@alum.mit.edu> wrote:
> 
> On 10/20/15 6:49 AM, Magnus Westerlund wrote:
> 
>> 3.  Section 1.4:
>> 
>> I still don't see how what is written in this section results in any
>> improvement. You authors have assumptions of how this needs to be
>> implemented that isn't written down. Looking on this problem of
>> demultiplexing I would build a table driven solution based on the
>> ranges, where the packet is sent to the relevant protocol based on the
>> table-lookup. If that protocol don't use that value, that will be the
>> end of the road for that packet as invalid, rather than giving it to any
>> other protocol. I get the impression that you want one to send the
>> packet for testing by the protocols one after each other according to
>> the order the protocols are listed. I still don't see that
>> implementations will do that.
> 
> This has been my concern as well.
> 
> Look at it this way:
> 
> A natural implementation of this is via a switch statement. Each disjoint range of values is one case. (Detailed syntax varies by language.) A simple implementation of this may be implemented as a sequence of comparisons - a series of if/then/else such as you describe. a more time-optimal implementation uses a table lookup.
> 
> You shouldn't be mandating how this be implemented - only what the result is.
> 
> 	Thanks,
> 	Paul
> 
> _______________________________________________
> Audio/Video Transport Core Maintenance
> avt@ietf.org
> https://www.ietf.org/mailman/listinfo/avt