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

Michael Tuexen <Michael.Tuexen@lurchi.franken.de> Tue, 28 October 2014 21:11 UTC

Return-Path: <Michael.Tuexen@lurchi.franken.de>
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 EAB761ACFBD for <rtcweb@ietfa.amsl.com>; Tue, 28 Oct 2014 14:11:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.561
X-Spam-Level:
X-Spam-Status: No, score=-1.561 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, SPF_HELO_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no
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 WuiSHREPb_Bs for <rtcweb@ietfa.amsl.com>; Tue, 28 Oct 2014 14:11:44 -0700 (PDT)
Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 20FD61ACFBA for <rtcweb@ietf.org>; Tue, 28 Oct 2014 14:11:44 -0700 (PDT)
Received: from [192.168.1.200] (p508F31C9.dip0.t-ipconnect.de [80.143.49.201]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id 622EC1C1050F4; Tue, 28 Oct 2014 22:11:40 +0100 (CET)
Content-Type: text/plain; charset="windows-1252"
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
In-Reply-To: <D0757214.3D0B4%mzanaty@cisco.com>
Date: Tue, 28 Oct 2014 22:11:38 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <4704857B-ED34-4B3D-9CC6-A60801586F6B@lurchi.franken.de>
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>
To: "Mo Zanaty (mzanaty)" <mzanaty@cisco.com>
X-Mailer: Apple Mail (2.1878.6)
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/7WbZYeeEbqYGrOIhr59wdhZOB0o
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: Tue, 28 Oct 2014 21:11:46 -0000

On 28 Oct 2014, at 21:52, Mo Zanaty (mzanaty) <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. 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...
> 
> 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.
> 
> 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...

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.