Re: [EToSat] What we are looking for from QUIC

François Michel <francois.michel@uclouvain.be> Wed, 11 December 2019 15:12 UTC

Return-Path: <francois.michel@uclouvain.be>
X-Original-To: etosat@ietfa.amsl.com
Delivered-To: etosat@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9C90F120820 for <etosat@ietfa.amsl.com>; Wed, 11 Dec 2019 07:12:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=uclouvain.be
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 hND6U5ppGn2s for <etosat@ietfa.amsl.com>; Wed, 11 Dec 2019 07:12:53 -0800 (PST)
Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50125.outbound.protection.outlook.com [40.107.5.125]) (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 C8178120088 for <etosat@ietf.org>; Wed, 11 Dec 2019 07:12:52 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eh8i9fONYZtCM9zeTlISvqrt1QkgaySSnoJxD2ovvSiIgqCMyI1c1vH1pU0dAXmUEBUUNLFs2xdKGts/8g3+cdhHhdWUaj8r0hstbBFRQN+D3zIoo/XbuyVq/G8dprhKHTGSG/tEOcsoEOO5LSjzsIuKYqPVF2623aw2CIu0XrXmtQ+NC+rSWRZkhGDXCn/ryDjXTH+qlG9rel9osTJmCrjyn/h1ptgjLP9EUQpNXtv/iFj3AWC2R9FZryEsnnkl2eAeQEVVes57aln77rkPN1NMOn+bLCSzdIaCccqvteS834W5foAEaUIC9N/eKbnZFJ9JtcT2+dR8LRp0pbNV0A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sfqsxoIksmbsuBlMwKrZQ9cn6P1z8fiEVDtujitrCvU=; b=ZYxpopriCC1JwtrJ/Ciut318oA9tIDsW/FTdArWLq8Cuy3+TJQijSDRuz9pp1x3HS5FcnnvApICZXIJ2RBv0uFozUCOwhktS3lvn2Z5+Mvqu3SXHO4fumXd5ieZsVAcAl2JC0g4AGaPQAc/akAe56Dv8AGqP6MnKN02FXdjTXOKvHCjBKVEkoBIFWoQX3rx1lpkFzIFzDqYFIQQJmWvUDQAEiCoWcQ6SFVPB1lTblLAf/LoHJ1p1vCIl+dG0+3v8Vpre4n4jyzqYeFZkoQkRZp48N3uGe+ZmVxALvdhMITA65fl/Ub1iRADANe0VX+daHzT+Y5wHq9/jmOH451UyBw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=uclouvain.be; dmarc=pass action=none header.from=uclouvain.be; dkim=pass header.d=uclouvain.be; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uclouvain.be; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sfqsxoIksmbsuBlMwKrZQ9cn6P1z8fiEVDtujitrCvU=; b=aGKhJL1nOIilxOKe+37adfRW8icAwkxFH3tGHlLdLW/c8Lfd1cfSYSbamaLwzGyGqU1Uyl8syJOFdcCR9XfKeKiBjhQdKzZTyAi4qXyQrVutkjxyPZ0MBJxYjqCds7gFhw9SfpCzQN9JvlcHKZtyAyMgZ3lp95VfHUonv8Z43Tw=
Received: from AM6PR03MB4248.eurprd03.prod.outlook.com (20.177.32.221) by AM6PR03MB5186.eurprd03.prod.outlook.com (10.255.22.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2538.15; Wed, 11 Dec 2019 15:12:49 +0000
Received: from AM6PR03MB4248.eurprd03.prod.outlook.com ([fe80::a9f5:1543:c449:59c3]) by AM6PR03MB4248.eurprd03.prod.outlook.com ([fe80::a9f5:1543:c449:59c3%7]) with mapi id 15.20.2538.012; Wed, 11 Dec 2019 15:12:49 +0000
From: François Michel <francois.michel@uclouvain.be>
To: "Su, Chi-Jiun" <Chi-Jiun.Su@hughes.com>, "morten@steinwurf.com" <morten@steinwurf.com>
CC: "etosat@ietf.org" <etosat@ietf.org>
Thread-Topic: [EToSat] What we are looking for from QUIC
Thread-Index: AdWqBvqSpD0dZHfeQqedFPfMiHoxPwEe5tAAAARH8DAACdnqgAA1zDegAAJm3IAAJWjm4AAA+V8A
Date: Wed, 11 Dec 2019 15:12:49 +0000
Message-ID: <fcb29545-e1e9-2e62-b24e-3b34f565e871@uclouvain.be>
References: <SN6PR11MB308798A993C4C67CF898A4E5CE580@SN6PR11MB3087.namprd11.prod.outlook.com> <5D6C8912-FF49-4C03-886B-C4509DA7EA16@huitema.net> <BYAPR11MB30789EC9EF9F6F9725845F4DCE5B0@BYAPR11MB3078.namprd11.prod.outlook.com> <01cee9b3-7cc9-d051-1afc-b669d32cec29@steinwurf.com> <BYAPR11MB3078177B24AB04D3282EB805CE5A0@BYAPR11MB3078.namprd11.prod.outlook.com>
In-Reply-To: <BYAPR11MB3078177B24AB04D3282EB805CE5A0@BYAPR11MB3078.namprd11.prod.outlook.com>
Accept-Language: en-GB, fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: AM0PR0402CA0001.eurprd04.prod.outlook.com (2603:10a6:208:15::14) To AM6PR03MB4248.eurprd03.prod.outlook.com (2603:10a6:20b:3::29)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=francois.michel@uclouvain.be;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [2001:6a8:308f:2:5ab1:5508:65bd:46bc]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 5b2dfdf2-0b67-4b19-e5d3-08d77e4c95c6
x-ms-traffictypediagnostic: AM6PR03MB5186:
x-microsoft-antispam-prvs: <AM6PR03MB51861B9FC2099E431B3E67B5865A0@AM6PR03MB5186.eurprd03.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:7691;
x-forefront-prvs: 024847EE92
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6029001)(4636009)(346002)(136003)(366004)(396003)(39860400002)(376002)(51914003)(189003)(199004)(13464003)(51444003)(66446008)(64756008)(2906002)(316002)(786003)(6506007)(86362001)(4326008)(66946007)(110136005)(966005)(66556008)(66476007)(85182001)(71200400001)(8676002)(6486002)(31696002)(66574012)(478600001)(5660300002)(6512007)(31686004)(52116002)(85202003)(2616005)(36756003)(81166006)(53546011)(186003)(8936002)(81156014)(562404015); DIR:OUT; SFP:1102; SCL:1; SRVR:AM6PR03MB5186; H:AM6PR03MB4248.eurprd03.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: uclouvain.be does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: i+5HhswtXWxOJC6mm/PFrDI1FHQAVtmiSk3Hrfd9CkFi/02wG3Hlr3TM432kOG+KQ6PYhe4mCBSZ+lkH0tGxDSSDtB4YlEcHqVXNDv3/HUShnNniI8XgTXGCzzKOYGWO7Iq/gMIlWMmjR6AP2Xw2hkagFdVG+8lnveqXrtmEeusydUzm9gjdPsnXKmR4z0KRfa2ocFmMWEMJKzdc+3OtHGRHAAK1H05ronDOI1siir8zXQ2G58WcTv0/UTTCZ1RGIrmZlEdncXzpC2epZplTmmsfyMrZqjBvFZz9S+GpKiXK1V0m/LDKFUNLkOy6HkaqzlcZse962H4vKRsJ9oNQHGj4P2pTJLX30SvK5Fb0/esRABWBCb1xlwN9LEcM1Gph2xqbkdeRNt7rIfH5wlwacK+4m1ojK04rBBKlVfNkBRIE7e0mzZinzavKEndonvsph5B8Pr3o5WPujJ6QUk8M92RnFZ5fpMSNjgeDzw3raCE7qV6UBhYRiq3CThGLbvy/8n3ImdOWejH4509dEXWVAQhH5RouDL25TjyiuLiR6lCvKlKipVR/iNwHxuyTH7/Kn6HlUxZT6Akx73LHNTJMRAzwA/1zvBpETlv+nSAkAXM=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <B714EF83711ACA498AA3CCD7BE316D1C@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: uclouvain.be
X-MS-Exchange-CrossTenant-Network-Message-Id: 5b2dfdf2-0b67-4b19-e5d3-08d77e4c95c6
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Dec 2019 15:12:49.3028 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 7ab090d4-fa2e-4ecf-bc7c-4127b4d582ec
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 4hFEXp5g/bTAaBdkh2PLBvky5xXwTCeNWPY+SMoStNWNca4aNCu5hzBCAxWy02gYage/uURPjpLqTghMDyVrJbXPonpiz3+48kSYYb4tONI=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR03MB5186
Archived-At: <https://mailarchive.ietf.org/arch/msg/etosat/M0IEA3cBxto9NVNvxafLRksRyPA>
Subject: Re: [EToSat] What we are looking for from QUIC
X-BeenThere: etosat@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "The EToSat list is a non-WG mailing list used to discuss performance implications of running encrypted transports such as QUIC over satellite." <etosat.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/etosat>, <mailto:etosat-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/etosat/>
List-Post: <mailto:etosat@ietf.org>
List-Help: <mailto:etosat-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/etosat>, <mailto:etosat-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Dec 2019 15:12:56 -0000

Hello,

Le 11/12/19 à 15:49, Su, Chi-Jiun a écrit :
> Here are links to packet level FEC, XOR and beyond.
> 
> RFC 5109
> 
> https://tools.ietf.org/html/rfc5109
> 
> Francois Michel’s MS thesis
> 
> https://dial.uclouvain.be/memoire/ucl/fr/object/thesis%3A14650/datastream/PDF_01/view
> 
> page 29 describe XOR.
> 

Thank you so much for referencing this. I apologize in advance for the 
imprecisions that may be present in the master thesis. :-) A 
mathematical intuition behind XOR and RLC are present starting from page 
13 if needed.

