Re: [tsvwg] Benoit Claise's No Objection on draft-ietf-tsvwg-sctp-prpolicies-06: (with COMMENT)

Benoit Claise <bclaise@cisco.com> Wed, 04 February 2015 14:00 UTC

Return-Path: <bclaise@cisco.com>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1A3251A8834; Wed, 4 Feb 2015 06:00:34 -0800 (PST)
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 VxgSFeZ_vebt; Wed, 4 Feb 2015 06:00:30 -0800 (PST)
Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DCA9B1A034F; Wed, 4 Feb 2015 06:00:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=17639; q=dns/txt; s=iport; t=1423058431; x=1424268031; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to; bh=Lx/V800Dl1zMzuxCXqAIZAc6iJ6zvkvn1TuhKnNjfZk=; b=SSpClzewXkdmELoer8p36BqLWRLPAOBGuQS67Mtlz6GSgyb3gXN7ZVku 8kFch2ayhDpMD3LV/wV1l3iPm73xfzDD95ulzm4jQGghwaTh9NHnXcmYx /kUeVXyPDEpn4WLsC9Gw6+jsF5smyGZYWwMoZWWXWdY8CUO52gF4G6p4U M=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AJBQB8JdJU/xbLJq1ag1hZuQKJN4VxAoFWAQEBAQF9hAwBAQQBeAEFCwsYCRYPCQMCAQIBRQYBDAEFAgEBBYgcCA3WQwEBAQEBAQEBAQEBAQEBAQEBAQEBARePFhEBUAeEKQWFTI0Ogg6DSoEXNoJNgiSMISKCMoE9PTEBgQqBNwEBAQ
X-IronPort-AV: E=Sophos;i="5.09,518,1418083200"; d="scan'208,217";a="338367566"
Received: from aer-iport-nat.cisco.com (HELO aer-core-3.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP; 04 Feb 2015 14:00:28 +0000
Received: from [10.60.67.86] (ams-bclaise-8915.cisco.com [10.60.67.86]) by aer-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id t14E0QXE008305; Wed, 4 Feb 2015 14:00:26 GMT
Message-ID: <54D225FA.7020602@cisco.com>
Date: Wed, 04 Feb 2015 15:00:26 +0100
From: Benoit Claise <bclaise@cisco.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version: 1.0
To: Michael Tuexen <tuexen@fh-muenster.de>, Brian Trammell <ietf@trammell.ch>
References: <20150203170508.11385.61826.idtracker@ietfa.amsl.com> <1C46E522-C9C9-43E0-A983-2209EAD3FCBF@fh-muenster.de> <238AE350-879D-4D0C-AEBC-446AD09826FA@trammell.ch> <6B7C29E8-35D6-452F-A2DF-37FEAA57BB09@fh-muenster.de> <1981A00D-BFC6-4A2C-B6CD-0A7077773BB5@trammell.ch> <6F5E21F1-CE5D-4EBE-9B7B-D3034C77FBBD@fh-muenster.de>
In-Reply-To: <6F5E21F1-CE5D-4EBE-9B7B-D3034C77FBBD@fh-muenster.de>
Content-Type: multipart/alternative; boundary="------------010707020508050108020506"
Archived-At: <http://mailarchive.ietf.org/arch/msg/tsvwg/JiK-jE3DDSNO2H61HfovV_YX5fQ>
Cc: "Romascanu@ietfa.amsl.com" <Romascanu@ietfa.amsl.com>, Gorry Fairhurst <gorry@erg.abdn.ac.uk>, "draft-ietf-tsvwg-sctp-prpolicies.all@tools.ietf.org" <draft-ietf-tsvwg-sctp-prpolicies.all@tools.ietf.org>, "tsvwg@ietf.org" <tsvwg@ietf.org>, Dan Romascanu <dromasca@avaya.com>, "tsvwg-chairs@tools.ietf.org" <tsvwg-chairs@tools.ietf.org>, The IESG <iesg@ietf.org>
Subject: Re: [tsvwg] Benoit Claise's No Objection on draft-ietf-tsvwg-sctp-prpolicies-06: (with COMMENT)
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tsvwg/>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Feb 2015 14:00:34 -0000

On 03/02/2015 19:21, Michael Tuexen wrote:
>> On 03 Feb 2015, at 19:18, Brian Trammell <ietf@trammell.ch> wrote:
>>
>> Hi Michael,
>>
>> Sent from my iPhone
>>
>> On 03 Feb 2015, at 19:09, Michael Tuexen <tuexen@fh-muenster.de> wrote:
>>
>>>> On 03 Feb 2015, at 18:57, Brian Trammell <ietf@trammell.ch> wrote:
>>>>
>>>> hi Benoit, all,
>>>>
>>>> I can perhaps shed a light on this point, inline below:
>>>>
>>>>>> On 03 Feb 2015, at 18:25, Michael Tuexen <tuexen@fh-muenster.de> wrote:
>>>>>>
>>>>>> On 03 Feb 2015, at 18:05, Benoit Claise <bclaise@cisco.com> wrote:
>>>>>>
>>>>>> Benoit Claise has entered the following ballot position for
>>>>>> draft-ietf-tsvwg-sctp-prpolicies-06: No Objection
>>>>>>
>>>>>> When responding, please keep the subject line intact and reply to all
>>>>>> email addresses included in the To and CC lines. (Feel free to cut this
>>>>>> introductory paragraph, however.)
>>>>>>
>>>>>>
>>>>>> Please refer to http://www.ietf.org/iesg/statement/discuss-criteria.html
>>>>>> for more information about IESG DISCUSS and COMMENT positions.
>>>>>>
>>>>>>
>>>>>> The document, along with other ballot positions, can be found here:
>>>>>> http://datatracker.ietf.org/doc/draft-ietf-tsvwg-sctp-prpolicies/
>>>>>>
>>>>>>
>>>>>>
>>>>>> ----------------------------------------------------------------------
>>>>>> COMMENT:
>>>>>> ----------------------------------------------------------------------
>>>>> Hi Benoit,
>>>>>
>>>>> thanks a lot for the review. See my comments in-line.
>>>>>
>>>>> Best regards
>>>>> Michael
>>>>>> 1.
>>>>>> Using the Priority Policy allows the sender of a user message to
>>>>>> specify a priority.  When storing a user message in the send buffer
>>>>>> while there is not enough available space, the SCTP stack at the
>>>>>> sender side MAY abandon other user messages of the same SCTP
>>>>>> association with a priority lower than the provided one.
>>>>>>
>>>>>>>  From the same SCTP association or the same stream within the SCTP
>>>>>> association? Or is this implementation specific?
>>>>> As specified above: It is only from the same association. Normally the
>>>>> buffering is done per socket.
>>>>>> 2.
>>>>>> While reading through the draft, I was actually wondering how I could use
>>>>>> those extensions in IPFIX.
>>>>>> The first one is not applicable. Then I found in section 3.2:
>>>>>>
>>>>>> The Priority Policy can be used in the IPFIX protocol stack.  See
>>>>>> [RFC7011] for more information.
>>>>>>
>>>>>> This is a little lit light. I believe you should explain the use case you
>>>>>> have in mind... because I don't believe this was an IPFIX requirement.
>>>>> I'm not sure. What I remember is that IPFIX has messages of different
>>>>> priorities and that you wanted to be able to drop lower priority messages
>>>>> for higher ones. That is why the policy got implemented. If the
>>>>> applicability is no longer true, I can remove the above sentence.
>>>>> Looking at
>>>>> https://tools.ietf.org/html/rfc7011
>>>>> shows multiple references to RFC 3758, but is not clear either.
>>>> This probably comes from a some hallway discussions Michael and I had during the completion of RFC 5101 in 2008; we were looking at how the single then-implemented timeout-based PR-SCTP policy mapped to what we thought the IPFIX requirements were for partial reliability. It didn't, really, but it was what we had.
>>>>
>>>> We briefly discussed counting retransmissions as well (as in section 3.1) but this also had the problem that an IPFIX exporting process would have just as much information about network conditions to set a retransmission count as it would a timer (i.e. none) to get the tradeoff it was looking for between retransmission load and loss.
>>>>
>>>> What the EP *does* know is which message is more important than which other message, hence 3.2.
>>>>
>>>> None of this made it into the final language in 5101 (or subsequently 7011) because we decided explicitly not to provide detailed guidance on SCTP usage in the core protocol, instead pointing out the per-stream optimization as optional (RFC 6526) but letting implementation experience guide further usage.
>>>>
>>>> None of this makes it clear from looking at the *documents* why all of this makes sense, but we could add a sentence explaining this to the prpolicies draft.
>>> Does this mean that when you send a high priority message on stream 10, that out only want to abandon
>>> lower priority messages of that stream or is it OK to abandon also lower priority messages from other
>>> streams.
>> This is my personal interpretation of the intent of 7011 only... but the only guarantee that IPFIX requires of SCTP with respect to streams (when not using 6526, which also further restricts what the EP can do) is that messages on a stream arrive in the order in which they are sent. This is important for templates, which must be sent fully reliably (i.e. max prio) anyway. So I see no reason not to leave this up to the implementation.
> This means we can abandon messages from other streams,
Yes.
> so we can leave the selection of the messages to
> abandon implementation dependent. Something I would prefer.
In case of IPFIX, you want to have different flow records per stream, 
and you want to flag those streams as fully reliable/partially 
reliable/unreliable (I know it's not totally correct, as the reliability 
is flagged per message, as opposed to streams, in SCTP, but anyway)
Typically, you want a billing flow-record sent fully reliably, 
security-related and monitoring flow-records sent partially-reliably. 
Now, if you consider the security-related slightly more important than 
the monitoring ones, the exporting process might flag the 
security-related flow records with a higher priority than the monitoring 
ones, according to this spec.

You might have to introduce an example around this text above.

I believe that you now understand the background of my first question in 
my initial COMMENT, for which I had RFC 6526 in mind:

    1.
    Using the Priority Policy allows the sender of a user message to
    specify a priority.  When storing a user message in the send buffer
    while there is not enough available space, the SCTP stack at the
    sender side MAY abandon other user messages of the same SCTP
    association with a priority lower than the provided one.

>      From the same SCTP association or the same stream within the SCTP?

Being specific might be usefull: there are no limitations per stream.
NEW:

    Using the Priority Policy allows the sender of a user message to
    specify a priority.  When storing a user message in the send buffer
    while there is not enough available space, the SCTP stack at the
    sender side MAY abandon other user messages of the same SCTP
    association (with the same or a different stream) with a priority
    lower than the provided one.

Regards, Benoit
>
> Best regards
> Michael
>> Cheers,
>>
>> Brian
>>
>>
>>> Currently this is left implementation specific. So if choosing from the same stream is important,
>>> we might want to add a sentence saying this.
>>>
>>> Thanks for jumping in...
>>>
>>> Best regards
>>> Michael
>>>> Cheers,
>>>>
>>>> Brian
>>>>
>>>>
>>>>> Best regards
>>>>> Michael
> .
>