Re: [v6ops] Lars Eggert's No Objection on draft-ietf-v6ops-transition-comparison-03: (with COMMENT)

Brian E Carpenter <brian.e.carpenter@gmail.com> Mon, 02 May 2022 21:38 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B4E9EC159525; Mon, 2 May 2022 14:38:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.955
X-Spam-Level:
X-Spam-Status: No, score=-3.955 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-1.857, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0ngO9fM9sqYQ; Mon, 2 May 2022 14:38:53 -0700 (PDT)
Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5D2CCC14F746; Mon, 2 May 2022 14:38:53 -0700 (PDT)
Received: by mail-pj1-x102d.google.com with SMTP id o69so12381537pjo.3; Mon, 02 May 2022 14:38:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ERgrkl/lNpn+x9o0nhxG8H2SH8Acp7mtslQqbHgOdnI=; b=kv4dw0Zj4Wmcd+39BkkmBP3/JRBEBjxHFXBrZpIp9I0ng1IqIQ9OewfnEtueQ70ii+ S8W+pyLVgxMFztjYDni0idS8z3Eg4oHfyviVPDTo7/sRY0nL6JrJSsRhXo5gt98jDwzS 0pDVV2y5/whKaimZJ5XeBkahj4fBc9S/aqcycNohwYDKqfk2xk3g+Dv6hIHFXpLQqgHw CqPV2v6QIgXMxrsEsNTk7rChPX/X4u+KwINd64HCVLYjC2LmWztx3BnuU5gL5AVXF1ZE kPKpK3YRKiUkjXUXEXd5nESB+IX+Zk8sDhXjYs+3BVDLjwjOqLIP/2818+64s8ddYHJ8 Le+g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ERgrkl/lNpn+x9o0nhxG8H2SH8Acp7mtslQqbHgOdnI=; b=mYcs3803sIK5W6gT8+dXx7WW3bEcndrWnBTwFaeLI8zytsSHlrTiec9RWMs02awoWm Dn1DE+BxOBVe+R1i6vqhxsImG0hs6uTKgU+KRyEBwPYJmlqSkfXxXkW617vz8DuWj2k+ j4qtFcvyw5Rh/93Lm1qvLuh+ax/Pr2Rm9bXpkkYXjb2m4q2EPQUxqB5ylbeFP9C13GLb /fU9xpWrxTEp9oqplQ+Jw6/FSYJ+sJJUnIuEXi4DTCblHEfIM1pwZUG4tjL3d0I52zPX /ByJr9OjEIZMzIfJMufUV2XD0KVZMHiyj7nWcqJWh/FKSpwczo2tqEKNGK2LtaEy7IRC 2Mrg==
X-Gm-Message-State: AOAM530bzp9N5pu57ajNuS8WYcmIGpKKGGyqyDADvt4oBpJhEzFrX2JO Vpl8Ha0P08TPuFcP1wNaqui4xa2WGOLDzg==
X-Google-Smtp-Source: ABdhPJyJJEEb6+oK0dSbBQ2idwQ83qKUl38P8nrDei3Y+k5Uo4EymTBAED0L8ygp8az29A3+YbFD3Q==
X-Received: by 2002:a17:90b:1d09:b0:1dc:67b8:983f with SMTP id on9-20020a17090b1d0900b001dc67b8983fmr1252630pjb.1.1651527532514; Mon, 02 May 2022 14:38:52 -0700 (PDT)
Received: from ?IPv6:2406:e003:1005:b501:80b2:5c79:2266:e431? ([2406:e003:1005:b501:80b2:5c79:2266:e431]) by smtp.gmail.com with ESMTPSA id y15-20020a1709027c8f00b0015e8d4eb221sm5060997pll.107.2022.05.02.14.38.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 02 May 2022 14:38:51 -0700 (PDT)
To: Gábor LENCSE <lencse@hit.bme.hu>, Lars Eggert <lars@eggert.org>
Cc: draft-ietf-v6ops-transition-comparison@ietf.org, v6ops-chairs@ietf.org, The IESG <iesg@ietf.org>, v6ops@ietf.org
References: <165045651934.9634.14647851306453321006@ietfa.amsl.com> <e8169ae4-3bdd-778c-07b3-7b051b2f12ac@hit.bme.hu> <4CBBF33C-00E0-46E8-9DEA-7CB026AC768C@eggert.org> <197ad3f6-ed9d-541d-9c4b-327f106dc746@hit.bme.hu>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <9eadc762-fcf9-9d25-7f0c-414f7c4f2284@gmail.com>
Date: Tue, 03 May 2022 09:38:46 +1200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <197ad3f6-ed9d-541d-9c4b-327f106dc746@hit.bme.hu>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/wZ3sQPMGKuI5USqMCzWQjkeporM>
Subject: Re: [v6ops] Lars Eggert's No Objection on draft-ietf-v6ops-transition-comparison-03: (with COMMENT)
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 May 2022 21:38:57 -0000

