Re: [LOOPS] [nwcrg] IETF106: LOOPS side meeting on Tuesday 08:30, Orchard Room

"Zhouxingwang (Joe)" <zhouxingwang@huawei.com> Fri, 20 December 2019 01:36 UTC

Return-Path: <zhouxingwang@huawei.com>
X-Original-To: loops@ietfa.amsl.com
Delivered-To: loops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EF76012008D for <loops@ietfa.amsl.com>; Thu, 19 Dec 2019 17:36:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 RsmawGvV8UoV for <loops@ietfa.amsl.com>; Thu, 19 Dec 2019 17:36:27 -0800 (PST)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AB4A1120013 for <loops@ietf.org>; Thu, 19 Dec 2019 17:36:26 -0800 (PST)
Received: from lhreml702-cah.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id DC02652C741C2B4F5CCF for <loops@ietf.org>; Fri, 20 Dec 2019 01:36:24 +0000 (GMT)
Received: from nkgeml701-chm.china.huawei.com (10.98.57.156) by lhreml702-cah.china.huawei.com (10.201.108.43) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 20 Dec 2019 01:36:23 +0000
Received: from dggeme758-chm.china.huawei.com (10.3.19.104) by nkgeml701-chm.china.huawei.com (10.98.57.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5; Fri, 20 Dec 2019 09:36:21 +0800
Received: from dggeme758-chm.china.huawei.com ([10.6.80.69]) by dggeme758-chm.china.huawei.com ([10.6.80.69]) with mapi id 15.01.1713.004; Fri, 20 Dec 2019 09:36:20 +0800
From: "Zhouxingwang (Joe)" <zhouxingwang@huawei.com>
To: Colin Perkins <csp@csperkins.org>
CC: Liyizhou <liyizhou@huawei.com>, Carsten Bormann <cabo@tzi.org>, "loops@ietf.org" <loops@ietf.org>, "nwcrg@irtf.org" <nwcrg@irtf.org>
Thread-Topic: [LOOPS] [nwcrg] IETF106: LOOPS side meeting on Tuesday 08:30, Orchard Room
Thread-Index: AQHVtJCXFSjuUH7vWkSxcvxymuEBKae9rDOAgAOrADD//9JsAIABEmdw
Date: Fri, 20 Dec 2019 01:36:20 +0000
Message-ID: <da8da93a58d048d2b8a7dcb0663b881e@huawei.com>
References: <AAF1E19E-37C1-4A9D-B92A-621054B06AF6@tzi.org> <c172b80c-04ee-9786-153f-9e1dda57fdd8@steinwurf.com> <3D026CEF-AF7D-4CDE-8A5B-8CE5DCF749D1@tzi.org> <163A8040-9B13-43AA-8917-F75D984B0EBF@tzi.org> <26708398-5DEB-478E-8CB8-D406A8B874FF@tzi.org> <7DC0B005-8BA2-4D80-8CDF-4E2AE7EA96F3@tzi.org> <4a45b97df9e54e0abb4f5c9a0e7ce4ff@huawei.com> <8451B22E-8D91-406E-852B-F21B79DEBEB6@csperkins.org> <98c3009ab0054054af3f71aba4d52d58@huawei.com> <E89B8107-F643-4DB8-B0DE-A1457B17DA1A@csperkins.org>
In-Reply-To: <E89B8107-F643-4DB8-B0DE-A1457B17DA1A@csperkins.org>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.134.27.230]
Content-Type: multipart/alternative; boundary="_000_da8da93a58d048d2b8a7dcb0663b881ehuaweicom_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/loops/t6WEEYbJhbPmHiF6sw8daEwKLWE>
Subject: Re: [LOOPS] [nwcrg] IETF106: LOOPS side meeting on Tuesday 08:30, Orchard Room
X-BeenThere: loops@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Local Optimizations on Path Segments <loops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/loops>, <mailto:loops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/loops/>
List-Post: <mailto:loops@ietf.org>
List-Help: <mailto:loops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/loops>, <mailto:loops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Dec 2019 01:36:30 -0000

Hi Colin,

Now we synced ☺

It seems egress needs to know the forward RTT to make a good logic of the retransmission requests, the RTT needs to be communicated from ingress, it is non-trivial~~

Thanks
Joe

From: Colin Perkins [mailto:csp@csperkins.org]
Sent: Friday, December 20, 2019 12:51 AM
To: Zhouxingwang (Joe) <zhouxingwang@huawei.com>
Cc: Liyizhou <liyizhou@huawei.com>; Carsten Bormann <cabo@tzi.org>; loops@ietf.org; nwcrg@irtf.org
Subject: Re: [LOOPS] [nwcrg] IETF106: LOOPS side meeting on Tuesday 08:30, Orchard Room

Joe,

I think you misunderstood my email.

I did not suggest statically configuring the timeout. The appropriate value clearly depends on the RTT. LOOPS can give guidance on how it relates to the RTT.

I also did not suggest setting N at both ingress and egress. How often to request retransmissions is a purely local decision at the egress. The ingress does not need to know, or care, how often the egress might send retransmission requests.

Colin




On 19 Dec 2019, at 11:35, Zhouxingwang (Joe) <zhouxingwang@huawei.com<mailto:zhouxingwang@huawei.com>> wrote:

Hi,

