Re: [EToSat] Download Regression Tests

Kuhn Nicolas <Nicolas.Kuhn@cnes.fr> Thu, 05 December 2019 09:40 UTC

Return-Path: <Nicolas.Kuhn@cnes.fr>
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 2D4171200A4 for <etosat@ietfa.amsl.com>; Thu, 5 Dec 2019 01:40:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.401
X-Spam-Level:
X-Spam-Status: No, score=-1.401 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, PDS_BTC_ID=0.499, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no 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 EfcYtZIEaaOz for <etosat@ietfa.amsl.com>; Thu, 5 Dec 2019 01:40:33 -0800 (PST)
Received: from mx2.cnes.fr (mx2.cnes.fr [194.199.174.201]) (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 C4BC4120100 for <etosat@ietf.org>; Thu, 5 Dec 2019 01:40:32 -0800 (PST)
X-IronPort-AV: E=Sophos;i="5.69,280,1571702400"; d="scan'208";a="31354634"
X-IPAS-Result: A2GYAADuz+hd/wUBeAplGQEBAQEBAQEBAQEBAQEBAQEBEQEBAQEBAQEBAQEBgX4CgXKBBROBMQqVRIU6lAyBZwkBAQEBAQEBAQEvCAEBhEACgjc4EwIQAQEBBAEBAQEBBQIBAQIChVRMDEIBEAGFVAIBAydHCxACAQgNFSQyJQEBBA4FCIMbgwatOBo1gXQzGoooBoE2AYFkgzeJFYERR4JMPoEEAYFfAoEnFREYBYM7giwEjTAJBSGJEYhHjxMHgT10gjmEAmSOVneBSoduhCwDi0iOSohBk3MwKoEhMxonTIJsUBGNBheBBAEHgkSKU3SDTItbgTGBEAEB
X-URL-LookUp-ScanningError: 1
From: Kuhn Nicolas <Nicolas.Kuhn@cnes.fr>
To: 'François Michel' <francois.michel@uclouvain.be>, "Border, John" <John.Border@hughes.com>
CC: "etosat@ietf.org" <etosat@ietf.org>, Emmanuel Lochin <emmanuel.lochin@isae-supaero.fr>
Thread-Topic: [EToSat] Download Regression Tests
Thread-Index: AdWqBRbnHNZDGTkjTLC74vSG03YOMQAp+VQAACilVaA=
Date: Thu, 05 Dec 2019 09:39:29 +0000
Deferred-Delivery: Thu, 5 Dec 2019 09:40:28 +0000
Message-ID: <F3B0A07CFD358240926B78A680E166FF1ED1F89A@TW-MBX-P03.cnesnet.ad.cnes.fr>
References: <BL0PR11MB33949C8A6A226271B7FF9FAF90420@BL0PR11MB3394.namprd11.prod.outlook.com> <108da294-d1b3-da9f-a709-91a78d42966b@uclouvain.be>
In-Reply-To: <108da294-d1b3-da9f-a709-91a78d42966b@uclouvain.be>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-tm-as-product-ver: SMEX-11.0.0.4255-8.100.1062-25084.006
x-tm-as-result: No--19.114300-0.000000-31
x-tm-as-user-approved-sender: Yes
x-tm-as-user-blocked-sender: No
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/etosat/62IaiTefPvZxExCPIcx_7d3SYIs>
Subject: Re: [EToSat] Download Regression Tests
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: Thu, 05 Dec 2019 09:40:35 -0000

This surely helps ! 
Thanks a lot. 

I have updated the document with two possible loss patterns. 
https://github.com/NicoKos/QUIC_HIGH_BDP/blob/master/ietf-document/draft-quic-4-sat/draft-kuhn-quic-4-sat-03.txt 
If you have any views, please let us know. 

I guess there are still some open questions :
- should we keep all four scenarios ?
- should we propose two loss models or only one ?

Nico


-----Message d'origine-----
De : François Michel <francois.michel@uclouvain.be> 
Envoyé : mercredi 4 décembre 2019 15:13
À : Border, John <John.Border@hughes.com>; Kuhn Nicolas <Nicolas.Kuhn@cnes.fr>
Cc : etosat@ietf.org; Emmanuel Lochin <emmanuel.lochin@isae-supaero.fr>
Objet : Re: [EToSat] Download Regression Tests

Hello,

We also performed some experiments with PQUIC/Picoquic over a satellite link with Nicolas and Emmanuel. We analyzed the loss patterns and deduced some two-state Gilbert parameters from network traces for two different scenarios. This model is less general than the Gilbert-Elliott model but is allows us to represent bursty loss patterns: in the GOOD state, all the packets are successfully received. In the bad state, the packets are simply dropped.

Here are the two studied scenarios :

1) The client is connected to a wired network and its traffic towards the server is then routed through a satellite link.
2) The client is connected to a WiFi access point instead of a wired network. Its traffic towards the server is then still routed through a satellite link.

What differs between these two scenarios is that in 2) we can also encounter losses due to the WiFi communication.

