Re: [MMUSIC] ICE-bis: pacing of ICE connectivity checks
Ari Keränen <ari.keranen@ericsson.com> Wed, 23 October 2013 17:33 UTC
Return-Path: <ari.keranen@ericsson.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 5641D11E81CB for <mmusic@ietfa.amsl.com>; Wed, 23 Oct 2013 10:33:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.941
X-Spam-Level:
X-Spam-Status: No, score=-3.941 tagged_above=-999 required=5 tests=[AWL=-1.642, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XPZd7s1usIZb for <mmusic@ietfa.amsl.com>; Wed, 23 Oct 2013 10:33:38 -0700 (PDT)
Received: from sesbmg20.ericsson.net (sesbmg20.ericsson.net [193.180.251.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8C0ED11E81DE for <mmusic@ietf.org>; Wed, 23 Oct 2013 10:33:36 -0700 (PDT)
X-AuditID: c1b4fb38-b7f178e00000233b-7b-5268086d9111
Received: from ESESSHC002.ericsson.se (Unknown_Domain [153.88.253.124]) by sesbmg20.ericsson.net (Symantec Mail Security) with SMTP id B7.B3.09019.D6808625; Wed, 23 Oct 2013 19:33:34 +0200 (CEST)
Received: from mail.lmf.ericsson.se (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.26) with Microsoft SMTP Server id 14.2.328.9; Wed, 23 Oct 2013 19:33:33 +0200
Received: from nomadiclab.lmf.ericsson.se (nomadiclab.lmf.ericsson.se [131.160.33.3]) by mail.lmf.ericsson.se (Postfix) with ESMTP id 730631103CF; Wed, 23 Oct 2013 20:33:33 +0300 (EEST)
Received: from nomadiclab.lmf.ericsson.se (localhost [127.0.0.1]) by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id DDAFA4EADC; Wed, 23 Oct 2013 20:33:32 +0300 (EEST)
Received: from As-MacBook-Air.local (localhost [127.0.0.1]) by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 732094EADB; Wed, 23 Oct 2013 20:33:32 +0300 (EEST)
Message-ID: <52680871.5050304@ericsson.com>
Date: Wed, 23 Oct 2013 20:33:37 +0300
From: Ari Keränen <ari.keranen@ericsson.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.0.1
MIME-Version: 1.0
To: Emil Ivov <emcho@jitsi.org>
References: <526147C3.9040204@ericsson.com> <CAPvvaa+8osKGTNCS6RJywS9Bmf+RdbnChN=XqA9d+gLnBBAGow@mail.gmail.com> <5261704B.9090307@nostrum.com> <52627C14.8080309@jitsi.org> <1373AC9C23D80E44856F5CF6F883ACAB115574BB@xmb-rcd-x06.cisco.com> <52651780.60108@ericsson.com> <CAPvvaaL2ToQ1dxkYJbYHrLtQCFsYH7r2C=E1eYHD8KhzHsJXSA@mail.gmail.com> <861759C7815040489720E3CC184F51DD1C477C0F@ESESSMB205.ericsson.se> <CAPvvaaJnRahHZTuoG7wiNxmr5eo_sYjE8OVczS42fvWcf6C27A@mail.gmail.com> <861759C7815040489720E3CC184F51DD1C4791C6@ESESSMB205.ericsson.se> <526697C4.6030207@jitsi.org> <861759C7815040489720E3CC184F51DD1C481E05@ESESSMB205.ericsson.se> <CAPvvaaL_RDzkmD=c_v0CujkMx3OSKz3FUQGhYQ3Q71suWMX9nA@mail.gmail.com>
In-Reply-To: <CAPvvaaL_RDzkmD=c_v0CujkMx3OSKz3FUQGhYQ3Q71suWMX9nA@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrNLMWRmVeSWpSXmKPExsUyM+JvjW4eR0aQwZulzBZ7/i5it1izcwKL xdTlj1ks3l9fyeLA4jHl90ZWjyVLfjJ5/H8T6DFr5xOWAJYoLpuU1JzMstQifbsErozNLReZ C9pUKr52ijUwPpXpYuTkkBAwkdiyfgkzhC0mceHeerYuRi4OIYGjjBJLzq1mgXA2MEr0bD7M CuHsZZTofTmXHcJZxyhxsOMxG0i/kMAKRomOR8kgNq+AtsTGj8uZQGwWAVWJ3v9rwHawCdhL 3JxwnR3EFhVIlrg4/xQbRL2gxMmZT1hAbBEBeYnutkVgvcwCeRIfH0DMFxZwkHj+Zh3U4r2s EpfXbQRLcAoESuxYvoANosFW4sKc6ywQtrxE89bZUM+pSVw9t4kZ4lBViav/XjFOYBSdhWT3 LCTts5C0L2BkXsXIUZxanJSbbmSwiREYIQe3/LbYwXj5r80hRmkOFiVx3o9vnYOEBNITS1Kz U1MLUovii0pzUosPMTJxcEo1MG489N3w2/x3nkqPgnlO3ok33TH9tMOpxT0aqyYl6swxV/Tq nHNoS8Zu85vFIpqVz+4uZoyLDNj7JkOaIza98PDXDdfZ3j7XuWHLV9QFjLRnm6aazA7/rxv0 YcM0GYstuQVVra/uvdkWJJB+e7VX151trsfZd/7f9fe+Ht9OI5VfSunfz/CFxyixFGckGmox FxUnAgBeOox3XgIAAA==
Cc: mmusic <mmusic@ietf.org>
Subject: Re: [MMUSIC] ICE-bis: 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: Wed, 23 Oct 2013 17:33:45 -0000
On 10/23/13 4:44 PM, Emil Ivov wrote:
> On Wed, Oct 23, 2013 at 3:31 PM, Ari Keränen <ari.keranen@ericsson.com> wrote:
>> Hi Emil,
>>
>> On Oct 22, 2013, at 6:20 PM, Emil Ivov wrote:
>>> On 22.10.13, 10:01, Ari Keränen wrote:
>>>> On Oct 22, 2013, at 2:37 AM, Emil Ivov wrote:
>>>>> On Tue, Oct 22, 2013 at 1:11 AM, Ari Keränen
>>>>> <ari.keranen@ericsson.com> wrote:
>>>>>>
>>>>>> On Oct 21, 2013, at 10:12 PM, Emil Ivov wrote:
>>>>>>
>>>>>>> I still don't get it. Why would we recommend values for
>>>>>>> different applications? We already tell applications to pace
>>>>>>> checks in accordance with expected traffic, which they
>>>>>>> supposedly can gauge better than the text in our RFC.
>>>>>>>
>>>>>>> A minimum value does make sense because it would basically say:
>>>>>>> "don't go below this value or you might brake the network or
>>>>>>> otherwise cause harm". That's actually useful advice.
>>>>>>
>>>>>> Exactly. We're not proposing (different) values for different
>>>>>> application. The proposal is to pace checks according to the
>>>>>> expected traffic. For RTP there is a formula, for other traffic
>>>>>> you're on your own (come up with formula, or what ever). The
>>>>>> "second" value is only for the cases where you don't know better
>>>>>> and should use something conservative.
>>>>>
>>>>> If you don't know better why wouldn't you just use RTP's 20 ms
>>>>> pacing given that we've already blessed it as safe and harmless and
>>>>> NAT friendly?
>>>>>
>>>>
>>>> 20 ms pacing has been blessed NAT friendly but not necessarily safe
>>>> and harmless for the rest of the network.
>>>
>>> Apparently we are happy to take the chance (5245):
>>>
>>> Experiments have shown
>>> that once every 20 ms is well supported, but not much lower than
>>> that. This is why Ta has a lower bound of 20 ms.
>>
>> Yes, with NAT binding creation.
>>
>>>> Also, if you start sending
>>>> connectivity checks faster than your uplink can handle, you'll end up
>>>> with false negatives due to dropped connectivity check packets.
>>>
>>> Sure, but a second bound of 50ms does not address this. Not more than 20ms or 500ms. You can always be on a link that will be saturated.
>>>
>>
>> Of course if the link is already fully saturated there's not much you can do (except detect that using it is a bad idea). But the chances of that happening on a non-saturated link are naturally getting lower and lower the longer pacing you have. With 500 ms pacing there aren't many real-world links (unless they're saturated) that could not handle it. Then the question is if 50 ms is "conservative enough"?
>>
>>>> Hence
>>>> I do see value in being a bit conservative if you don't know better.
>>>
>>>> But would you like to see only a single value, 20 ms, which should be
>>>> used always for pacing and no other recommended values whatsoever?
>>>
>>> Yes. If we could say, "go at a pace that emulates that of the ensuing streams, but never go below 20ms", I'd be happy.
>>
>> I agree, that's what we should say ("come up with formula or whatever for your non-RTP traffic to emulate the ensuing streams"). It's just for the cases where you don't have any good information on the ensuing streams when you'd need this second, more conservative, value to fall back to.
>
> Come on :). This sounds like trying to recommend a reasonable number
> of prayers per day.
If that's what it takes.. ;)
> Either you know what your traffic is and you
> emulate it, or you don't and in that case you just have to stay above
> 20 ms (or our potential new boundary).
So if you don't know about your traffic, you would opt to go for the
most aggressive, least conservative value? I would find it natural to be
more conservative in that case, play it safe.
> Note that "knowing what your traffic is" is not limited to knowing its
> exact bandwidth. You could also just know that it is real-time or not,
> involving user interaction or not. In all of these cases you are free
> to choose 50, 100, 500ms depending on your needs. We can certainly
> explain that rationale. This will be helpful. We could maybe even
> place an upper bound above which ICE becomes dysfunctional (just a
> thought, not saying it's necessary) but just slapping an arbitrary
> number is not helping anyone.
Yes, explaining the rationale definitely makes sense. However, what is
"safe", I'm assuming, has to do with generated traffic volume, i.e.,
bandwidth consumption, either for you, your peer, or perhaps for a DoS
attack target.
Cheers,
Ari
- [MMUSIC] ICE-bis: pacing of ICE connectivity chec… Ari Keränen
- Re: [MMUSIC] ICE-bis: pacing of ICE connectivity … Emil Ivov
- Re: [MMUSIC] ICE-bis: pacing of ICE connectivity … Martin Thomson
- Re: [MMUSIC] ICE-bis: pacing of ICE connectivity … Adam Roach
- Re: [MMUSIC] ICE-bis: pacing of ICE connectivity … Justin Uberti
- Re: [MMUSIC] ICE-bis: pacing of ICE connectivity … Emil Ivov
- Re: [MMUSIC] ICE-bis: pacing of ICE connectivity … Pal Martinsen (palmarti)
- Re: [MMUSIC] ICE-bis: pacing of ICE connectivity … Ari Keränen
- Re: [MMUSIC] ICE-bis: pacing of ICE connectivity … Ari Keränen
- Re: [MMUSIC] ICE-bis: pacing of ICE connectivity … Ari Keränen
- Re: [MMUSIC] ICE-bis: pacing of ICE connectivity … Emil Ivov
- Re: [MMUSIC] ICE-bis: pacing of ICE connectivity … Ari Keränen
- Re: [MMUSIC] ICE-bis: pacing of ICE connectivity … Emil Ivov
- Re: [MMUSIC] ICE-bis: pacing of ICE connectivity … Ari Keränen
- Re: [MMUSIC] ICE-bis: pacing of ICE connectivity … Emil Ivov
- Re: [MMUSIC] ICE-bis: pacing of ICE connectivity … Pal Martinsen (palmarti)
- Re: [MMUSIC] ICE-bis: pacing of ICE connectivity … Ari Keränen
- Re: [MMUSIC] ICE-bis: pacing of ICE connectivity … Emil Ivov
- Re: [MMUSIC] ICE-bis: pacing of ICE connectivity … Ari Keränen
- Re: [MMUSIC] ICE-bis: pacing of ICE connectivity … Ari Keränen
- Re: [MMUSIC] ICE-bis: pacing of ICE connectivity … Justin Uberti
- Re: [MMUSIC] ICE-bis: pacing of ICE connectivity … Ari Keränen