Re: [rtcweb] Meaning of SHOULD support/use interleaving

"Mo Zanaty (mzanaty)" <mzanaty@cisco.com> Wed, 29 October 2014 01:27 UTC

Return-Path: <mzanaty@cisco.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E82871A1BDC for <rtcweb@ietfa.amsl.com>; Tue, 28 Oct 2014 18:27:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.51
X-Spam-Level:
X-Spam-Status: No, score=-14.51 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] 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 vgvNK14tHEr8 for <rtcweb@ietfa.amsl.com>; Tue, 28 Oct 2014 18:27:49 -0700 (PDT)
Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BB0651A1BDD for <rtcweb@ietf.org>; Tue, 28 Oct 2014 18:27:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=7489; q=dns/txt; s=iport; t=1414546068; x=1415755668; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=3Y4kS6iTeEc0CkNp2QZAQgVVZ8izP2xNOkbxptVTsmo=; b=DwG2DCNFbtv+5JfX9U0l18jk80uTX5uDvi8ZPkI24evMqJd4KgGIZ5fH y9Cyi0KOQXgMfNka298FJk5l+a/rNdHN/KCaVK6F3QkN/pWLxvz1Thnt3 EboOhmCyMMn+ir/c5M3iQU5yYS8kFLzeysl7aKD4hLHF6o3iTSnw1tlQF 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AhcFABBBUFStJA2F/2dsb2JhbABcgkhGVFgEzkWHTQKBHhYBAQEBAX2EAwEBBG4LEAIBCD8HMhQRAgQOBQmIOA3FIAEBAQEBBQEBAQEBAQEBGpA4AQFPB4RLBZILi12BMYNJkTyBfiCBWmwBgQ45gQMBAQE
X-IronPort-AV: E=Sophos; i="5.04,806,1406592000"; d="scan'208,217"; a="91223232"
Received: from alln-core-11.cisco.com ([173.36.13.133]) by alln-iport-5.cisco.com with ESMTP; 29 Oct 2014 01:27:47 +0000
Received: from xhc-rcd-x13.cisco.com (xhc-rcd-x13.cisco.com [173.37.183.87]) by alln-core-11.cisco.com (8.14.5/8.14.5) with ESMTP id s9T1RkCI016989 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 29 Oct 2014 01:27:46 GMT
Received: from xmb-rcd-x14.cisco.com ([169.254.4.159]) by xhc-rcd-x13.cisco.com ([173.37.183.87]) with mapi id 14.03.0195.001; Tue, 28 Oct 2014 20:27:46 -0500
From: "Mo Zanaty (mzanaty)" <mzanaty@cisco.com>
To: Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
Thread-Topic: [rtcweb] Meaning of SHOULD support/use interleaving
Thread-Index: AQHP8xeLiqONAZMCbkeGY9lGqqITSg==
Date: Wed, 29 Oct 2014 01:27:46 +0000
Message-ID: <D075BA5D.3D254%mzanaty@cisco.com>
References: <7594FB04B1934943A5C02806D1A2204B1D4CCEEF@ESESSMB209.ericsson.se> <EA00639E-2008-4BD2-88F2-27AAEE9DA213@lurchi.franken.de> <7594FB04B1934943A5C02806D1A2204B1D4CD241@ESESSMB209.ericsson.se> <544E8D92.8010401@alvestrand.no> <7594FB04B1934943A5C02806D1A2204B1D4CE9DA@ESESSMB209.ericsson.se> <5B74C903-7C9A-4D74-B5CC-D0643A377935@lurchi.franken.de> <7594FB04B1934943A5C02806D1A2204B1D4CEBAB@ESESSMB209.ericsson.se> <9A1C16CE-1423-448B-943F-33B3068156F3@lurchi.franken.de> <7594FB04B1934943A5C02806D1A2204B1D4D0CE8@ESESSMB209.ericsson.se> <CD364160-0A33-4E74-B114-04BDA33E40D3@lurchi.franken.de> <7594FB04B1934943A5C02806D1A2204B1D4D1044@ESESSMB209.ericsson.se> <CABcZeBOuiTk8Ont314aenemUVPxkiLk7jScpZ3DR-90TuzN4NQ@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B1D4D14F7@ESESSMB209.ericsson.se> <D0757214.3D0B4%mzanaty@cisco.com> <4704857B-ED34-4B3D-9CC6-A60801586F6B@lurchi.franken.de> <3904F698-8B45-44E9-9E43-81D53467E3A6@cisco.com>
In-Reply-To: <3904F698-8B45-44E9-9E43-81D53467E3A6@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.4.5.141003
x-originating-ip: [10.82.211.189]
Content-Type: multipart/alternative; boundary="_000_D075BA5D3D254mzanatyciscocom_"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/QqJApRSzxD2ZRJAwocWtx001qAs
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Meaning of SHOULD support/use interleaving
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Oct 2014 01:27:52 -0000

Moved to tsvwg:
http://www.ietf.org/mail-archive/web/tsvwg/current/msg12892.html

On 10/28/14, 6:28 PM, Mo Zanaty (mzanaty) <mzanaty@cisco.com<mailto:mzanaty@cisco.com>> wrote:
On Oct 28, 2014, at 5:11 PM, "Michael Tuexen" <Michael.Tuexen@lurchi.franken.de<mailto:Michael.Tuexen@lurchi.franken.de>> wrote:
On 28 Oct 2014, at 21:52, Mo Zanaty (mzanaty) <mzanaty@cisco.com<mailto:mzanaty@cisco.com>> wrote:
What resource is being conserved by not just requiring it?
8 bytes per packet (for MID+FSN).
Michael, the current NDATA draft requires it to be used for all messages if negotiated. Can’t this be relaxed / optimized to use it for all *fragmented* messages but use DATA for non-fragmented messages to avoid the 8 byte overhead for small messages (like game telemetry/control, an often cited use of data channels).
You can bring this up at the tsvwg mailing list.
Mo: Will do.
However, we normally do not optimize for byte saving... Mixing
both makes the processing harder... Maybe we can use a bit in the flags to indicate if the additional fields are
there...
Mo: Type should already be enough without flags.
The current NDATA draft also says you can’t interleave fragmented messages in a stream, so head of line blocking remains for all fragmented messages, while only small non-fragmented messages can avoid it. This dilutes the utility of NDATA, perhaps enough to make apps that really care about head of line blocking to implement their own app layer fragmentation with messages well below common MTUs, hence defeating NDATA. Can’t this also be relaxed since MID is part of the NDATA extra header?
This would only make sense for messages marked as unordered... For ordered it doesn't make sense.
Mo: The restriction applies to unordered as well as ordered. Even for ordered, it does make sense to avoid head of line blocking at the sender.
If those two issues are resolved, I see no argument against making NDATA a MUST in data channels.
Please let us discuss NDATA issues on the tsvwg mailing list...
Mo: Agreed, will do. But I think rtcweb MUST use NDATA only if its benefits outweigh its costs. The current draft does not pass that bar for me. If my app cares about HOL blocking, NDATA is not very useful, so my app must internally fragment, hence NDATA actually becomes harmful (8 bytes closer to exceeding MTU, forcing SCTP fragments and hence risking HOL blocking).
Best regards
Michael
Mo
PS. Some believe data channels will be more widely used than WebRTC media (webtorrent, etc.), so it does make sense to consider the desirable properties of a general peer-to-peer transport, and drop the WebRTC prefix when talking about data channels.