Re: [MMUSIC] Updating the pacing of ICE connectivity checks

Emil Ivov <emcho@jitsi.org> Thu, 14 February 2013 15:37 UTC

Return-Path: <emil@sip-communicator.org>
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 151A521F8632 for <mmusic@ietfa.amsl.com>; Thu, 14 Feb 2013 07:37:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.299
X-Spam-Level:
X-Spam-Status: No, score=-2.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BnOTjTd9LGVV for <mmusic@ietfa.amsl.com>; Thu, 14 Feb 2013 07:37:02 -0800 (PST)
Received: from mail-we0-x22b.google.com (mail-we0-x22b.google.com [IPv6:2a00:1450:400c:c03::22b]) by ietfa.amsl.com (Postfix) with ESMTP id 4753121F8783 for <mmusic@ietf.org>; Thu, 14 Feb 2013 07:37:02 -0800 (PST)
Received: by mail-we0-f171.google.com with SMTP id u54so2112900wey.16 for <mmusic@ietf.org>; Thu, 14 Feb 2013 07:37:01 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:organization:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding:x-gm-message-state; bh=bUhlsE5CdP1k/iTVtalaf12z0S3z427rAHJsAyOEMX0=; b=IXeFFOMHGr2QCUU4QyW9TlXsAy/PC6zacFA4YxXJzPIe3C28Zr4il9dFxVHEdL/35W qZc6jK/EWP4BRqWhNeeXKhWwY+0TJyZ0ndcRupgv64QuH3Ot1P8B9+mzFfeYSMH0LHF+ 6Bhl/meKU28IS7tL1uWhCq37vTRSbKgOQYy3V2K7+wOpAPvDWASxtFd61Laz49OpX82P shD3GqRHRfhJG+vlK4NtMad/OIlOvpYnGM7qp0hI28rkcZakaSDUd5cZyemQ0l1FbjyB QkPK67Vs/Z4BR5D7h46bZc1N5EpuyqPqKlubuMxJ7ggZaC/xmbq+hODEieVephwpAUAs judw==
X-Received: by 10.180.90.147 with SMTP id bw19mr7591wib.28.1360856220894; Thu, 14 Feb 2013 07:37:00 -0800 (PST)
Received: from camionet.local (wifi-osiris-sec-182-115.u-strasbg.fr. [130.79.182.115]) by mx.google.com with ESMTPS id q13sm553673wie.0.2013.02.14.07.36.57 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 Feb 2013 07:36:59 -0800 (PST)
Message-ID: <511D0498.3030909@jitsi.org>
Date: Thu, 14 Feb 2013 16:36:56 +0100
From: Emil Ivov <emcho@jitsi.org>
Organization: Jitsi
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20121026 Thunderbird/16.0.2
MIME-Version: 1.0
To: Ari Keränen <ari.keranen@ericsson.com>
References: <511CEB64.6070306@ericsson.com> <05a401ce0ac6$db547230$91fd5690$@cisco.com> <511D03A7.1060008@ericsson.com>
In-Reply-To: <511D03A7.1060008@ericsson.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQmOJ8QryaRHg8gsHPQUVlfsYdbAkDRpBy33ohjXPqW3ruiq+etqEz3cIJF76X5Jcjb3K8n3
Cc: 'mmusic' <mmusic@ietf.org>, Dan Wing <dwing@cisco.com>
Subject: Re: [MMUSIC] Updating the pacing of ICE connectivity checks
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 14 Feb 2013 15:37:03 -0000

Any idea why there had to be different pacing for RTP and non-RTP flows
in the first place?

Emil

On 14.02.13, 16:32, Ari Keränen wrote:
> On 2/14/13 5:20 PM, Dan Wing wrote:
>>> -----Original Message-----
>>> From: mmusic-bounces@ietf.org [mailto:mmusic-bounces@ietf.org] On Behalf
>>> Of Ari Keränen
>>> Sent: Thursday, February 14, 2013 5:49 AM
>>> To: mmusic
>>> Subject: [MMUSIC] Updating the pacing of ICE connectivity checks
>>>
>>> Hi all,
>>>
>>> Updating the pacing parameter, Ta, of ICE for non-RTP traffic (for
>>> background, see [1] and [2]), as discussed at the Atlanta meeting, will
>>> be one of the important changes in the new version of ICE.
>>>
>>> Currently the RFC5245 says (for non-RTP traffic) "Ta SHOULD be
>>> configurable, SHOULD have a default of 500 ms, and MUST NOT be
>>> configurable to be less than 500 ms."
>>>
>>> This results in very slow pace of starting connectivity checks if ICE is
>>> used with non-RTP traffic. With RTP, the Ta is calculated based on the
>>> expected bandwidth used by the RTP stream and can be down to 20 ms.
>>> Therefore, many current implementations apparently ignore the "MUST NOT"
>>> above and set Ta to something lower.
>>
>> That would explain failures claimed to justify the desire for running
>> over one port.
> 
> Interesting point. Does anyone know what kind of pacing was actually 
> used when these failures were observed?
> 
>> The 20ms threshold for the initial connectivity checks is because some
>> NATs could not create new mappings quickly.  This problems appears to
>> persist today, considering that both Chrome and Windows 8 limit their
>> number of outstanding DNS queries in an apparent attempt to work around
>> that very same NAT UDP mapping behavior.
>>
>> If trying to create NAT mappings with 0ms pacing, it will certainly
>> cause NAT mapping failures and force retries.
> 
> Yes, definitely. So we shouldn't go below 20ms with non-RTP either. 
> Perhaps need to add some more justification/warning text about this too.
> 
>>> The quite conservative value of 500 ms was originally chosen because of
>>> the fear of congesting the links with the connectivity check messages.
>>> This is obviously still a valid concern, but would suggesting something
>>> lower still make sense? How low would it be reasonably safe to go? What
>>> is currently used in practice? Can we come up with a formula similar to
>>> RTP (perhaps based on expected bandwidth usage)?
>>
>> A good question for the transport area, which is the origination of the
>> suggestion to send ICE connectivity checks paced to not exceed the
>> bandwidth of the subsequent media.  Perhaps the arguments that TCP
>> IW=10 is not harmful could be brought to the party.
> 
> FYI, I forwarded the original mail to the Transport ADs too.
> 
> 
> Cheers,
> Ari
> 
>>>
>>> [1] http://tools.ietf.org/html/rfc5245#appendix-B.1
>>> [2] http://tools.ietf.org/html/rfc5245#section-16.2
>>> _______________________________________________
>>> mmusic mailing list
>>> mmusic@ietf.org
>>> https://www.ietf.org/mailman/listinfo/mmusic
>>
> 
> _______________________________________________
> mmusic mailing list
> mmusic@ietf.org
> https://www.ietf.org/mailman/listinfo/mmusic
> 

-- 
https://jitsi.org