Re: [tsvwg] Fwd: New Version Notification for draft-white-tsvwg-lld-00.txt

"Tilmans, Olivier (Nokia - BE/Antwerp)" <olivier.tilmans@nokia-bell-labs.com> Sun, 17 March 2019 17:32 UTC

Return-Path: <olivier.tilmans@nokia-bell-labs.com>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 806EA12DD85 for <tsvwg@ietfa.amsl.com>; Sun, 17 Mar 2019 10:32:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nokia.onmicrosoft.com
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 x-sLBy3i8kT7 for <tsvwg@ietfa.amsl.com>; Sun, 17 Mar 2019 10:32:40 -0700 (PDT)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70095.outbound.protection.outlook.com [40.107.7.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 23B8612B003 for <tsvwg@ietf.org>; Sun, 17 Mar 2019 10:32:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector2-nokia-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5imetKB5vn8iWC2utJuI1z82EL+fpRxEcgOMvXOKcsA=; b=BBmsK7MND0BXgoqbkEQpLnG1QHvlVE8Z7a6TXvesFAe36fbLy48tzqF8W6P2Mn0PoUVO+1/ym166cN6Srm0OSBx2e24KzsPj55/+9ozH522fpw5vXckDtpe8ga1wo85IKOno52u6wB5aPuF7bsXYoK+gKa9euh/HKKBnXcALRxw=
Received: from AM0PR07MB4819.eurprd07.prod.outlook.com (20.178.19.14) by AM0PR07MB5924.eurprd07.prod.outlook.com (20.178.21.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.15; Sun, 17 Mar 2019 17:32:36 +0000
Received: from AM0PR07MB4819.eurprd07.prod.outlook.com ([fe80::cf2:2bda:1b42:8276]) by AM0PR07MB4819.eurprd07.prod.outlook.com ([fe80::cf2:2bda:1b42:8276%3]) with mapi id 15.20.1730.003; Sun, 17 Mar 2019 17:32:36 +0000
From: "Tilmans, Olivier (Nokia - BE/Antwerp)" <olivier.tilmans@nokia-bell-labs.com>
To: Luca Muscariello <luca.muscariello@gmail.com>, Greg White <g.white@cablelabs.com>, tsvwg IETF list <tsvwg@ietf.org>
Thread-Topic: [tsvwg] Fwd: New Version Notification for draft-white-tsvwg-lld-00.txt
Thread-Index: AQHU3JfJ3IVsHLMXVkeEb09sfKfPwaYQBk/g
Date: Sun, 17 Mar 2019 17:32:36 +0000
Message-ID: <AM0PR07MB4819B13811AE92A48A69CB5BE0460@AM0PR07MB4819.eurprd07.prod.outlook.com>
References: <0289E1B3-9AFF-4633-A9B1-6BAEE96B7692@cablelabs.com> <CAHx=1M6US_HYjXfqtRr8RbGEe5QxPjjnivLkKMHHBpqMQRyP8g@mail.gmail.com> <C689234C-6A08-47B1-90B5-07DE77112BBD@cablelabs.com> <CAHx=1M5z4fpViHbV+3+VchpyXsPJwwCuhWzNvZ7EU-An3gS0qQ@mail.gmail.com> <300857A4-9483-473E-8D9E-799F6077A4FF@cablelabs.com> <CAHx=1M53q0DG8AmhSxQXFhDfr4UzgrRR+iebmCwrZMcVnMvS5g@mail.gmail.com> <CAHx=1M4y=bEHQ1xt1G59B-DzuU195s4hMapAFmjP0UFqSn403A@mail.gmail.com>
In-Reply-To: <CAHx=1M4y=bEHQ1xt1G59B-DzuU195s4hMapAFmjP0UFqSn403A@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=olivier.tilmans@nokia-bell-labs.com;
x-originating-ip: [2a02:1811:537e:6d00:2d3b:4adb:8364:748c]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: a402f947-1d00-452d-353a-08d6aafe8c0e
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600127)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:AM0PR07MB5924;
x-ms-traffictypediagnostic: AM0PR07MB5924:
x-microsoft-antispam-prvs: <AM0PR07MB5924892595F34B6F04CA07A7E0460@AM0PR07MB5924.eurprd07.prod.outlook.com>
x-forefront-prvs: 09796A1B83
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(136003)(346002)(366004)(396003)(376002)(189003)(199004)(55016002)(9686003)(5660300002)(105586002)(99286004)(106356001)(52536014)(25786009)(478600001)(316002)(53936002)(14454004)(110136005)(256004)(93886005)(6116002)(6246003)(97736004)(476003)(486006)(33656002)(6506007)(76176011)(102836004)(7696005)(46003)(2906002)(446003)(11346002)(8676002)(8936002)(81166006)(186003)(229853002)(7736002)(74316002)(305945005)(86362001)(6436002)(68736007)(71190400001)(81156014)(71200400001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM0PR07MB5924; H:AM0PR07MB4819.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:0;
received-spf: None (protection.outlook.com: nokia-bell-labs.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: PWX8URTj/sqKAZAvhjqWjKSQ6OXMlZxRnIUDybl/gptUZWMVHPVDrYX1lbTW/0R+9trDCETpgEw9uX3Nkc6YpUBjconPnLK0OqhJk9bv83/fCHwTRkdOax/ygvOGU5XWjzRu19z4bAnan2++EUBbRX+398Yk+BZBRDyve1558IIQEHLOousp/rpcU7Extp0CBcJqTtkLfniX12JqwQg9qWzqifXU695pFSb7cgrA+U18fmcApagVvfTECGwrvbrKH+Rrjgm2QYzYH/PMRJO4ZeYj93p1FLYSzOiFImG99rdwTAeGFU+gvNNGKV22xx5P4f1PihVCw/b7gJUg6Y++Xi3smqDhOYd1zCB9VfENlPoNxu54LbMbkOPhW0HcO6bSoyuGyK81n2FIm6z/PVoiRyYRb25+s1te+ntNSo3gkqg=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: nokia-bell-labs.com
X-MS-Exchange-CrossTenant-Network-Message-Id: a402f947-1d00-452d-353a-08d6aafe8c0e
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Mar 2019 17:32:36.6779 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR07MB5924
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/iVJwk_ZxRq-VEIJbMtt5k8xu1d8>
Subject: Re: [tsvwg] Fwd: New Version Notification for draft-white-tsvwg-lld-00.txt
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg/>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 17 Mar 2019 17:32:43 -0000

Hi Luca,

> The protection mechanism assumes that one queue has soft priority over
> the other. Strict priority would be stupid, so there must be a wfq weight to
> schedule the classic queue less frequently. I did not find the magic number
> that  is set in the DOCSIS specs but whatever number is chosen I wonder
> which opitimization objective would be the foundation of that.
> 10%, 20%, 30% or any number would imply that if the priority queue is used
> at 100% utilization the other apps would get a small fraction of the link
> capacity.
> 
> What number is chosen and based on which calculations?

The protection mechanism only affect how competing packets within a RTT gets
dequeued. In this instance, a WRR protects the classic flows from
unresponsive/misclassified L4S flows, at the expense of the other L4S flows.

It does not affect the overall throughput of the flows when measuring it over a 
timeframe of a few Tupdate interval (e.g., 16ms). Indeed, the core of the
DualPI2 AQM is a PIE2 controller computing the random drop/marking probability
based on the classic queue. This probability is then also used as base to mark L4S
flows, albeit with a quadratic relationship (i.e., for the same base probability, the
L4S flows are marked much more often than the classic ones).

Consequently, whenever L4S traffic causes the classic queue to build up (even 
slightly above the PIE2 target), its marking probability drastically increases as the 
PIE2 controller reacts. As the L4S flows have scalable CCs (i.e., understand how to 
leverage multiple CE marks per RTT), they reduce their cwnd accordingly within
 a RTT (which is much smaller than the classic flows' RTT). 

In other words, L4S senders end up slowing down themselves (to a point where 
the L4S queue is empty for most of the transmission slots) to allow the classic 
queue to drain, and this reaction is the result of a much faster control-loop than
the one used by the classic sender.

There are thus no magic number per say for the WRR ratio. §4.1.4 of
 draft-ietf-tsvwg-aqm-dualq-coupled explains the guidelines to pick one.

Note that the exact throughput ratio between L4S and classic flows can be 
tweaked using a coupling factor, as explained in appendix C. of
 draft-ietf-tsvwg-aqm-dualq-coupled. 

I hope this was clear enough.


Best,
Olivier