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

Greg White <g.white@cablelabs.com> Tue, 14 March 2023 16:25 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 B727FC15952A for <tsvwg@ietfa.amsl.com>; Tue, 14 Mar 2023 09:25:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 dgk39DQfiv56 for <tsvwg@ietfa.amsl.com>; Tue, 14 Mar 2023 09:25:19 -0700 (PDT)
Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on20719.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5b::719]) (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 799ADC15C528 for <tsvwg@ietf.org>; Tue, 14 Mar 2023 09:25:19 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J5ZT/ioW+0JIdD41WXAnNG6D3O0eatpmrxlJOKUzUglT9MQVO7u9X1kUlO1A0gfUdylq6mwaAm0Rapo7wcOkgn3JWXsueH5E6nr5gYIotLKtXRyrPfERJptZOXxDeZQrHNkp5ZkG/nLfd6HAs2nyqYiROEL0Xd9IPnMz25h6Y5WF/7LBkVIkfM56RAQ0ia+mqlKJpCgBp1mgWjkbwjbvl7a2BKDV+PzZLR/6/sHntXe7dItO036pOSeBMkHvJYa6pXAUFYbUVDtg6CKmiqgzra2Qy2l+ST2+0tVDicleClLA/tu3jb+6/qOJAgDs4k7oC7PPMo7HBm8DOrINxlnyHw==
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=7iX2IaY2x+39AXust+FBSTgc6h9UeKf7pqP3T9AhlDc=; b=PxZLMPdlMVqDDH4V6sEG+ARZzIFeeLvMC2vNwlHx27ncHx+Klda0z/2SVrPR3tD3nCDueyYeQm7Bf5R/ZZbIJxYT2gdQ+dlN3xwjk+qtkoQoqSFkvl20Lj6ERechksVHm2KnCTyDBGLh2X1Sbpe2yWMXO5mZtKtoxdmhLV5TfTrVMbZST+ZSRkxxogDDVP815RhLaw2gvXKd8uw9HLy9Q+ANn0wYnOwNLGhUzsEqxQk6kEsvddj2ke4SwI03klIeVuZbgYGfk1t0Am4GLbxJYpB+afWD1nDhG0FKmLROpRvOYdwAugpD6ZWbEtIftdOfEit/g63wpmYB5+EmA15hKg==
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=7iX2IaY2x+39AXust+FBSTgc6h9UeKf7pqP3T9AhlDc=; b=tRCEU1Lc+gaqyDoN8l9h5uyLPCUf7e2EPPcRgkfS2IzTXvlYIyDHmMgzPTRnVyR9MaL4PmhwB14jD5DDVF1rhhLwOZYxjANi2Kym/1ifNUgRtJPbe4jmcOMv/JKdDBrlnH7iga49C/xzNHPycDy4BBkrlgO470bRAAgm72Q3cTUzwO44cuXWYhQFQf6QN9fEqgrEVcpqIdTIIYIC31RU7AOLHJ+hHYq2QnocIhhAnIPXzvM2hTYJq4t70uzfGgjlbUtr0eKTue7kCfnuvYVSIrvvBwe7fsGp/aadx6HudeXJs2MTnJHad4MeTeyDcH85Cn4EviBXqtNU5u3QwhMMNg==
Received: from BN8PR06MB5892.namprd06.prod.outlook.com (2603:10b6:408:ce::25) by SN4PR0601MB3773.namprd06.prod.outlook.com (2603:10b6:803:4c::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.24; Tue, 14 Mar 2023 16:25:12 +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 16:25:12 +0000
From: Greg White <g.white@cablelabs.com>
To: Dave Taht <dave.taht@gmail.com>, "Ruediger.Geib@telekom.de" <Ruediger.Geib@telekom.de>
CC: tsvwg IETF list <tsvwg@ietf.org>, Cake List <cake@lists.bufferbloat.net>
Thread-Topic: draft-ietf-tsvwg-nqb-15.txt vs the cake AQM
Thread-Index: AQHZVn2QY2isdk4gqE2SQVTbhBhZEq76EYiA
Date: Tue, 14 Mar 2023 16:25:12 +0000
Message-ID: <407A497F-1546-43E3-BE4C-A052CBE8CD4A@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>
In-Reply-To: <CAA93jw4_MAX1DULpvU_Uo7BuyvvRpqZ-_gZP+HbhC251osCT3g@mail.gmail.com>
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_|SN4PR0601MB3773:EE_
x-ms-office365-filtering-correlation-id: 9ae8afda-4ef0-4af1-8fce-08db24a8afce
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: UY3Z5qgcQ7zHaQ5lU3heoBChcqkWVboPlaj108wgy8zNc1lScEN2RdIjkCXkwIK6keZKLeHGBgTWPCbijuSmKJq4ZCVDUYHr9OlnLHj109oZhtjFq9ymV/rtobqKwKIXh2yVFevpiWY5Ir0kjjQA8/rD/dofb3v4GwgTnGI5Jzww7LVSqyAtPydQU0fgQVSeqR8/jxE2avgOVKtlFkBDfZK9qvllHdcHPE+PADJZyha2+dKKL65l0ERvgoaw1b7328NBTckMf2l03ngDTtNOROJIoRXaRQwwyHq7D7LYolg5PmYUW9oRoPD9BN7tNmFVxex+jPrpvLT0phfjz6bNKZDnsK6sYibO1i+1G4DKabK+U2BInKfPElwIZHNQlunFSK2N6A3/QdPRx0YGUFnoL6h7eVobSCIQV8IZozGHWZiEpTFhw5Euo+NB1oX5jtZ9xq/JHTzvfxn/+YqFATgg+B82kuX+9Iw0n0fY2WN4TS3ohaqxKHxuLODOcNOVEsNzxiBbEf8C56SSEE92kPyf+tYkWD5N4uL1MP3a89W5vQ015T9uIKcxQoim1vL5rnyF3NmzFEc11m2NXBE1xyZCg1Y1MYznsGMjKw2xYbVkj/ygPnwIEYmrrKf7Fr6+ctnXMlSjp1HlYT0fi3thJ4Yy0g/mbTdb5PmpxVOxbhZif2fNzubhO6UfoDgnexey8Zep28EAAKYFBxXYMGE3dUMSq4QtzuGstYdk9VH/R5QgaTY=
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)(346002)(376002)(396003)(366004)(136003)(39850400004)(451199018)(54906003)(110136005)(36756003)(316002)(33656002)(38070700005)(86362001)(38100700002)(122000001)(6512007)(83380400001)(186003)(6506007)(26005)(2616005)(71200400001)(5660300002)(6486002)(478600001)(966005)(41300700001)(8676002)(64756008)(2906002)(66476007)(66556008)(76116006)(8936002)(66446008)(66946007)(4326008)(91956017)(45980500001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: liblIn5cuXJc1CvjnN1mizJAc3t0taboFRjaQiRgcRJVC4lym3yeC+rze69e2PkKoPuVgXHYPGuugG9OZxIhbzN4u9jz5mDei+polP51UnGZEHtmyH4vpcrd6kO+FZgd453S94pXdyWgRhaWbqBLJct2qsm7BlVSOgi5mtcIvVb1mKRKQy65XIQ4abzmRr0SuHHn0mfncfCD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q4LNQ8N6oP7s96faAhoaKZTIaJy6x3o+h+cV9VDjISNKD/WZlFZXkFNfEvH586ZNEJti8Tn/cxIofOV9fbXKJRCOQaMyqlXm1m/K0n1IfaelwwOao8UzOWenMjrQa7EgSntijsOMVjPzIsGwZ3/Ob9wOiTJiULjX7hAF+XzUca/gDtJMz8KWLKV2s1B1q0wi5iUx92pOjdNRQ46ZiwV+P3tjdvvbQOy8yWPzcY+USnoClObfPYpm4k9HxZZguHNCtgk7VUmvqbzg4rz2q/0bPEFmc/i6jhYRiNVQY6WchATVHrNTwGyE+Si4N0ctCyvn9S2rBmmcuPe+uJxfZspYA==
Content-Type: text/plain; charset="utf-8"
Content-ID: <8EA1BE8B7FA47A4BB69E9F0789E333C8@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: 9ae8afda-4ef0-4af1-8fce-08db24a8afce
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Mar 2023 16:25:12.5244 (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: 3TC3EaE6PLJmjo2GfhuBA5c2ram0nkZkvLGDwRRXr1gD/8PtibOyLglG5dC4MRLnq5Xd15TUsQc3ZyhWJM3QGA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN4PR0601MB3773
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/nfiZC5LKHnZkJbmfa0LH-nYp9-c>
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 16:25:23 -0000

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. 

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

-Greg


On 3/14/23, 8:02 AM, "Dave Taht" <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> ) 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.