Re: [MMUSIC] Mirja Kühlewind's Discuss on draft-ietf-mmusic-trickle-ice-sip-14: (with DISCUSS and COMMENT)

Ben Campbell <ben@nostrum.com> Mon, 21 May 2018 15:08 UTC

Return-Path: <ben@nostrum.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AEAA4127275; Mon, 21 May 2018 08:08:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.88
X-Spam-Level:
X-Spam-Status: No, score=-1.88 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=0.01] autolearn=ham autolearn_force=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 mweD6EODcyiM; Mon, 21 May 2018 08:08:21 -0700 (PDT)
Received: from nostrum.com (raven-v6.nostrum.com [IPv6:2001:470:d:1130::1]) (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 72D07127137; Mon, 21 May 2018 08:08:21 -0700 (PDT)
Received: from [10.0.1.94] (cpe-66-25-7-22.tx.res.rr.com [66.25.7.22]) (authenticated bits=0) by nostrum.com (8.15.2/8.15.2) with ESMTPSA id w4LF8BQG024548 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Mon, 21 May 2018 10:08:11 -0500 (CDT) (envelope-from ben@nostrum.com)
X-Authentication-Warning: raven.nostrum.com: Host cpe-66-25-7-22.tx.res.rr.com [66.25.7.22] claimed to be [10.0.1.94]
From: Ben Campbell <ben@nostrum.com>
Message-Id: <0649CAFE-7330-4999-BA88-7D16591D496A@nostrum.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_9EFA7459-A836-4572-BB35-A471E07AF571"; protocol="application/pgp-signature"; micalg="pgp-sha512"
Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\))
Date: Mon, 21 May 2018 10:08:10 -0500
In-Reply-To: <b1d7c7fa-eea5-ae8a-4a10-b7d5f58d6353@nostrum.com>
Cc: Thomas Stach <thomass.stach@gmail.com>, "Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net>, Flemming Andreasen <fandreas@cisco.com>, mmusic-chairs@ietf.org, draft-ietf-mmusic-trickle-ice-sip@ietf.org, The IESG <iesg@ietf.org>, mmusic@ietf.org
To: Adam Roach <adam@nostrum.com>
References: <152276622276.14060.4683526444260158304.idtracker@ietfa.amsl.com> <d87ca5f9-3b36-d71e-667b-1396ea8a7ee9@gmail.com> <7CED4E17-86D2-407D-AF36-89C075121E9D@kuehlewind.net> <6ce0a44f-cca8-2105-73f5-75689dd8c611@gmail.com> <1A91DAFC-8022-4B11-92F0-E6B7644A7218@kuehlewind.net> <de37b547-e278-4fa5-b28e-70298a414843@gmail.com> <4A9014B4-102A-4894-BA41-1DA49A662D8B@kuehlewind.net> <fb95e318-50b3-fb42-f94a-c78e124af651@gmail.com> <D9BF2D39-0B51-4697-A5F1-5801916F543D@kuehlewind.net> <a702e5b6-c540-77f9-1f08-08d5a5e1feed@gmail.com> <b1d7c7fa-eea5-ae8a-4a10-b7d5f58d6353@nostrum.com>
X-Mailer: Apple Mail (2.3445.6.18)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/PLdlbnIY0bVYX5tEwazpVhSje-I>
Subject: Re: [MMUSIC] Mirja Kühlewind's Discuss on draft-ietf-mmusic-trickle-ice-sip-14: (with DISCUSS and COMMENT)
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 May 2018 15:08:24 -0000

I agree with Adam on this.

Ben.