We count the received packets at the receiver, knowing that the sender is configured to send packets with a contiguously increasing packet
number: although it is feasible in QUIC, our Picoquic sender will never send packet n if it has not sent packet n-1. We provide the packet counts so that you can also do your own computations if needed.

Here are the packets count and estimated probability of transitions of the Gilbert model we deduced from our experiments :


For the scenario 1:
-------------------

from/to GOOD    BAD
GOOD    80709   1370
BAD     1370    86

This means that 80709 packets have been received while the previous 
packet was received (GOOD->GOOD), 86 packets have been lost while the 
previous packet was also lost (BAD->BAD), 1370 packets have been 
received while the previous packet was lost (BAD->GOOD) and 1370 packets 
have been lost while the previous packet was received (GOOD->BAD).


The average burst in the BAD state is quite small, but in our traces we 
still found one loss burst of 15 packets.

The estimated transitions probabilities of the Gilbert model:
P(GOOD->GOOD) = 0.9833087635083273
P(GOOD->BAD) = 0.016691236491672656
P(BAD->GOOD) = 0.9409340659340659
P(BAD->BAD) = 0.059065934065934064


For the scenario 2:
-------------------

from/to GOOD    BAD
GOOD    38700   700
BAD     699     385

P(GOOD->GOOD) = 0.9822335025380711
P(GOOD->BAD) = 0.017766497461928935
P(BAD->GOOD) = 0.6448339483394834
P(BAD->BAD) = 0.3551660516605166


Also quite isolated losses in general but we encountered more frequent 
bursts, and we encountered larger loss bursts such as one burst of size 
33 and one burst of size 30.
Keep in mind that these experiments are quite small and could be 
influenced by the period of the day during which they have been performed.


We hope this helps.


François



Le 3/12/19 à 19:24, Border, John a écrit :
> The following are the variables we play with:
> 
>   * Delay - *600 milliseconds*, 1000 milliseconds
>   * File Size - *1 MB*, 10 MB, 100 MB, *1000 MB*
>   * Packet Error Rate - *0.0%*, 0.1%, *1%*, 5%, 10%
>   * Plan Rate:
>       o Download (Internet to host)  - 10 Mbps, 25 Mbps, 100 Mbps, *250
>         Mbps*
>       o Upload (host to Internet) - *3 Mbps*, 10 Mbps, 25 Mbps
> 
> The ones in bold are the ones we focus on since all of the above result 
> in a lot of combinations.  If I had to pick just two, right now I would 
> go with:
> 
>   * 600 milliseconds, 1000 MB, 0.0%, 250 Mbps, 3 Mbps
>   * 600 milliseconds, 1000 MB, 1.0%, 250 Mbps, 3 Mbps
> 
> 600 milliseconds is the baseline delay.  Longer delays definitely happen 
> during traffic peaks.  Longer than one second delays happen at traffic 
> peak for traffic we classify as lower priority.
> 
> 1 MB tests are web page object size tests.  1 GB tests are download 
> tests.  (We would use 100 MB for upload tests but we have not really 
> done any yet.)  We really have only been focusing large file sizes since 
> we have been focusing on what we lose without TCP spoofing.
> 
> For error rates, I included 5% an 10% because they represent WiFi 
> extremes (and we did try them).  But, those values barely work at all. 
>   We mainly focus on 1%.  There are actually two variants of error 
> rate.  One is loss between the client and the satellite terminal.  (This 
> is the loss TCP spoofing helps with.)  The other is loss between the 
> satellite terminal and the satellite gateway which connects to the 
> Internet.  We focus mostly on client side loss.
> 
> We mostly have been testing with a 250 Mbps download plan rate so we can 
> see how things work without being artificially limited..  We are easily 
> able to fill this with TCP spoofing and ultimately we want QUIC to be on 
> par with that.  (I think the best we have seen Google QUIC do in recent 
> testing is ~30 Mbps but a few years ago it was only 3 Mbps so things are 
> moving in a good direction.)   But, you cannot get plan rates like that 
> outside of a lab right now.  In today's real world, we run with 25 Mbps 
> download plans for customers.  Some providers use ~10 Mbps download plan 
> rates.  We look at the higher rates anyway because we are trying to look 
> ahead and satellite technology improves significantly over time.  We 
> envision 100 Mbps download plans someday.
> 
> We have not done much upload testing to date.  So, the upload plan rate 
> has mattered mostly for purposes of how much ACK traffic it can carry.  
> ACK reduction strategies are important for satellite but we have not 
> done much with this yet other than to observe that 30 Mbps of Google 
> QUIC download traffic fills the upload pipe.
> 
> Not sure if this is what you were looking for but.
> 
> John
> 
> 
> _______________________________________________
> EToSat mailing list
> EToSat@ietf.org
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fetosat&amp;data=02%7C01%7C%7Cc47c9ee8fadc4bc05bb908d7781e1768%7C7ab090d4fa2e4ecfbc7c4127b4d582ec%7C0%7C0%7C637109942949480777&amp;sdata=nbhVVrQcHaOLIUvQOuW5CA8UjXQCZXkz7SFyxoreGR0%3D&amp;reserved=0
>