Gábor,

> None of us reached 270 ports, thus I think that [MIY2010] can still be a good upper bound.

I would guess that Lars is suggesting that 4 devices per household is too 
low these days. My household of two people routinely has 4 devices on line all day (two PCs and two Android phones), so it seems likely that assuming 4 is the "typical maximum" is risky today, especially with the marked 
trend towards WFH since the pandemic.

Regards
    Brian Carpenter

On 03-May-22 08:29, Gábor LENCSE wrote:
> Dear Lars,
> 
> 5/2/2022 3:14 PM keltezéssel, Lars Eggert írta:
>> Hi,
>>
>> On 2022-5-2, at 15:39, Gábor LENCSE<lencse@hit.bme.hu>  wrote:
>>>>>     Often it is assumed that each user-device (computer, tablet,
>>>>>     smartphone) behind a NAT, could simultaneously use about 300 ports.
>>>>>     Typically, in the case of a residential subscriber, there will be a
>>>>>     maximum of 4 of those devices in use simultaneously, which means a
>>>>>     total of 1,200 ports.
>>>>>
>>>> Is there a reference for these numbers? They seem awfully low.
>>> Shin Miyakawa has performed detailed measurements. (In his paper, 270 
ports per application was the maximum, thus our 300 is an upper bound.)
>>> We have cited his paper as follows:
>>>     According to [MIY2010], each user-device (computer, tablet,
>>>     smartphone) behind a NAT, could simultaneously use up to 300 ports.
>>>     In the case of a residential subscriber, there will be typically a
>>>     maximum of 4 of those devices in use simultaneously, which means a
>>>     total of 1,200 ports.
>> that paper was published in 2010, so the data is at least twelve years 
old. Should a recommendation in 2022 be based on it?
> 
> I tried to find some more up-to-date results, but Google Scholar gives my paper as the first hit for: "port number consumption"
> 
> G. Lencse, "Estimation of the Port Number Consumption of Web Browsing", 
/IEICE Transactions on Communications/, Vol. E98-B, No. 8. pp. 1580-1588. 
DOI: 10.1587/transcom.E98.B.1580
> 
> Public full text is available: http://www.hit.bme.hu/~lencse/publications/e98-b_8_1580.pdf
> 
> It is from 2015, but I focused on web browsing only.
> 
> (If you want, I can cite it too, but I do not want to push my own papers. And the paper of Miyakawa is gold open access, mine is only green.)
> 
> 
> The second hit is the paper of my students, who also did similar measurements using various browsers and operating systems:
> 
> S. Répás, T. Hajas and G. Lencse, "Port Number Consumption of 
the NAT64 IPv6 Transition Technology", /Proceedings of the 37th International Conference on Telecommunications and Signal Processing (TSP 2014)/, (Berlin, Germany, 2014. July, 1-3.) Brno University of Technology, pp. 66-72. DOI: 10.1109/TSP.2015.7296411
> 
> Public full text is available: http://www.hit.bme.hu/~lencse/publications/TSP-2014-PC.pdf
> 
> None of us reached 270 ports, thus I think that [MIY2010] can still be a good upper bound.
> 
> 
> The list of hits is somewhat suspicious for me, there are too many papers related to my group:
> https://scholar.google.hu/scholar?hl=hu&as_sdt=0%2C5&q=%22port+number+consumption%22&btnG=
> 
> (The search without quotes gives a lot of unrelated papers using the words in their other meanings.)
> 
> So unfortunately, I cannot present significantly newer results or results from other researchers in this topic.
> 
> 
> It would be so nice, if some network operators could share their experience! :-)
> 
> 
>>>>> 4.2.  Tradeoff between Port Number Efficiency and Stateless Operation
>>>>>
>>>> I'm missing some text in this section that clearly describes the bad 
and hard to
>>>> debug consequences of assigning too few ports to an end user, and ideally a
>>>> recommendation to assign a conservatively large number of ports.
>>> As far as I know, MAP-T has some significant deployments e.g. in Japan, thus operator experience should exist.
>>>
>>> Is there anyone on the v6ops list, who has experience with MAP-T/E?
>>>
>>> As far as I know, a port set size of 2048 is commonly used with MAP-T. E.g. it can be seen in this example:https://www.jool.mx/en/run-mapt.html
>>>
>>> Therefore, I think that this size of port set does not cause any problem. (Otherwise, they would not use it.)
>>>
>>> So I am not sure if it is right to add such text as recommended above. But I am ready to do so, if those, who have experience, can confirm it.
>> So clearly there can be issues when too few ports are assigned per user; the document even anecdotally summarizes the old Google Maps experiment. And since this section intends to describe the tradeoffs, it should discuss what happens if someone turns the know too aggressively.
>>
>> That some configuration has picked a setting that seems to be ok is nice, but doesn't really help readers understand the tradeoff and how to spot problematic choices.
> 
> The consequence of assigning too few port numbers to an end user is already described in the draft as follows:
> 
>     On the one hand, the "lack of ports" situation may cause serious
>     problems in the operation of certain applications.  For example,
>     Miyakawa has demonstrated the consequences of the session number
>     limitation due to port number shortage on the example of Google Maps
>     [MIY2010  <https://datatracker.ietf.org/doc/html/draft-ietf-v6ops-transition-comparison#ref-MIY2010>].  When the limit was 15, several blocks of the map were
>     missing, and the map was unusable.  This study also provided several
>     examples for the session numbers of different applications (the
>     highest one was Apple's iTunes: 230-270 ports).
> 
> There is another sentence recommending the usage of enough port numbers:
> 
>     There may be several users behind a CE router, especially in the
>     broadband case (e.g.  Internet is used by different members of a
>     family simultaneously), so sufficient ports must be allocated to
>     avoid impacting user experience.
> 
> In addition to that, what do you think of adding the following text (based on your suggestion)?
> 
> In general, assigning too few source port numbers to an end user may results in unexpected and hard to debug consequence, therefore, if the number of ports per end user is fixed, then we recommend to assign a conservatively large number of ports. E.g. the developers of Jool used 2048 ports 
per user in their example for [MEX2022].
> 
> Where the reference is:
> 
> [MEX2022] https://www.jool.mx/en/run-mapt.html
> 
> It is not yet in the XML file, but I am happy to include it if you agree, and others do not oppose it.
> 
>> Section 5, paragraph 1, comment:
>>
>>>>> 5.  Performance Comparison
>>>>>
>>>> This section is entirely about future work, which could IMO be removed before
>>>> the RFC is published. (This should go into
>>>> I-D.lencse-v6ops-transition-benchmarking.)
>>>>
>>> I think removing Section 5 completely would be an easy solution, but not the best one. I am convinced that in some cases, performance can be an important decision factor for network operators. Therefore, I would like to draw the attention of the readers our our document for the importance of the performance characristics of the various implementations of the five IPv4aaS technologies and also provide them with a pointer to I-D.lencse-v6ops-transition-benchmarking.
>> But work on draft-lencse-v6ops-transition-benchmarking seems to have just started, and the -00 document (which already expired) is basically completely empty. So there really isn't anything to refer a reader to?
> 
> Unfortunately, I did not have time to deal with it until now. However, today I have added real content. The -01 version is available here: https://datatracker.ietf.org/doc/html/draft-lencse-v6ops-transition-benchmarking
> 
> And I plan to add further content during the upcoming 2-3 years as soon 
as my team produces measurement results.
> 
> We need some time for developing RFC 8219 compliant special-purpose measurement programs for each technology and then to perform the rather time 
consuming measurements. This is why I started a separate draft for the performance measurement results to let draft-ietf-v6ops-transition-comparison published as an RFC.
> 
> Best regards,
> 
> Gábor
> 
>> Thanks,
>> Lars
>>
>>
> 
> 
> _______________________________________________
> v6ops mailing list
> v6ops@ietf.org
> https://www.ietf.org/mailman/listinfo/v6ops
>