> On May 19, 2018, at 2:49 PM, Adam Roach <adam@nostrum.com> wrote:
> 
> Sorry to jump in after this appears to have come to a conclusion, but it seems that this would be much easier to specify and to implement if it simply said that only one INFO request were allowed to be pending at any one time. This will limit cadence to exact RTT (rather than estimated RTT), and eliminate the additional language around unknown RTT handling.
> 
> In particular, the language below is problematic in that, taken on its face, it contradicts SIP message retransmission handling: it says that UDP datagrams are to be sent once every 3 seconds if the RTT is unknown, while SIP requires a retransmission schedule of 0s, 500ms, 1.5s, 3.5s, etc. I really don't want implementors to read the normative behavior below as modifying the message retransmission algorithm.
> 
> /a
> 
> On 5/19/18 11:32 AM, Thomas Stach wrote:
>> Mirja,
>> 
>> 
>> On 2018-05-18 10:06, Mirja Kuehlewind (IETF) wrote:
>>> One more proposal to give a clear recommendation:
>>> 
>>> Implementors MUST aggregate ICE candidates in
>>> case that UDP is used as transport protocol.
>>> It is RECOMMENDED that Trickle ICE implementations
>>> implement a way to estimate the round-trip time (RTT)
>>> and send only one INFO request per estimated RTT.
>>> As recommend by [RFC8085] Trickle ICE implementations SHOULD NOT send UDP datagrams more often than one every 3 seconds if the RTT is unknown.
>>> 
>>> Does that work for you?
>> Yes it does. I'll use your text.
>> 
>> Thanks
>> Thomas
>>> 
>>> Mirja
>>> 
>>> 
>>> 
>>>> Am 14.05.2018 um 20:39 schrieb Thomas Stach <thomass.stach@gmail.com>:
>>>> 
>>>> Mirja,
>>>> 
>>>> you are right it is not super clear.
>>>> 
>>>> The MUST was only intended for the aggregation of the candidates into one datagram.
>>>> 
>>>> Closer to this intention is probably:
>>>> 
>>>> Implementors MUST aggregate ICE candidates in
>>>> case that UDP is used as transport protocol.
>>>> It is RECOMMENDED that Trickle ICE implementations
>>>> implement a way to estimate the round-trip time (RTT)
>>>> and send only one INFO request per estimated RTT,
>>>> since [RFC8085] advises that application don't send UDP datagrams
>>>> more often than one every 3 seconds if the RTT is unknown.
>>>> 
>>>> Kind Regards
>>>> 
>>>> Thomas
>>>> 
>>>> 
>>>> 
>>>> 
>>>> On 2018-05-14 11:24, Mirja Kuehlewind (IETF) wrote:
>>>>> Works for me.
>>>>> 
>>>>> I not sure the wording is super clear though, just to double check:
>>>>> You say basically "Implementors MUST […] send only one INFO request per estimated round-trip time (RTT).“ And the you say „RECOMMENDED […] to estimate RTT“. However if you have the first MUST, I guess you also must estimate the RTT…? Or is it also recommended to ICE to send only every 3 seconds if RTT is unknown?
>>>>> 
>>>>> Mirja
>>>>> 
>>>>> 
>>>>> 
>>>>>> Am 13.05.2018 um 18:27 schrieb Thomas Stach <thomass.stach@gmail.com>:
>>>>>> 
>>>>>> Mirja,
>>>>>> 
>>>>>> sorry for the loong delay in responding.
>>>>>> 
>>>>>> Based on your recommendation I'd re-write section 10.9 as follows
>>>>>> 
>>>>>> 10.9.  Rate of INFO Requests
>>>>>> 
>>>>>>     Given that IP addresses may be gathered rapidly a Trickle ICE Agent
>>>>>>     with many network interfaces might create a high rate of INFO
>>>>>>     requests if every newly detected candidate is trickled individually
>>>>>>     without aggregation.
>>>>>> 
>>>>>>     Implementors MUST aggregate ICE candidates in
>>>>>>     case that UDP is used as transport protocol and send only one INFO
>>>>>>     request per estimated round-trip time (RTT). It is RECOMMENDED that
>>>>>>     Trickle ICE implementations also implement a way to estimate RTT,
>>>>>>     since [RFC8085] advises that application don't send UDP datagrams
>>>>>>     more often than one every 3 seconds if the RTT is unknown.
>>>>>> 
>>>>>>     If the INFO requests are sent on top of TCP, which is probably the
>>>>>>     standard way, this is not an issue for the network anymore, but it
>>>>>>     can remain one for SIP proxies and other intermediaries forwarding
>>>>>>     the SIP INFO messages.  Also, an endpoint may not be able to tell
>>>>>>     that it has congestion controlled transport all the way, such that
>>>>>>     the recommendations for UDP remain valid also in case of TCP.
>>>>>> 
>>>>>> Would that be aceptable?
>>>>>> 
>>>>>> Kind Regards
>>>>>> Thomas
>>>>>> 
>>>>>> 
>>>>>> On 2018-04-13 17:06, Mirja Kuehlewind (IETF) wrote:
>>>>>>> Hi again!
>>>>>>> 
>>>>>>> I actually looked up the recommendation in RFC8085 section 3.1.3 which says:
>>>>>>> 
>>>>>>> "A second case of applications cannot maintain an RTT estimate for
>>>>>>>         a destination, because the destination does not send return
>>>>>>>         traffic.  Such applications SHOULD NOT send more than one UDP
>>>>>>>         datagram every 3 seconds and SHOULD use an even less aggressive
>>>>>>>         rate when possible."
>>>>>>> 
>>>>>>> 
>>>>>>>> Am 08.04.2018 um 20:57 schrieb Thomas Stach <thomass.stach@gmail.com>
>>>>>>>> :
>>>>>>>> 
>>>>>>>> In general, it is RECOMMENDED that a Trickle ICE Agent sends only one INFO request per RTT.
>>>>>>>> A quarantine period of 100ms would be on the safe side, but lower values might be fine as well
>>>>>>>> if the typically deployment scenario assumes a shorter RT.“
>>>>>>>> 
>>>>>>> So a recommendation of 100ms is probably not appropriate here. Inline with RFC8085 it would be 3 seconds. Thus it probably makes sense to strongly recommend to implement a way to estimate RTT. Please also add a reference to RFC8085.
>>>>>>> 
>>>>>>> Sorry for my late input. I should have double checked with RFC8085 earlier. I hope this can still be addressed appropriately.
>>>>>>> 
>>>>>>> Mirja
>>>>>>> 
>>>>>>> 
>>>>>>> 
>> 
>> _______________________________________________
>> mmusic mailing list
>> mmusic@ietf.org
>> https://www.ietf.org/mailman/listinfo/mmusic
> 
>