[tsvwg] Re: WGLC review of draft-ietf-tsvwg-nqb-23
Martin Duke <martin.h.duke@gmail.com> Mon, 24 June 2024 16:38 UTC
Return-Path: <martin.h.duke@gmail.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 315F2C151094 for <tsvwg@ietfa.amsl.com>; Mon, 24 Jun 2024 09:38:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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=gmail.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 jRHDdXg6nVIb for <tsvwg@ietfa.amsl.com>; Mon, 24 Jun 2024 09:38:21 -0700 (PDT)
Received: from mail-vk1-xa2a.google.com (mail-vk1-xa2a.google.com [IPv6:2607:f8b0:4864:20::a2a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3220FC1840EE for <tsvwg@ietf.org>; Mon, 24 Jun 2024 09:38:21 -0700 (PDT)
Received: by mail-vk1-xa2a.google.com with SMTP id 71dfb90a1353d-4ef561f77eeso909862e0c.0 for <tsvwg@ietf.org>; Mon, 24 Jun 2024 09:38:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719247100; x=1719851900; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=nZy/lWjkv7DCp+QqVge2+IexV9ERWoKlOI87jNfCs0M=; b=f+sxDVc83BjhjtPlb3KUSZXwzm7FyGK0caLy8Wg0uMEwgNKCy45PaCevp3tXdt3asI aem3G8ZYeCIu4Kl65EeSFnrfL8MFlHggQOlIN658GtCMohqALkaOnCODXS2sVuQ7Nh5b OvWzVtKZ3ArxqFJJ6ebhTCf5igfm9hmaH7ledjXaXpkIb27BFqrjeUN45iZIh2TxNFTM rUlIWQz6b5TnaSPaHk+1Heh4HOQsOVm1ifpeanqz+hGqHSP+HetfbwVt6/naYNgdiukZ 1xHWW4vBzJnnBdWJg++qQ9tWBK90E4FdupHSZVT8n34hXICMoXMrHFmAmZf9YHUEPouH E21A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719247100; x=1719851900; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nZy/lWjkv7DCp+QqVge2+IexV9ERWoKlOI87jNfCs0M=; b=mdR9p+3uQz1ciIv2bUi/sN6xV91n4sTkJRPYXHUvQYgt8vQYQCsQxRW1COSVOB5+Y6 9kJPZVPYZQ4kjBENTLKHkH/JPtHKKRhlaxlesDVxLFa2DuQpsSBEiciM732RIB8xxBfD U2TEETD/3wGfgKKxLDrS5Muw3QlwW0+1lJd8KuC4JWGMx+j3ORiSug672YS72LAVlHt1 /wjU0m6EnrUvF3Lp0IZ6BIHDNRm6ACrxA7vF+yphAqXxrWjyA+o9/hoyJTeULVZLzfhr zgPFsz5zy8h6VqQiMCyXaZeSjsoqExd8ItU1PlahkjmXYxZtaM2efaujRxvGLWNPLLw5 yH8A==
X-Gm-Message-State: AOJu0Ywn2yH/cL0sEcrd27bVIlv71DOe9EZ1OEqfVWOTRoX0WHnUFro4 TqaeLgbHGt/CuGDS59DKFcuSb26wfbNZCJg/Lrbi26XqDPfrOQzPXAidb+Jy2irvu+lvfPSnmUd +NDQH7ESyAyLxVk1CZzoEvbXA8js=
X-Google-Smtp-Source: AGHT+IEoeyrPGZhh1G0f2R+9P4oijhwzZZxs5t/9oaFJWDfZIAHJUjPwSlQ3ttAfjtSvG0Ee6WEYsO+Dvx4SFHtNvVY=
X-Received: by 2002:a05:6122:4592:b0:4d4:21cc:5f4f with SMTP id 71dfb90a1353d-4ef6a73950emr2823492e0c.11.1719247099681; Mon, 24 Jun 2024 09:38:19 -0700 (PDT)
MIME-Version: 1.0
References: <CAM4esxSfvesaW6dH0GB9_NKUhzWgXcg9SApUcxE=VM86e3jeYw@mail.gmail.com> <01BE88AE-719D-4631-92A5-878A8BC151A7@CableLabs.com>
In-Reply-To: <01BE88AE-719D-4631-92A5-878A8BC151A7@CableLabs.com>
From: Martin Duke <martin.h.duke@gmail.com>
Date: Mon, 24 Jun 2024 09:38:08 -0700
Message-ID: <CAM4esxRLWmYbLrK_oa7rVhifXz5AJT6=Kf9HXWwEai7WT34-jg@mail.gmail.com>
To: Greg White <g.white@cablelabs.com>
Content-Type: multipart/alternative; boundary="000000000000a864ca061ba568e3"
Message-ID-Hash: OM4XGELOEK7YKF4Z2RYRIWB2SFOQWZY5
X-Message-ID-Hash: OM4XGELOEK7YKF4Z2RYRIWB2SFOQWZY5
X-MailFrom: martin.h.duke@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tsvwg.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: tsvwg <tsvwg@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [tsvwg] Re: WGLC review of draft-ietf-tsvwg-nqb-23
List-Id: Transport Area Working Group <tsvwg.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/W4-h8IqhkGkq0MJ5uwgfJxPm568>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Owner: <mailto:tsvwg-owner@ietf.org>
List-Post: <mailto:tsvwg@ietf.org>
List-Subscribe: <mailto:tsvwg-join@ietf.org>
List-Unsubscribe: <mailto:tsvwg-leave@ietf.org>
Sorry for the delay. replies inline. On Fri, May 31, 2024 at 3:50 PM Greg White <g.white@cablelabs.com> wrote: > Hi Martin, > > > > Thanks for your review and comments. > > > > To your point about relying heavily on “magic” numbers with unclear future > evolution. I’ve tried to pull out all of the potential instances here: > > > > https://www.ietf.org/archive/id/draft-ietf-tsvwg-nqb-23.html#section-4.1 > > ~1% of “typical” network path capacity - This is explicitly defined as > being relative to “typical” network capacity in order that it can evolve > over time. I believe that we reached consensus on the 1% number. > > > > “R*T + 1500 bytes” – based on the typical Internet MTU. > > > > https://www.ietf.org/archive/id/draft-ietf-tsvwg-nqb-23.html#section-4.4.1 > > “the policer/shaper rate SHOULD be set to either 5% of the interconnection > data rate, or 5% of the typical rate for such interconnections, whichever > is greater. …. The recommendation to limit NQB traffic to 5% is based on an > assumption that internal links in the downstream domain could have data > rates as low as one tenth of the interconnect rate, in which case if the > entire aggregate of NQB traffic traversed a single instance of such a link, > the aggregate would consume no more than 50% of that link's capacity. This > SHOULD be adjusted based on any knowledge of the local network environment > that is available.” – automatically scales based on interconnection data > rates, and guidance is given on further adjustment for local network > conditions. > > > > “A traffic policing function SHOULD allow approximately 100 ms of burst > tolerance (e.g. a token bucket depth equal to 100 ms multiplied by the > policer rate). A traffic shaping function SHOULD allow approximately 10 ms > of burst tolerance, and no more than 50 ms of buffering.” – provided in > time units as opposed to byte units so that they automatically scale with > link rates. > > > > https://www.ietf.org/archive/id/draft-ietf-tsvwg-nqb-23.html#section-5.1 > > “It is RECOMMENDED to configure an NQB buffer size less than or equal to > 10 ms at the shared NQB/Default egress rate.” - as above, written in time > units so as to automatically scale with link rates. > > > > https://www.ietf.org/archive/id/draft-ietf-tsvwg-nqb-23.html#section-5.3 > > “However, it would not seem necessary to limit bursts lower than roughly > 10% of the minimum base RTT expected in the typical deployment scenario” – > expressed relative to contemporaneous conditions > > > > > > So, for the primary link characteristic that is expected to evolve over > time (data rate), I think we’re good. It is clear how the parameters track > network evolution. The “1500 bytes” probably could be replaced with > “MTU”. The others seem to be the parameters provided in time units. Are > those the ones that you are concerned about? > [MD] I'm seeing specific bps numbers in Sec 4.1, but looking again, I believe these numbers are current values used as an example rather than normative values. The 10ms figure seems reasonable, but of course that builds in assumptions about future applications. But I suppose that's fine. > > > Other responses below [GW]. > > > > > > > > *From: *Martin Duke <martin.h.duke@gmail.com> > *Date: *Tuesday, May 28, 2024 at 5:24 PM > *To: *tsvwg <tsvwg@ietf.org> > *Subject: *[tsvwg] WGLC review of draft-ietf-tsvwg-nqb-23 > > > > - This document appears to rely heavily on magic numbers derived from > current link characteristics, and it's not clear how those can evolve over > time. There's some loose language about traffic policing and appropriate > responses to that. DSCP is a somewhat more loosely defined area than > others, but I was hoping for a little more precision in a standard. > > > > [GW] Yes, other standard PHB specs leave quite a bit of flexibility as > well. Is there something specific that you’d like to see changed? > [MD] This is now just an editorial comment, but perhaps a more careful separation of what is normative here and what is an example based on the current internet? > > > - I wonder if keeping a token bucket is really needed, or just keeping a > very small queue and looking at what flows are filling up that queue is > sufficient to identify bad actors. > > > > [GW] I’m not sure I follow this comment. The only direct discussion of a > token bucket is in the section on handling situations where a downstream > domain might provide DSCP 45 with high priority. In that context, we do > suggest traffic protection (i.e. looking at what flows are filling up the > queue), but since the “queue” at the egress into the downstream domain may > not be the bottleneck, we also discuss rate shaping/policing the aggregate > of NQB traffic (in which case a token bucket seems reasonable). > Identifying bad actors is a role for a traffic protection algorithm, for > which we don’t directly discuss keeping a token bucket. Perhaps you are > inferring a token bucket from the discussion about potentially using a > per-flow rate policer[1], and then later discussing hysteresis[2][3]? Even > so, the draft suggests that looking at which flows are filling up the queue > is a better approach. > > > > [1] > https://www.ietf.org/archive/id/draft-ietf-tsvwg-nqb-23.html#section-5.2-6 > > [2] > https://www.ietf.org/archive/id/draft-ietf-tsvwg-nqb-23.html#section-5.2-7 > > [3] > https://www.ietf.org/archive/id/draft-ietf-tsvwg-nqb-23.html#section-5.2-8 > [MD] I withdraw the comment. > > > Nits: > > > > (1) "A node supporting the NQB PHB makes no guarantees on latency" > > > > Doesn't the size of the queue provide an upper bound on latency? > > > > [GW] I suppose that it does in some cases. A simple fix would be to > delete the first phrase of that sentence (up to the comma). Is that what > you’d like to see? > [MD] I might just add the qualification "beyond the size of the queue", but I'm happy to accept whatever you decide to do. > > > (4.1) Is the number of bytes sent counted at the IP layer (i.e it counts > the IP header and all layers above it?) > > > > [GW] Yes, that was the intent. Would changing it to “number of IP bytes > sent” work for you? > [MD] definitely. > > > Martin > > > > >
- [tsvwg] WGLC review of draft-ietf-tsvwg-nqb-23 Martin Duke
- [tsvwg] Re: WGLC review of draft-ietf-tsvwg-nqb-23 Sebastian Moeller
- [tsvwg] Re: WGLC review of draft-ietf-tsvwg-nqb-23 Greg White
- [tsvwg] Re: WGLC review of draft-ietf-tsvwg-nqb-23 Martin Duke