Statically configuring a timeout (the period that the ingress will keep the packets in its buffer) is a little bit dangerous, because the local RTT may vary and is not known in advance. If the timeout value is shorter than the real local RTT, it will be bad for LOOPS. So setting an N (how many times a lost packet to be retransmitted, once per RTT) in the system is more preferred.
To simplify the logic, I don’t think setting N at both ingress and egress side is a good idea, because it will make things complicated and N may be set inconsistently by mistake, so setting N and triggering/terminating the retransmission only at one side is better.

Some thinking of this:
1) Set N and make decision at ingress only
   Pros: ingress knows RTT, it will perform N times retransmission and once per RTT well, and expires the packets after N*RTT from the buffer
   Cons: egress needs to know N and RTT, and still have a logic to stop asking for the lost packets

2) Set N and make decision at egress only
   Pros: nearly no logic at ingress, egress keeps asking for lost packets by NACK, and after N*RTT (communicated by ingress) it will pretend it has got them and send ACK to ingress to let it clear the packets from retransmission buffer. Ingress just needs a big enough buffer to hold the packets waiting to be retransmitted, and once the buffer is full the new packet just replace the earliest one
   Cons: forward RTT needs to be communicated from ingress to egress

Thanks
Joe

-----Original Message-----
From: LOOPS [mailto:loops-bounces@ietf.org] On Behalf Of Colin Perkins
Sent: Tuesday, December 17, 2019 7:33 PM
To: Liyizhou <liyizhou@huawei.com<mailto:liyizhou@huawei.com>>
Cc: Carsten Bormann <cabo@tzi.org<mailto:cabo@tzi.org>>; loops@ietf.org<mailto:loops@ietf.org>; nwcrg@irtf.org<mailto:nwcrg@irtf.org>
Subject: Re: [LOOPS] [nwcrg] IETF106: LOOPS side meeting on Tuesday 08:30, Orchard Room

Hi,

Is not the ingress logic the same for single or multiple retransmissions? The ingress node will maintain a queue of packets that have been sent and can be retransmitted. Packets expire from the queue if an ACK for their sequence number is received, or after a certain amount of time. Packets are retransmitted if a retransmission request arrives before they expire. You need the timeout to expire packets in case ACKs are lost, so whether the ingress supports single or multiple retransmissions is just a case of configuring the timeout.

If you somehow communicate that timeout to the egress node, then it can make a local decision on whether to make one or more retransmission requests for a lost packet. This would give the egress flexibility to pick an appropriate retransmission request strategy without needing to standardise what that strategy is. LOOPS would define the mechanism and give guidance on choice of the ingress expiration timeout.

Colin




On 17 Dec 2019, at 04:14, Liyizhou <liyizhou@huawei.com<mailto:liyizhou@huawei.com>> wrote:

Hi Carsten and all,

Thanks for putting all these together.

I would like to have a follow-up discussion regarding single retransmission vs. multiple retransmission.

There is a potential choice to design a single retransmission mode *only* mechanism. The reason we might want to do it is the design is easier comparing with a generic retransmission mechanism allowing both single or multiple retransmission by parameter configuration.

For example,  LOOPS egress can mark a lost packet directly as "received" after it feedbacks a few ACKs to indicate a lost packet. Ingress removes the packet from its cache after a single retransmission. Once the retransmitted packet reaches the egress, egress simply forwards it. Such a mechanism only works for single retransmission.
In this way, egress has a simple logic to decide when to stop sending the indication about a "lost" packet.  And the ingress does not need a logic to control whether and when 2nd and later retransmissions should be performed.

In multiple retransmission, it has to be more carefully designed to sync up when the egress gives up asking for retransmission and  when the ingress can remove the packet from its cache since no more retransmission is required.  As LOOPS does not provide 100% reliability, normally egress side should be the one determines when to give up asking for retransmission. Then egress needs to know the local forward RTT if multiple retransmission is expected.

So single retransmission *only* can be worth considering. It is a design choice more than an implementation choice to me.
If there is a simple and efficient way to unify both, I would be more than happy to learn.

Thanks,
Yizhou

-----Original Message-----
From: nwcrg [mailto:nwcrg-bounces@irtf.org] On Behalf Of Carsten Bormann
Sent: Monday, December 16, 2019 4:22 AM
To: loops@ietf.org<mailto:loops@ietf.org>
Cc: nwcrg@irtf.org<mailto:nwcrg@irtf.org>
Subject: Re: [nwcrg] [LOOPS] IETF106: LOOPS side meeting on Tuesday 08:30, Orchard Room

Thanks again everyone for the participation at the LOOPS side meeting and in our slot at the NWCRG meeting.

I have compiled more detailed notes, with links to/copies of the meeting materials, at

https://github.com/loops-wg/ietf106

Please do have a look at the notes, specifically [1] and [2], and send corrections and additions.  Also, there were a few items in the NWCRG discussion where there may be results that we already can point to; as Marie-Jose said, please send them to both mailing lists.

Grüße, Carsten

[1]: https://github.com/loops-wg/ietf106/blob/master/ietf106-loops-side-meeting.md
[2]: https://github.com/loops-wg/ietf106/blob/master/ietf106-nwcrg-loops.md

_______________________________________________
nwcrg mailing list
nwcrg@irtf.org<mailto:nwcrg@irtf.org>
https://www.irtf.org/mailman/listinfo/nwcrg
--
LOOPS mailing list
LOOPS@ietf.org<mailto:LOOPS@ietf.org>
https://www.ietf.org/mailman/listinfo/loops



--
Colin Perkins
https://csperkins.org/




--
LOOPS mailing list
LOOPS@ietf.org<mailto:LOOPS@ietf.org>
https://www.ietf.org/mailman/listinfo/loops