Re: [tsvwg] draft-ietf-tsvwg-nqb-15.txt vs the cake AQM

Greg White <g.white@cablelabs.com> Tue, 14 March 2023 21:00 UTC

Return-Path: <g.white@cablelabs.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 1D5EBC1524DB for <tsvwg@ietfa.amsl.com>; Tue, 14 Mar 2023 14:00:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.098
X-Spam-Level:
X-Spam-Status: No, score=-7.098 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, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=cablelabs.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 VB04pXeNcJd8 for <tsvwg@ietfa.amsl.com>; Tue, 14 Mar 2023 13:59:56 -0700 (PDT)
Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on20700.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eae::700]) (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 744D3C1524DC for <tsvwg@ietf.org>; Tue, 14 Mar 2023 13:59:35 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BBRvWw2dOiHh+04W3aAhbnfpdHewrYTYXMsx0s7ATDqCiJ/jMQKXgI9WItjaq1U0O75Oe03LDkwG/NV/kRa+tiXxQw3zlfBX2T47YpDl9KWM+VQvMFMdFRIsm/qe0D9B03xj23RxVxVVyaighw0o8zp38qSdkQzp2XBYQEXIWISSaojFHPwRXpzrNsbrA4OfdwdF0ee3ZeyP1uTEXcieUBJKNsuYIkb3IT/h6U9e6dPUDfooHpMSdp5wEfBT7ZcLwxW8pp4JtuxIJMcvJuXztgk8NP6Bj/DdarV1PVerwVDYtCE1SL8pDxd4jaiCAkmi+acDGSplA3pKN8QttAOiHg==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gN3fTuRFzHvJjppH1BLvWXJ8+SFuc6eFJbXfO8+6DCY=; b=LARisbKKKiCpPJmgjkDEGsdbEcO1ek1Xf0nOJkZd4hs3gxbehZAei6y3mM/3GbE8FNb8b4093Su8wCJZnCLsqeEQHm69Nh+W5ihl8uvEJ8XQG0E8Prc4TaH2F0ncYtthsQAAlXXdBItT9vbs80JIKJKlJNXCX6qltrhH0OQImiOUNKmJqqhkP7ktcLCT3d+pIHiuUiSRuXwI9AoUnFuteFyFBAMimT2DUVs+ENM7YmhricZMfv8VW0t7JlmhoV9c6r2vs80xced0yN4ECcUqVFF9JwzYzkXs8zcG6efHu3lj4FXhbAzCJslcrrazCfRgHNOzAj+6FgfZEe/v3JeouQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cablelabs.com; dmarc=pass action=none header.from=cablelabs.com; dkim=pass header.d=cablelabs.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cablelabs.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gN3fTuRFzHvJjppH1BLvWXJ8+SFuc6eFJbXfO8+6DCY=; b=coOhpNBPGAkdVfkPF9vnBGXfsOn2t+2ex/WFQaMsRMB4W6N0/1Ww9VLKyhFZNN6S6SBi9nHkKt2mSGaUZ6rTxYroaymR12GRdxKUyU3IYTmbcPg//Jojb+gZbeC6j4TnADwprLmOYTMFU8S4lK1HLfTT/d4YB0PVPQ/6g/aQZ/TueIQznfT+1GTQaqBpKG4CdfGmyf9Y1s7zd+oai04kVsd8HJtLSzpeskD8y1URKJAHQKLYPuWSqZJciSH6fpezFjI2SvCiGpn8VkHariXxlDxWzOOGXeAjss/KpypqCKO7zwVqGOobjvnTIjz2t4d0HybgMZnmzG/VKCojAzhunA==
Received: from BN8PR06MB5892.namprd06.prod.outlook.com (2603:10b6:408:ce::25) by MN2PR06MB5741.namprd06.prod.outlook.com (2603:10b6:208:123::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.26; Tue, 14 Mar 2023 20:59:32 +0000
Received: from BN8PR06MB5892.namprd06.prod.outlook.com ([fe80::656e:9b0b:b49b:d084]) by BN8PR06MB5892.namprd06.prod.outlook.com ([fe80::656e:9b0b:b49b:d084%3]) with mapi id 15.20.6178.024; Tue, 14 Mar 2023 20:59:32 +0000
From: Greg White <g.white@cablelabs.com>
To: Sebastian Moeller <moeller0@gmx.de>
CC: Dave Täht <dave.taht@gmail.com>, "Ruediger.Geib@telekom.de" <Ruediger.Geib@telekom.de>, tsvwg IETF list <tsvwg@ietf.org>, Cake List <cake@lists.bufferbloat.net>
Thread-Topic: [tsvwg] draft-ietf-tsvwg-nqb-15.txt vs the cake AQM
Thread-Index: AQHZVn2QY2isdk4gqE2SQVTbhBhZEq76EYiAgABt/gD//96ogA==
Date: Tue, 14 Mar 2023 20:59:32 +0000
Message-ID: <AA46BF0D-A01B-409F-B8E8-9F74C599D301@cablelabs.com>
References: <167348364734.15098.9183646444272144529@ietfa.amsl.com> <FR2P281MB1527B1114EA0718F8BB19DBF9CD79@FR2P281MB1527.DEUP281.PROD.OUTLOOK.COM> <659CE6DE-2B9D-4210-BAF8-BCC99E2ED875@cablelabs.com> <FR2P281MB1527003371292BDB9F08764A9CDE9@FR2P281MB1527.DEUP281.PROD.OUTLOOK.COM> <DEB97936-375A-41C8-8ECB-E33F94D30056@cablelabs.com> <FR2P281MB15273966161929E8BAB937869CA29@FR2P281MB1527.DEUP281.PROD.OUTLOOK.COM> <7434C6A7-4CED-4D39-A852-2714AB9DA1DC@cablelabs.com> <FR2P281MB1527C89A1654A77FAD6A24AF9CBE9@FR2P281MB1527.DEUP281.PROD.OUTLOOK.COM> <CAA93jw4_MAX1DULpvU_Uo7BuyvvRpqZ-_gZP+HbhC251osCT3g@mail.gmail.com> <407A497F-1546-43E3-BE4C-A052CBE8CD4A@cablelabs.com> <0D20823D-9231-4221-B945-123E210DCD53@gmx.de>
In-Reply-To: <0D20823D-9231-4221-B945-123E210DCD53@gmx.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.70.23021201
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cablelabs.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: BN8PR06MB5892:EE_|MN2PR06MB5741:EE_
x-ms-office365-filtering-correlation-id: 5db9e374-59c8-4bc2-43aa-08db24cf0275
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: tZurwz0nhY/jpolJxjaqx7te6Ax7DKdZ4kM+hKng99k3ws4B6fX64sxQ7paSAJuWetIkNS4zpzSbUPszef28NTO8sf8df9NOL6FvWUEjRQAzDpVtb/+krYB0lwmCXVr6XydjiYgRZAvujh2Un8pIdTK5sPBlpTXCxvG11e4/sedS8DamoclZR1/l9EvS7MR/Oux7YUia0jgJI8tCUs+5HYGn0zLBLjTOP/uGLZ/ArHZB9wQ6u9pj7znmtyZn9I+OJuIUKplRh7+KMTZ2dsMRjZJ9t3RnfKmJLy9S3R9eEW3UOh4wbf5YtcAPvkwkLGTYQ2btXkoq23/jdDysUqrBLo/IwYuc4+Ac/Tusd3Os3BRTkZU3cFiVxvXF032Zzn9B22U9wdz1hIQzoFHpJbr4KmAQzoGULiu9tCxqME1XPLzJEM4jkeUsLL6WSJllM1WhWYA2jKDpCzvqAyqvMOLGiD5041RUvCD52qnzfBqnaiUb05gMk00Lf8zrfjLyKsjK7sER13d3lu5cMu2oK7BuSq3aJN+sGO8f6iHfwZiNBa04mbRHIpBCAktk23JK9bZCjped8405nGbtPpfASm7bU67rG3Ao0PxnvNgex8B0aX5A0Lsqh281NX+QMciSEKbd/Vwe9TTsjgSAPe2HxHFBEmgZAtpHIJvkMImj8F+RmnYhBuehC2Wx3NkTczFrmiyzCiCnMfzXGD8Pr4o6LhZ5wPebN/XdrMiFZBMqrGAs1A0=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR06MB5892.namprd06.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(366004)(136003)(396003)(346002)(39850400004)(376002)(451199018)(2906002)(122000001)(66556008)(83380400001)(5660300002)(36756003)(33656002)(76116006)(66446008)(8676002)(64756008)(66946007)(41300700001)(8936002)(6916009)(38070700005)(91956017)(4326008)(316002)(38100700002)(66476007)(86362001)(54906003)(478600001)(2616005)(186003)(6506007)(966005)(6486002)(53546011)(26005)(6512007)(71200400001)(45980500001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: SmjJUlP3mWe3dgXU9FsCLijHOkqeKDwKZI0hG8TedrKn3YHcLqVcPX+UZDpNSGw1RiMzfFaPbMmxhAzrBgX88hAp6CnFCSiS/vpIsTiaR+1Xg4FiJ2NatYAW/h3pH6agU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3Z/nKVM9Wix1mS9Zx2hOFb2zsGTsg+AAJ3A9KmLYFEVyZNakSLBAN/0yEPKcPLqjOv1vSmVHkfTYyr9m5vZxIpI9nopaAikajTVB3IU/hDBRwb/YKU81xcwNUZqw0GUVx4fdgzXcZL1w2n+nwJV/Uk7XkUVH1B3/w9x/viUbEWYTVId3/Jc2y3T/fA0weh427qzESXF+5XqKCskaWrFkjIfQefSaK4RMKTkuZTn4r8ye/nnoB6nTJzULIuv2Z79kzMxNfFGQTP+SyGqC0ppAaf+4z1Wd5NQpC2JOCyZz+IXmY+PrAGDJt4vrDU7XFglVrx5SThIzSZuAEADMy3ghjGSR0Gwz5HkoagGii4NSWNOfm5FLoCqiRX1qSenys/Lqd9fXdB102r68n6RYHxA2LNYAfP2Js0OhFwbkBuz9aenGQ==
Content-Type: text/plain; charset="utf-8"
Content-ID: <D0041E1F6735134B9D9DDC1A30955CD8@namprd06.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: cablelabs.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BN8PR06MB5892.namprd06.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 5db9e374-59c8-4bc2-43aa-08db24cf0275
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Mar 2023 20:59:32.0501 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: ce4fbcd1-1d81-4af0-ad0b-2998c441e160
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: JYp5l7UWguidFj0K+BqE9cEiU00BqV47Ynsrdiv8WKWROIT96Bkk0JHFl4cGfb5ih+BkKFi6TAto4Zpz5NJAhQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR06MB5741
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/tH3j6iKICxqtjugla1d75zUsXZQ>
Subject: Re: [tsvwg] draft-ietf-tsvwg-nqb-15.txt vs the cake AQM
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.39
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: Tue, 14 Mar 2023 21:00:01 -0000

I agree with you that support for a separate NQB queue in the flowblind, srchost, dsthost, & hosts modes (if supported) should be controllable and documented. It would seem simplest to me that this configuration would apply to all instantiated "queues" (like other parameters: nat, wash, and even the flow isolation configuration itself).  CAKE doesn’t appear to have a way to configure e.g. "for host X use 'srchost' and for host Y use 'hosts'".

-Greg


On 3/14/23, 10:59 AM, "Sebastian Moeller" <moeller0@gmx.de <mailto:moeller0@gmx.de>> wrote:


Hi Greg,




> On Mar 14, 2023, at 17:25, Greg White <g.white@cablelabs.com <mailto:g.white@cablelabs.com>> wrote:
> 
> Hi Dave, 
> 
> The NQB requirement is that it shares capacity with and is at the same priority as Default (CS0). So, for all priority queue options in CAKE (aside from precedence, perhaps), I would recommend that you align with that requirement. So, I think I agree with what you wrote below for besteffort, diffserv3 and precedence, but for diffserv4 CAKE would be non-compliant if it put NQB into the video class. I don't understand diffserv8, since the man page doesn't appear to describe it. But, the same logic should hold there too. 
> 
> In most cases, I think the flow isolation in CAKE already provides the benefit that the NQB PHB is aiming to achieve. But, in the flowblind, srchost, dsthost, & hosts modes, it doesn't.
> Here is where you could consider doing a full implementation of the NQB PHB (a separate queue in the Best Effort tin). If you choose to take that on, the recommendation is to implement a traffic protection mechanism. This would be a really interesting test case to see whether you think the draft is sufficiently detailed for you to come up with a design for linux. 


But this additional queue would violate the promises made by flowblind, srchost, dsthost, & hosts, so you would need to add this as additional key word documented to add an additional queue for NQB, but what to do then, do this e.g. individually for each of the host queues or just a single one.


If you ask me don't do it at all or as specific modifier keyword for the isolation modes, not that you asked ;)




> You mentioned a Part II to discuss the various wash modes. I only see two modes (wash/nowash) am I missing something?


Same here, and again, if you want a special mode that still propagates NQB please give this a new descriptive name retain_e2e_DSCPs or similar, or an explicit way to enumerate which DSCPs to wash.


Regards
Sebastian




> 
> -Greg
> 
> 
> On 3/14/23, 8:02 AM, "Dave Taht" <dave.taht@gmail.com <mailto:dave.taht@gmail.com> <mailto:dave.taht@gmail.com <mailto:dave.taht@gmail.com>>> wrote:
> 
> 
> I have been sitting on the cake related patches for this for years
> now, and it is my hope to get support for NQB into the next linux
> release, regardless of whether it gets through last call at this time,
> unless the selected codepoint number changes. (?)
> 
> 
> Cake (please see the man page here:
> https://man7.org/linux/man-pages/man8/tc-cake.8.html <https://man7.org/linux/man-pages/man8/tc-cake.8.html> <https://man7.org/linux/man-pages/man8/tc-cake.8.html> <https://man7.org/linux/man-pages/man8/tc-cake.8.html&gt;> ) supports
> multiple diffserv models.
> 
> 
> besteffort is exactly that, besteffort, and will not gain NQB support.
> 
> 
> The diffserv3 interpretation is the default, and given that flow
> queuing handles most of the NQB-like problems naturally, and Voice
> (CS7, CS6, EF, VA, TOS4) is all that is handled there today, I am
> thinking of *not* elevating NQB into that class is the right thing.
> 
> 
> NQB fits nicely into the diffserv4 model in the video class, so I will
> put it there. since covid we tend to use the diffserv4 model a lot to
> manage videoconferencing better.
> 
> 
> As for the CS0-CS7 precedence model inc cake, we have declared that
> obsolete in the code, and wherever NQB falls into it, great. And the
> diffserv8, I don´t know.
> 
> 
> Anyway, does that work for everyone?
> 
> 
> Part II of this would be a discussion of the various wash modes, but
> merely getting the right byte into the right lookup tables after all
> this discussion, would be nice.
> 
> 
>