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

"Dan Wing" <dwing@cisco.com> Thu, 14 February 2013 15:21 UTC

Return-Path: <dwing@cisco.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 A269F21F886F for <mmusic@ietfa.amsl.com>; Thu, 14 Feb 2013 07:21:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -109.906
X-Spam-Level:
X-Spam-Status: No, score=-109.906 tagged_above=-999 required=5 tests=[AWL=0.393, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
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 Q+FnaPxMPMAb for <mmusic@ietfa.amsl.com>; Thu, 14 Feb 2013 07:20:59 -0800 (PST)
Received: from mtv-iport-2.cisco.com (mtv-iport-2.cisco.com [173.36.130.13]) by ietfa.amsl.com (Postfix) with ESMTP id BD8D421F8868 for <mmusic@ietf.org>; Thu, 14 Feb 2013 07:20:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2571; q=dns/txt; s=iport; t=1360855259; x=1362064859; h=from:to:references:in-reply-to:subject:date:message-id: mime-version:content-transfer-encoding; bh=O9j5iAVTokAJqlpgoIFJ8AnFo6Pzy6bC5+BnBzETJ9Q=; b=gdLlu05SeCWZdCgjiTEtbIvOFHzClr9LBkkjVEs+Abbn+CM3fqWFRNpx IYlkAt92XqHzffYgT4TGkXI9i3Oli5+alIpH/IKyn1xzTcIyH/jSY0iCA YHUwwMrbepi6NgrP2nvOSVak4f+1dFXmEDWdkzU6rol7UDanAFDg2cB8W Y=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgAFAIoAHVGrRDoJ/2dsb2JhbABEwGcWc4IfAQEBAwEBAQEFAmQQBwEDAgkRBAEBKAcZDh8DAQUIAgQBEgsFh3wFDb1mjUWEPwOIMDaFIYgdgR2PNoMogUk
X-IronPort-AV: E=Sophos;i="4.84,665,1355097600"; d="scan'208";a="72235110"
Received: from mtv-core-4.cisco.com ([171.68.58.9]) by mtv-iport-2.cisco.com with ESMTP; 14 Feb 2013 15:20:44 +0000
Received: from DWINGWS01 ([10.32.240.194]) by mtv-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id r1EFKhLS016360; Thu, 14 Feb 2013 15:20:43 GMT
From: Dan Wing <dwing@cisco.com>
To: 'Ari Keränen' <ari.keranen@ericsson.com>, 'mmusic' <mmusic@ietf.org>
References: <511CEB64.6070306@ericsson.com>
In-Reply-To: <511CEB64.6070306@ericsson.com>
Date: Thu, 14 Feb 2013 07:20:13 -0800
Message-ID: <05a401ce0ac6$db547230$91fd5690$@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQHEzjPbQxUzVAxWufG5eY2LeHo6PJiL6vPA
Content-Language: en-us
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:21:00 -0000

> -----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.  

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.

> 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.

-d


> 
> 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