[Spud] The draft's questions

Ted Hardie <ted.ietf@gmail.com> Wed, 08 July 2015 17:35 UTC

Return-Path: <ted.ietf@gmail.com>
X-Original-To: spud@ietfa.amsl.com
Delivered-To: spud@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1BE971A1B96 for <spud@ietfa.amsl.com>; Wed, 8 Jul 2015 10:35:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.701
X-Spam-Level:
X-Spam-Status: No, score=0.701 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] 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 SNFQIqYYCmIx for <spud@ietfa.amsl.com>; Wed, 8 Jul 2015 10:35:25 -0700 (PDT)
Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) (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 7C39B1A1BA7 for <spud@ietf.org>; Wed, 8 Jul 2015 10:35:24 -0700 (PDT)
Received: by wifm2 with SMTP id m2so96445160wif.1 for <spud@ietf.org>; Wed, 08 Jul 2015 10:35:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=gF4L8W6vjuJn5b6TJMFMa12urzsGd17mmHUcX97TuHE=; b=VN1Xm3zVY8lm/d0HjjuvSGFPdULkzVMZMaJ6GsMrrA58ToAjVzIbxEPZ58GeUE3nhs 0NKa6KtymqLcVtoBfKFcP7S3q3LzG34UEjX6FiUzA1h221AAzBbNmFs2IffOCwn8Acuu yndTPptQCy3Kpa+6yK/OrThISpNpmDDK/lPiy4x8Ht5K43OpsBTc6CP7ZWroRaNsE8ql Qp4Ds9Kt1N46MrvlXvmb4XmzeNV5ANB2Z9w3C8b5YuYYqU/dqJm1IPVwQOoLwPTqlT/g kjjvvz1hr7U2nKYxrVW9kSttM8vzC36jGZXAfTQ8coo+Fw5P3Y2tTFH8icpIKWTRCsPw cAwQ==
MIME-Version: 1.0
X-Received: by 10.181.11.229 with SMTP id el5mr76019109wid.40.1436376923276; Wed, 08 Jul 2015 10:35:23 -0700 (PDT)
Received: by 10.194.25.74 with HTTP; Wed, 8 Jul 2015 10:35:23 -0700 (PDT)
Date: Wed, 8 Jul 2015 10:35:23 -0700
Message-ID: <CA+9kkMAgDp4_Q_DDdSTztzuPtQOCstJUBa8fn7YDxhZLn1PgXQ@mail.gmail.com>
From: Ted Hardie <ted.ietf@gmail.com>
To: "spud@ietf.org" <spud@ietf.org>
Content-Type: multipart/alternative; boundary=f46d043c8004468a03051a6090f7
Archived-At: <http://mailarchive.ietf.org/arch/msg/spud/pymYLkxOU2BZnU0sg_MS5CH7evE>
Subject: [Spud] The draft's questions
X-BeenThere: spud@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Session Protocol Underneath Datagrams <spud.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spud>, <mailto:spud-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spud/>
List-Post: <mailto:spud@ietf.org>
List-Help: <mailto:spud-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spud>, <mailto:spud-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Jul 2015 17:35:27 -0000

So, the draft asks the following questions, which I am going to answer
based on a simple prejudice:  do the simplest thing that can possibly
work.  I'd be interested to hear other answers and the design rationale
behind them.

* Can one packet belong to multiple tubes?

Nope.  If an overlying protocol needs the same payload in multiple tubes,
it needs new packets for each.  Rationale:  the number of times this is
going to come up seems small for the overhead it would take to support
carrying the different tube-ids within the same packet.

* Do all packets in a five-tuple flow have to belong to one tube?

Nope.  As the WebRTC bundle use cases shows, you may have a single
five-tuple with multiple tubes wanting different treatment by the network.

For the related question of "Must all packets in a five-tuple flow have
tube-ids if some do?", my answer is still "Nope".  If you're not calling
out a grouping of packets for separate treatment by the network, it's up to
you whether you assign a tube-id and say "nothing special needed" or assign
no tube-id at all.  I'd do the latter, because of the "simplest possible
thing" principle.

* Can/Must the backward flow have the same tube ID or a different one?

I don't think it MUST.  I'm of the opinion that it likely isn't a great
idea in general, but you probably need to be able to handle the case where
they are, just for the accidental collision case. (Depending on the
mechanism for generating them, not handling that would make for some deeply
random and very occasional failures).  Ken Calvert has pointed out that if
you actually want different treatment in the forward and reverse direction
that having a different tube-id makes this easier, and that's probably a
good enough reason for a SHOULD NOT.


*  Especially at connection start-up, depending on the semantics of the
overlying transport protocol, there likely might be only one packet to
start multiple streams/tubes. Can this start message signal multiple tube
IDs at once or do we need an own start message for each tube?

If the "Nope" above, holds this, doesn't arise.  If you want to talk about
a tube, send a message about that tube, independently of messages for other
tubes.  For the multiplexed-on-a-five-tuple case, you are then getting a
message per tube, rather than per five-tuple, but that's the cost of
independent treatment by the network.  If you don't want independent
treatment, put them in the same tube.

* Or is it in this case not possible to have multiple tubes within one
five-tuple?

​See above.

Any other prejudices/answers folks want to share?


regards,

Ted