You can also implement RLC using only XORs (and a pre-computed table) 
and it provides better correcting capabilities. The SWIF codec coming 
from the nwcrg does that: 
https://github.com/irtf-nwcrg/swif-codec/blob/master/src/swif_symbol.c
(the addition is a xor and the multiplication is an access in a 
pre-computed table)

Regards,

François

> *From:* EToSat <etosat-bounces@ietf.org> *On Behalf Of *Morten V. Pedersen
> *Sent:* Tuesday, December 10, 2019 3:54 PM
> *To:* etosat@ietf.org
> *Subject:* Re: [EToSat] What we are looking for from QUIC
> 
> Dear all,
> Thanks for your input.
> 
> @Christian Thanks for the paper - I will carefully go though it. It 
> looks like a really nice motivation why coding is useful in multicast / 
> broadcast scenarios.
> 
> For multicast I would say that the gain of coding should also be present 
> even if the receivers have no packet loss, but simply are blocked from 
> time to time (this creates a discrepancy between the N receivers) which 
> would be costly to fix with a retransmission based system.
> 
> I have one question on the encoding you describe, you write that it can 
> be done with with XOR and shifts alone. Could you provide some more 
> details on that?
> 
> @John & CJ: In general I think that makes a lot of sense for 
> point-to-point links. You would typically use packet level FEC to avoid 
> retransmissions in which case you add redundancy on the link and if you 
> don't needed it - well then it is essentially wasted bandwidth.
> 
> All the best,
> Morten
> 
> On 12/10/19 8:50 PM, Su, Chi-Jiun wrote:
> 
>      From Christian’s paper, the first two cases where use of packet
>     level FEC provides benefits are in satellite communication.
> 
> 
>     “There are in fact at least three environment where the reduced
>     error rate proves very valuable. When multicasting data toward large
>     groups, even a small individual error rate per recipient may result
>     in large retransmission rates for the whole group and the use of
>     redundancy will result in dramatic efficiency gains. In the case of
>     long transmission delays, the use of redundancy helps maintaining
>     the delivery delays within acceptable limits, even in presence of
>     errors. When the receivers do not have enough memory resources to
>     implement sophisticated retransmission techniques, forward error
>     correction can compensate the relative inefficiency of cheap
>     algorithms of the go-back N family.”
> 
>     *From:* EToSat <etosat-bounces@ietf.org>
>     <mailto:etosat-bounces@ietf.org> *On Behalf Of *Christian Huitema
>     *Sent:* Monday, December 9, 2019 1:05 PM
>     *To:* Su, Chi-Jiun <Chi-Jiun.Su@hughes.com>
>     <mailto:Chi-Jiun.Su@hughes.com>
>     *Cc:* Morten V. Pedersen <morten@steinwurf.com>
>     <mailto:morten@steinwurf.com>; etosat@ietf.org <mailto:etosat@ietf.org>
>     *Subject:* Re: [EToSat] What we are looking for from QUIC
> 
> 
>     This reminds me of the "case for FEC" paper that I wrote a long time
>     ago. The abstract is here:
>     https://link.springer.com/chapter/10.1007%2F978-0-387-34986-2_8
> 
>     My copy of the text, in Postscript, is here:
>     http://huitema.net/papers/case4fec.ps
> 
>     -- Christian Huitema
> 
> 
> 
> 
>         On Dec 9, 2019, at 3:31 AM, Su, Chi-Jiun <Chi-Jiun.Su@hughes.com
>         <mailto:Chi-Jiun.Su@hughes.com>> wrote:
> 
>         Hi Morten,
> 
>         John may respond to you when he is available.
>         I work in the same company as John.
>         Yes. You're right more or less.
> 
>         - large window requires allocation of memory.  The number may be
>         significantly huge for a server serving tens/hundreds of
>         thousands of connections.
>         - FEC adds overhead in transmitted bytes and delay in encoding
>         and decoding of FEC in addition to computational resource
>         requirements.
> 
>         Hope it answers your questions.
>         Thanks.
>         cj
> 
>         -----Original Message-----
>         From: EToSat <etosat-bounces@ietf.org
>         <mailto:etosat-bounces@ietf.org>> On Behalf Of Morten V. Pedersen
>         Sent: Monday, December 9, 2019 6:20 AM
>         To: etosat@ietf.org <mailto:etosat@ietf.org>
>         Subject: Re: [EToSat] What we are looking for from QUIC
> 
>         CAUTION: This email originated from outside of the organization.
>         Do not click links or open attachments unless you recognize the
>         sender and know the content is safe.
> 
>         Hi John,
>         Could you elaborate on the point below:
> 
>         --------------------------
> 
>         On 12/3/19 7:43 PM, Border, John wrote:
> 
> 
>             We are looking at FEC to help with the packet loss problem
>             and large
> 
>             windows to address the throughput problem.  Since enabling
>             FEC and
> 
>             very large windows (especially initial windows) will not be
>             good
> 
>             defaults for general use, we need some sort of learning
>             capability to
> 
>             know when they should be used.
> 
> 
>         --------------------------
> 
>         Is it because of computational complexity or similar?
> 
>         All the best,
>         Morten
> 
>         _______________________________________________
>         EToSat mailing list
>         EToSat@ietf.org <mailto:EToSat@ietf.org>
>         https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/etosat__;!!Emaut56SYw!jbhJ11p7YT7--EvCJ88bLI55OqJl1kcHQ46EEnS7wGZdk3cJCgFk3JMytIjk4Fi9Cw$
> 
> 
>         _______________________________________________
>         EToSat mailing list
>         EToSat@ietf.org <mailto:EToSat@ietf.org>
>         https://www.ietf.org/mailman/listinfo/etosat
> 
> 
> 
>     _______________________________________________
> 
>     EToSat mailing list
> 
>     EToSat@ietf.org  <mailto:EToSat@ietf.org>
> 
>     https://www.ietf.org/mailman/listinfo/etosat
> 
> 
> _______________________________________________
> EToSat mailing list
> EToSat@ietf.org
>