Re: [MMUSIC] Comments on draft-martinsen-mmusic-ice-dualstack-fairness-02

Ari Keränen <ari.keranen@ericsson.com> Tue, 17 March 2015 02:18 UTC

Return-Path: <ari.keranen@ericsson.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D92AF1A905B for <mmusic@ietfa.amsl.com>; Mon, 16 Mar 2015 19:18:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.901
X-Spam-Level:
X-Spam-Status: No, score=-3.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] 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 X2wqOBfwBlVh for <mmusic@ietfa.amsl.com>; Mon, 16 Mar 2015 19:18:49 -0700 (PDT)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C8F4B1A904A for <mmusic@ietf.org>; Mon, 16 Mar 2015 19:18:48 -0700 (PDT)
X-AuditID: c1b4fb3a-f79146d0000070a3-16-55078f068067
Received: from ESESSHC002.ericsson.se (Unknown_Domain [153.88.253.124]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id 4A.D3.28835.60F87055; Tue, 17 Mar 2015 03:18:46 +0100 (CET)
Received: from Aris-MacBook-Pro-2.local (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.26) with Microsoft SMTP Server id 14.3.210.2; Tue, 17 Mar 2015 03:18:45 +0100
Message-ID: <55078F12.9050605@ericsson.com>
Date: Mon, 16 Mar 2015 19:18:58 -0700
From: Ari Keränen <ari.keranen@ericsson.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version: 1.0
To: "Pal Martinsen (palmarti)" <palmarti@cisco.com>
References: <54FA6118.8030205@ericsson.com> <55679BB0-A5F2-4704-8961-AEE0E3C22BB9@cisco.com> <54FF7CEE.5000906@ericsson.com> <523E4DFF-2B45-4E46-B1AC-C809E4368EEC@cisco.com>
In-Reply-To: <523E4DFF-2B45-4E46-B1AC-C809E4368EEC@cisco.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrALMWRmVeSWpSXmKPExsUyM+JvjS5bP3uowaw/2hZzO66wWExd/pjF 4v31lSwOzB5Tfm9k9Viy5CeTx5fLn9kCmKO4bFJSczLLUov07RK4Mo6cOc1csFynovlgM1MD 40XlLkZODgkBE4nPc1ezQ9hiEhfurWfrYuTiEBI4wiix5EkPO4SzhVHi39UbQBkODl4BbYmV k1lBGlgEVCUO/rjMCGKzCdhKrH51kwXEFhVIluhoXwVWwysgKHFy5hOwuIiAsUTzkaNgM5kF 5jNK3JnTwQSSEBbwlDjz+D8LxLK1jBIPz39mBlnGCTR16zNukBpmAQuJmfPPM0LY8hLNW2cz g9hCQEdc/feKcQKj4Cwk+2YhaZmFpGUBI/MqRtHi1OLi3HQjI73Uoszk4uL8PL281JJNjMAg Prjlt9UOxoPPHQ8xCnAwKvHwGrizhQqxJpYVV+YeYpTmYFES57UzPhQiJJCeWJKanZpakFoU X1Sak1p8iJGJg1OqgbGglV2K+bG9QtWP6ZVVrtOSzxiIelbpGwtf7NXfsSFLTKDj6O+3s5rl te7x/9wiHHOA4/6Z8P71z6SfrOB1UYh7dUhgx6TQj6eDj9rExdn7/ZsQYaYxVWyq9ba9IdOz hX/KfP4Z/3KN7j61X4c/pW81e7yveZXps+MKOmuz/GLrqy/tXiDLGqLEUpyRaKjFXFScCAAU JXIxQwIAAA==
Archived-At: <http://mailarchive.ietf.org/arch/msg/mmusic/2KfWZPx9r53saRusjLQI-XdAGuI>
Cc: mmusic <mmusic@ietf.org>, "draft-martinsen-mmusic-ice-dualstack-fairness@tools.ietf.org" <draft-martinsen-mmusic-ice-dualstack-fairness@tools.ietf.org>
Subject: Re: [MMUSIC] Comments on draft-martinsen-mmusic-ice-dualstack-fairness-02
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
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: Tue, 17 Mar 2015 02:18:52 -0000

On 12/03/15 01:29, Pal Martinsen (palmarti) wrote:
>
>> On 11 Mar 2015, at 00:23, Ari Keränen <ari.keranen@ericsson.com> wrote:
>>
>> On 09/03/15 01:48, Pal Martinsen (palmarti) wrote:
>>>> On 07 Mar 2015, at 03:23, Ari Keränen <ari.keranen@ericsson.com>
>>>> wrote:
>>>> 3.  Improving ICE Multihomed Fairness
>>>>
>>>> Candidates from a interface known to the application to provide
>>>> unreliable connectivity SHOULD get a low candidate priority.  This
>>>> ensures they appear near the end of the candidate list, and would
>>>> be the last to be tested during the connectivity check phase.
>>>> This allows candidate pairs more likely to succeed to be tested
>>>> first.
>>>>
>>>> I think this is already covered by regular ICE (e.g., in RFC5245
>>>> section 4.1.2.1) and I would not go as far as to say one SHOULD
>>>> prefer a reliable interface over e.g., fast and cheap one.
>>>
>>> The idea was to get a working candidate pair as quick as possible. I
>>> did not take into account that the priority will also affect what
>>> candidate pair will be chosen when ICE is finished.
>>
>> The candidate that works most likely would be the relayed candidate. But
>> obviously preferring that in general is not a good idea.
>
> Yes. And the draft stays well away from doing anything with the type preference.
> If you had lots of IPv6 relayed candidates and a few IPv4 candidates the fairness algorithm would make sure those candidates was mixed together.
>
> In other words each block of type preferences (HOST, RFLX and RELAY) would get their IPv4 and IPv6 candidates more fairly sorted.
>
> I think the draft might be better at explaining that.
>
>>
>>> The continuous  nomination proposal will solve this (Hopefully). My
>>> goal with the draft is to sort the ICE checklist in the most optimal
>>> manner so having a usable (but maybe not preferable?) candidate pair
>>> as quick as possible without relying on the default candidate. (Maybe
>>> mentioning this in the introduction would be helpful?)
>>
>> I assumed the goal of the draft was to fix/alleviate the problem with
>> broken IPv6 paths.
>>
>
> Yes, you are right. Using optimal was way to strong.
>
> One of the design philosophy behind ICE is that it should make no assumptions regarding the network. In my opinion it does assume that IPv6 works better than IPv4 by putting  all the IPv6 candidates in front of the IPv4 candidates in the checklist.

ICE prefers IPv6 candidates to facilitate the transition to IPv6, not 
necessarily because they are assumed to (currently) work better. That 
said, they ended up being occasionally considerably worse and now we're 
doing this work to fix that problem.

>> Considering that continuous nomination work has just started, relying on
>> that mechanism to fix something that is defined here sounds risky. And
>> hopefully this fix applies also to vanilla ICE.
>>
>
> Agreed.
>
> Having a pointer in the draft to ICE section 8 Concluding ICE. Using this with regular nomination works without any problems as the agent can choose what pair to nominate. With aggressive nomination I think there is a chance that the pair being used is not the preferred one. Following IETF guidelines for IPv6 transitions I think they say something about IPv6 should be preferred over IPv4, this draft will break that with aggressive nomination. I think that is a minor problem, the HOST, RFLX and RELAY priorities are still intact.

We should consider carefully also in this draft how to make sure this 
does not hurt the transition to IPv6. The fact that we do still check 
some IPv6 addresses before IPv4 addresses at least helps, but I wonder 
if we can do more. Can we perhaps use history information of v6 
brokenness like in the original happy eyeballs and occasionally give v6 
again higher priority?

>>>> Therefore, I would recommend to keep the scope of this document in
>>>> dual-stack.
>>>>
>>>
>>> This is where we need to have a WG discussion. My perception from
>>> last IETF meeting was that just solving the dual-stack problem was a
>>> bit narrow. Solving the problem regarding unreliable tunnels
>>> (Interfaces) would add more value.
>>
>> IPv6 provided by tunneling, which we discussed at the last meeting, is
>> in the scope of the draft. Whether, or to what extent, we want or need
>> to address other tunneling issues, I’m not sure.
>>
>
> Ok. Deprioritising certain types of IPv6 addresses was possible in the previous revisions of the draft.
>
> I will be happy to stay focused on IPv4/IPv6 dual stack without expanding the draft to deal with more general. But both of them needs to play with the local_preference value so combining them would make it easier for developers.

And that is already allowed by RFC5245, and will be allowed by 5245bis. 
But let's make sure we don't break that possibility here. And focus with 
this draft on the dual-stack issue.


Cheers,
Ari

>>> Dual-stack is really just a special case of multihomed. Because of
>>> this it might make sense to broaden the scope of the draft to include
>>> multihomed devices?
>>
>> In that area also the MIF WG has done a fair amount of work. For
>> example, this seems relevant:
>> https://tools.ietf.org/html/draft-ietf-mif-happy-eyeballs-extension-06
>>
>> Reviewing the work done in that area would be a good idea.
>>
> Yes, at least one of the authors of the draft is active in that group. The draft started out as ICE-happy-eyeballs, but we moved away from that solution so a renaming to fairness was appropriate.
>
> .-.
> Pål-Erik
>
>>
>> Cheers,
>> Ari
>