Re: [tsvwg] draft-ietf-tsvwg-nqb-15.txt - Section 5.2. Traffic Protection (text as is)

Greg White <g.white@cablelabs.com> Sun, 12 March 2023 00:05 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 1F429C15154D for <tsvwg@ietfa.amsl.com>; Sat, 11 Mar 2023 16:05:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-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 zDHlbz2qQQMJ for <tsvwg@ietfa.amsl.com>; Sat, 11 Mar 2023 16:05:34 -0800 (PST)
Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2098.outbound.protection.outlook.com [40.107.223.98]) (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 91A61C14CE42 for <tsvwg@ietf.org>; Sat, 11 Mar 2023 16:05:05 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=btZArSkukDAv93T5EWpPJsGumNa4Zx2Nj/UebDwLGwGJdcJY16ba9etbDd44B3NQBlXqmAdDArsW7WZmU8P0hkw0AJEjM8fGGzZ0gZNhR9xIiU6BfqqSTY9VbpAz7rJUWgmtA18MuTb/0iK4JxEigC1crSGvSUOICuQSiMbzsW6EhWjsHTsJ0RWj9TOkKmETEjqo8WhQdCLK7PEGhnF4tLyPhQBdIDVPTTLLd7otLRUroaStoNAUILKEIi1h5fmEA4ndOeoIUhsD4H1/rSO8iy9agCxcNtkq5NR4RAf76ovze7zY3WMFuYEwbFToZ+ptC1s2PamsSOXEEHhEkKdGkg==
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=7Ax8SUq7NamcNPiKRTPwpJGGI000/9CYEMKLVS0VV0w=; b=UeTWSPWPnCr4HKQkbgMVqus7ix5fBs1KHnRakVe1tBuYQF6uKgE3Jsl4XSeh8oopP9zHoY2nDi0IQHdeiZ2ONUEFy69q5l6eUeTb3xtQtg36HsdOz2U9SkxLLr/EBGC3KkOPOswhZ+rS3u6q3CUQ9p6f9IgccGqJh5yir43y3sfZcjjGPRwVDMSKqW9pvTmrQw9M7V3kKKq2mnKwzOujUbjlUYBtD7hxY4PHMfTROAFeZzhCDnFYgw0WNg38IxqXSHuAqDyeiFlV/F3vl0plV0HPhLW5JUZOx7nho/ZWoPyTABKzMx2e38TDA1QsHb0il/qsoodcRrEJxay042rINA==
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=7Ax8SUq7NamcNPiKRTPwpJGGI000/9CYEMKLVS0VV0w=; b=qCNy7pQTy+velJ+xLDwIOeFrAoKVWb8SLqkL0ZBQ9A9E2m2k24sERkqL9EkU5KcxOoZSRpKxyIMbhnwPnAFFHp6vicD7i41ijeXclOpVr1sJqUOGSuzud+MzsuRF8uKYwkoydS7Y9DfVJpsVUlzL44qAzztqVueliRb9iuhTzYPABUdJuuUKcDc99sAsjnwvHJdXRxntU+DKg01+csFiJ0shjoGn/y6wMUcbaYLHLA3mW7emsIBhUaCY7hpHu6jp8jyYxffW06zlL/YXPlc5b1AOfYwnTnH7nrThU4Sl14zvediHgbQtVdsB6MRiWvGRFcIyqT929tDCRHg2LEg6ng==
Received: from BN8PR06MB5892.namprd06.prod.outlook.com (2603:10b6:408:ce::25) by BYAPR06MB3879.namprd06.prod.outlook.com (2603:10b6:a02:8c::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.19; Sun, 12 Mar 2023 00:05:02 +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.019; Sun, 12 Mar 2023 00:05:02 +0000
From: Greg White <g.white@cablelabs.com>
To: "Ruediger.Geib@telekom.de" <Ruediger.Geib@telekom.de>
CC: "tsvwg@ietf.org" <tsvwg@ietf.org>
Thread-Topic: [tsvwg] draft-ietf-tsvwg-nqb-15.txt - Section 5.2. Traffic Protection (text as is)
Thread-Index: AQHZN6gF0brACKAHS06lm1w42M0o+a72B+uA
Date: Sun, 12 Mar 2023 00:05:02 +0000
Message-ID: <EDED2A65-DE02-428B-99F9-1CB20FFFB139@cablelabs.com>
References: <167348364734.15098.9183646444272144529@ietfa.amsl.com> <FR2P281MB152729FCB5F6206A3926F57B9CD79@FR2P281MB1527.DEUP281.PROD.OUTLOOK.COM>
In-Reply-To: <FR2P281MB152729FCB5F6206A3926F57B9CD79@FR2P281MB1527.DEUP281.PROD.OUTLOOK.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_|BYAPR06MB3879:EE_
x-ms-office365-filtering-correlation-id: b9b022e8-6def-4a34-d4f2-08db228d6d46
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 9xEi42IrEozzSaqexLSfK1FL1UZgpdnGH0v6/R6CrYsqZwrFz7iBtNEFki3nnl9HhjSgoi3p3/znRZzwjkOaCZRZC3BpMeIv6FnZMju6X+nr6aeMLsLUui0phsJA03pB/Dlntcf6Tr30i7v7rXbX0tflOqE8YgRU9qUHsk08of7CC4RWTMulVWpIfWIusbK1UfT3TV9G0WhLmSHDNF9SaPbqwxN600N0XvIG9f1PVSDE6MVKAx+fu3USzsgEXrgnw7fHx/i5jNaoTYT+VPihiDET6dgzCvwor8nnB6YXix5QVAB7qelyZl++JDLokySjphnLwVW1o8elOYHXKmSRbNtXAfux2p4Byssf0zLlrAY5X1Mcc6Jyi0w6icPPO1L5FWdTqQuKYi3uMNpNwcytCqWJmTqmThgCvqr5D44I0dj9mDXdbF0RGOB9W9uVbB3J2EwXXHZIkmyafBRF8zODTe3CM1inF/rO2zEqNzYckbJQmcj5DNjEiXCgwtsx/Ey464xyhCFVJaxfFeEoQUMdsz8E5wgr9LUgJkuLPwdITuD/qcfjXJbP+Y7y2IoaEW0BPoMmmTlpQZSDdv0jN3fj31zDn/5vLxVXTrfNlkbvGpT576XGeeFkSjEVD8XmQyyZsfZ4EnejGvHoyE/wdU6KPDq53fO+CRR93igtrOksDXJOj45zARRvrmFp1ZUyjBqp0V0ss1fJzhCnLhYe2fPSz0qU/6BVm2Y1y9TQW66/WKUMIM3dNdPhOz0+nNBLCBjgoPgvCAjnEoygbOh2ac18Fg==
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)(136003)(39840400004)(366004)(376002)(396003)(346002)(451199018)(66574015)(66899018)(6486002)(122000001)(36756003)(6506007)(33656002)(71200400001)(38100700002)(186003)(86362001)(6512007)(83380400001)(26005)(2616005)(38070700005)(316002)(66946007)(478600001)(5660300002)(41300700001)(966005)(2906002)(6916009)(4326008)(66446008)(91956017)(8936002)(8676002)(64756008)(76116006)(66556008)(66476007)(45980500001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: PdHmIehQMGGQwd9VEakVwcWlKc4jpSjtHO4UnsZJaS0fWsDnz8/RU2RBBScfU2bpav4CVGsFZG+0+ibcaBVFMsNBmlOBnY3jC5/m+I4Hu4B4oStZPpzU/T/IfVMVKKh7fDRhYIdOIB7tdeg+tkfccipdbJI6HjdAeSpcJpRGo0RyZXit1gSZ+/hgfFLkgFX4jGAWIdf9C0jcRyA+FyUKi8uFgzKVWU88ehJAl6m/6nZDvm/aBJ5EOz7f/lYK7Vne8Y4MNcrAKabwB2W5QwMlelLI2CFBCL0WQLm4lEYJhjJpTvWcIcd+ib4o53FuDyYPkCqvDmYtOzaZ/nRipx2oc6LB5eyBwzzzopRtxYuinfOSMLJubDU7cfxpJmQ5ahLZYlsh0vrmaf94oO1TYjsIJKq+dIM3THPja/2NzDM0GifILzKGTtXwnZv4kltGt897E7EF2zsm6vougb+cBdk2fnckqbGt/m5l122EJKkNHF9LdJzw+6MueT/0KAm28AMo8wugOHh9r0o66PuXcMRjP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aGl7QOzYrx/ImcN+G0c73Ym4A==
Content-Type: text/plain; charset="utf-8"
Content-ID: <F4010FEEE82A1F4B8407D944EAEEDA0F@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: b9b022e8-6def-4a34-d4f2-08db228d6d46
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Mar 2023 00:05:02.1992 (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: k1sAA8NB4P2BIOQJMP+d7/7jTEo4gfQq4xGi7AFq6QsD0ZKj1gAq0Yv1oZnGBLlIgD/Ut1PB0MVIkyfJ21Xa+A==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR06MB3879
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/HCjxiZc5ClZsCdPf-ZZIfFb8LYA>
Subject: Re: [tsvwg] draft-ietf-tsvwg-nqb-15.txt - Section 5.2. Traffic Protection (text as is)
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: Sun, 12 Mar 2023 00:05:38 -0000

See [GW].

On 2/3/23, 1:17 AM, "Ruediger.Geib@telekom.de <mailto:Ruediger.Geib@telekom.de>" <Ruediger.Geib@telekom.de <mailto:Ruediger.Geib@telekom.de>> wrote:


Hi Greg,


Section 5.2. Traffic Protection
- draft: NQB PHB SHOULD support a "traffic protection" function...and either re-mark [offending] flows/packets as Default and reclassify them to the QB queue or discard the offending traffic.


Please discuss the consequences of both options, re-marking & reclassification as default QB on one side and discard on the other. 

[GW] Sections 6 & 12 already mention the consequences of both options on an application (and the consequences there are fairly obvious).  I guess you are asking more broadly, what are the consequences of PHB implementers choosing the re-marking/re-classification option vs choosing the discard option, in a game-theory sense?  For applications that are sensitive to packet loss, I suppose PHB implementations that choose the discard option would create a stronger disincentive for application mismarking, but on the other hand would likely create a greater degradation even for NQB-compliant applications in overload situations, as compared to PHB implementations that choose re-marking/re-classification. For applications that are out-of-order intolerant (i.e. treating a sequence gap the same as a packet loss), I suppose the two PHB implementations are roughly equivalent.  In addition, https://datatracker.ietf.org/doc/html/draft-briscoe-docsis-q-protection-06#section-5.5 has some discussion of the rationale for implementing re-classification.  I'd be curious to know what specifically you'd like to see here, and if you have any suggestions for text that would meet your requirements.


- draft: Such a function SHOULD be implemented in an objective and verifiable manner, basing its decisions upon the behavior of the flow rather than on application-layer constructs.
“flow” is neither specified nor defined by your draft (and the draft doesn’t refer to a specification of flow given by another document). 

[GW] Fair point. As you mentioned in another thread, we have a section in the DOCSIS spec (and referenced in the Q-protection draft) which discusses this. I'll add some language here (and probably also reference the DOCSIS spec as an example). 

Objectively verified against which requirements (a requirement which can be verified is, e.g.: a sending rate SHOULD average at least the configured rate when measured over any
time interval equal to or longer than the time it takes to send an output link MTU sized packet at the configured rate).
The draft doesn’t contain neither a specification, nor a definition, what a flow is, and it doesn't determine requirements on flow rates, which can be verified. All it offers is descriptive text to the latter.

[GW] The statement is that the implementation should be both objective and verifiable, which it then clarifies to mean that it bases its decisions on flow behavior rather than on *what* a flow is. The immediately preceding sentence defines the "function" as being one that can identify flows that are inconsistent with the sender requirements in Section 4.1.    So, what we're trying to get at is that the decision to take action SHOULD be driven by these objective aspects, and that it SHOULD be possible to verify that this is the case (presumably by introducing flows with different behavioral characteristics, or I suppose by inspecting source code).   I think it is important to state this. 

- draft: it is RECOMMENDED that traffic protection algorithms base their decisions on the detection of actual queuing, as opposed to simply packet arrival rate or data rate.


The draft doesn’t specify or define what is meant by “actual queuing”. It also doesn’t provide a reference.

[GW] It seems straightforward to me that "detection of actual queuing" means monitoring either the queue depth or queue delay in the NQB queue, and using this metric in the decision process. Would you prefer different words?


- draft: The traffic protection function MUST be designed to fail gracefully in the case that the flow state is exhausted.


I’m surprised to find a MUST here, while the major part of the queue protection mechanism isn’t specified. But to me, this requirement is vague too, as the draft doesn’t specify what is meant by “failing gracefully, if flow state is exhausted”.

[GW] What would you suggest?


Regards,


Ruediger






-----Ursprüngliche Nachricht-----
Von: tsvwg <tsvwg-bounces@ietf.org <mailto:tsvwg-bounces@ietf.org>> Im Auftrag von internet-drafts@ietf.org <mailto:internet-drafts@ietf.org>
Gesendet: Donnerstag, 12. Januar 2023 01:34
An: i-d-announce@ietf.org <mailto:i-d-announce@ietf.org>
Cc: tsvwg@ietf.org <mailto:tsvwg@ietf.org>
Betreff: [tsvwg] I-D Action: draft-ietf-tsvwg-nqb-15.txt




A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Transport Area Working Group WG of the IETF.


Title : A Non-Queue-Building Per-Hop Behavior (NQB PHB) for Differentiated Services
Authors : Greg White
Thomas Fossati
Filename : draft-ietf-tsvwg-nqb-15.txt
Pages : 25
Date : 2023-01-11


Abstract:
This document specifies properties and characteristics of a Non-
Queue-Building Per-Hop Behavior (NQB PHB). The purpose of this NQB
PHB is to provide a separate queue that enables smooth, low-data-
rate, application-limited traffic flows, which would ordinarily share
a queue with bursty and capacity-seeking traffic, to avoid the
latency, latency variation and loss caused by such traffic. This PHB
is implemented without prioritization and can be implemented without
rate policing, making it suitable for environments where the use of
these features is restricted. The NQB PHB has been developed
primarily for use by access network segments, where queuing delays
and queuing loss caused by Queue-Building protocols are manifested,
but its use is not limited to such segments. In particular,
applications to cable broadband links, Wi-Fi links, and mobile
network radio and core segments are discussed. This document
recommends a specific Differentiated Services Code Point (DSCP) to
identify Non-Queue-Building flows.




The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-tsvwg-nqb/ <https://datatracker.ietf.org/doc/draft-ietf-tsvwg-nqb/>


There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-tsvwg-nqb-15.html <https://www.ietf.org/archive/id/draft-ietf-tsvwg-nqb-15.html>


A diff from the previous version is available at:
https://author-tools.ietf.org/iddiff?url2=draft-ietf-tsvwg-nqb-15 <https://author-tools.ietf.org/iddiff?url2=draft-ietf-tsvwg-nqb-15>




Internet-Drafts are also available by rsync at rsync.ietf.org::internet-drafts