[tcpPrague] Re: Reno fallback
Neal Cardwell <ncardwell@google.com> Thu, 25 July 2024 17:12 UTC
Return-Path: <ncardwell@google.com>
X-Original-To: tcpprague@ietfa.amsl.com
Delivered-To: tcpprague@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9C272C180B77 for <tcpprague@ietfa.amsl.com>; Thu, 25 Jul 2024 10:12:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.608
X-Spam-Level:
X-Spam-Status: No, score=-17.608 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, 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, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 mSlb-J1Y_48d for <tcpprague@ietfa.amsl.com>; Thu, 25 Jul 2024 10:12:50 -0700 (PDT)
Received: from mail-oo1-xc31.google.com (mail-oo1-xc31.google.com [IPv6:2607:f8b0:4864:20::c31]) (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 C51B8C1519B8 for <tcpprague@ietf.org>; Thu, 25 Jul 2024 10:12:50 -0700 (PDT)
Received: by mail-oo1-xc31.google.com with SMTP id 006d021491bc7-5d31ef2c73cso60730eaf.3 for <tcpprague@ietf.org>; Thu, 25 Jul 2024 10:12:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1721927570; x=1722532370; 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=fu01vxJXPyTYsocz2hSDhVp67qLU1npFN8eDxRAwZ4M=; b=I7IePWvcy/KaYKhffhHjAHXFiff6fBsmnLEK9bcOn/r9DVmK3DLW3PN8/wbZkWhW2e 1EJqSEPbg8w+MPUv3g/HRM2HK7Qq7z2IOk5sDj8hQGa2YJw73f+yrIQuF0wkCSvHV1fM OJrgqYMHEBkkcu7WO7GcGXH7b5fBg0nkcDuTe1F1boKPSNvwTxvWlAqVEbUGEVZS+HTX O8wq/qK5QMgtTsPPR0PlyhOL/fVENV+iki3aoMOK8S9L7g5IHCfq694oXEjYLvhZw+7W mbLJ5zf4XBv2G8/EhkfWpzL6jV9GHUkAORttU7nAiaLv5zy15wsXNtVy7/RcOtFFtTTI JZvA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721927570; x=1722532370; 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=fu01vxJXPyTYsocz2hSDhVp67qLU1npFN8eDxRAwZ4M=; b=iU1hE+/FuI/tv1wxRDJBxMff/DuQrn70pWk0KmVLnoYzLFvP3D08hZahsIdUpFLTns kmYvJg5elCd7nBPHczshw21wjP4P4Um+4PIJpYSl7lr4Dr/g3MGettqZmdmRsaGX/rrJ cOwAFd9fdGb7fgPSED4f/9cwVWgFxorpfGtM0V5r9t0OW9S7rlnygdUqmHv6o6/HnKk4 hpsMuJSO7CVOvQoDZgZpSxZXbxJhiMm1O+IPgajxDhgpGen71+RyR3sBuHS0pgzbn0Cv P04RgzUvbqsEjTnE3DOIxhg3LohN8UdKugI+yDb14cpkFR8izhGADOVIxDbpY6FqrNz8 aSCA==
X-Forwarded-Encrypted: i=1; AJvYcCWP5TYHC1cRygIGn/yfrauiOj2za3kl/3QYNCu4Vl7WOCMLMTdcI/DbKKdM1kxco+Uvucn+bmYygSykAd4Q0isAEhU=
X-Gm-Message-State: AOJu0YwT0vq2RHd+unZgf/OdAl6bj/FLqUIChepIi2nNMOjY0o/uKk6K vsYMSsPdDQTihxyjkHnGdPIYI7XXClUCuR0sWM8AYCFKR3vVdTeE1fzKg8xffpd5YEtG+ec1Dtt k5upU9STV2gfpGOEdk7bQQ9ri48lmqkfuyrbZ
X-Google-Smtp-Source: AGHT+IFo20tHa5Vt2Thc98Q1DCcoSkrPzBdE09XizsKgoAC2YvsxkJnNkMuKVh96kQtUlmCy6GfleUgR6WXzzKYa+KE=
X-Received: by 2002:a05:6358:63a8:b0:1ac:f4a9:37 with SMTP id e5c5f4694b2df-1acfb88bc28mr345968255d.3.1721927569173; Thu, 25 Jul 2024 10:12:49 -0700 (PDT)
MIME-Version: 1.0
References: <DS0PR15MB57814862D3E5FE5179D4FC448BAA2@DS0PR15MB5781.namprd15.prod.outlook.com> <MM1PPF302B015E3C45CC6AC581E99D3CEECEFAA2@MM1PPF302B015E3.SWEP280.PROD.OUTLOOK.COM> <AM6PR07MB4456082632D284644DD1365AB9AB2@AM6PR07MB4456.eurprd07.prod.outlook.com>
In-Reply-To: <AM6PR07MB4456082632D284644DD1365AB9AB2@AM6PR07MB4456.eurprd07.prod.outlook.com>
From: Neal Cardwell <ncardwell@google.com>
Date: Thu, 25 Jul 2024 13:12:28 -0400
Message-ID: <CADVnQymEn2f-O_iH0879HsMSWFtWXvxnR_E4pMVJpWtMhrWW3g@mail.gmail.com>
To: "Koen De Schepper (Nokia)" <koen.de_schepper=40nokia-bell-labs.com@dmarc.ietf.org>
Content-Type: multipart/alternative; boundary="000000000000179f6f061e1581f6"
Message-ID-Hash: GEQNIJ5VFGV32G4KOHZUKNCWNPSSV6M4
X-Message-ID-Hash: GEQNIJ5VFGV32G4KOHZUKNCWNPSSV6M4
X-MailFrom: ncardwell@google.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tcpprague.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Anna Brunström <anna.brunstrom@kau.se>, Szilveszter Nadas <Szilveszter.Nadas=40ericsson.com@dmarc.ietf.org>, "tcpprague@ietf.org" <tcpprague@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [tcpPrague] Re: Reno fallback
List-Id: "To coordinate implementation and standardisation of TCP Prague across platforms. TCP Prague will be an evolution of DCTCP designed to live alongside other TCP variants and derivatives." <tcpprague.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpprague/_3Q9YOvtEsoLTGI5H5yMxTTQwt4>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tcpprague>
List-Help: <mailto:tcpprague-request@ietf.org?subject=help>
List-Owner: <mailto:tcpprague-owner@ietf.org>
List-Post: <mailto:tcpprague@ietf.org>
List-Subscribe: <mailto:tcpprague-join@ietf.org>
List-Unsubscribe: <mailto:tcpprague-leave@ietf.org>
I'm still a little concerned about this strategy of "Cubic after a loss and Prague after a mark". "Cubic after a loss" sounds fine. But a pure "Prague after a mark" strategy seems like it would imply that when bandwidth frees up (e.g., some L4S flow departs the bottleneck) it will take a long (Reno-time-scale) period of time for the flow to fully utilize the bandwidth. For example, AFAICT for a 1Gbps bottleneck w/ RTT of 40ms, if there initially are 2 Prague flows and then one flow stops, then (due to the slow Reno-style cwnd growth) it will take the remaining flow about 2.75 minutes (165 secs) for the remaining flow to reach full utilization: BDP/2 * RTT = = (1Gbps * 40ms / 1514 bytes / 2) * 100ms = 10^9 * .040 / (1514*8) / 2 * .1 sec = 165 sec I'd imagine users will not be happy with that Reno-scale performance, and sites will not want to deploy Prague with that kind of performance. AFAICT it makes sense to come up with some strategy for faster-than-Reno cwnd growth if the time since the last ECN mark is quite "long". One approach would be to simply always use CUBIC growth, since CUBIC growth is very similar to Reno growth at low BDPs, and is faster than Reno at large BDPs. IIRC Bob Briscoe had an alternative proposal that involved increasing cwnd based on a delay target and the current effective throughput, increasing the cwnd by something like target_delay*current_throughput if it's been a long time since the last ECN mark. That seems like a nice improvement as well. neal On Wed, Jul 24, 2024 at 10:18 PM Koen De Schepper (Nokia) <koen.de_schepper= 40nokia-bell-labs.com@dmarc.ietf.org> wrote: > Hi all, > > > > We plan to fall back to Cubic, just like Apple QUIC is doing, but still > todo for Linux. The goal is “to fall back” and not to use Cubic during > marks, as this would completely make Prague behave different. Apple’s QUIC > does Cubic after a loss and does Prague after a mark. So if marks take over > you are back at the link capacity, when loss occurs, you usually loose the > marks as you backed off too much. So faster recovery with cubic gives you > again marks. > > > > If people have code to do this, we are happy to take it in the L4STeam > git, and include it in the upstream. > > > > Regards, > > Koen. > > > > *From:* Anna Brunström <anna.brunstrom@kau.se> > *Sent:* Thursday, July 25, 2024 12:16 AM > *To:* Szilveszter Nadas <Szilveszter.Nadas=40ericsson.com@dmarc.ietf.org>; > tcpprague@ietf.org > *Subject:* [tcpPrague] Re: Reno fallback > > > > > > *CAUTION:* This is an external email. Please be very careful when > clicking links or opening attachments. See the URL nok.it/ext for > additional information. > > > > Hi, > > > > As a data point connected to Szilveszter’s question, we have been running > some Prague experiments over 5G. We have seen that when there is packet > loss Pargue performs significantly worse than Cubic. > > > > Cheers, > > Anna > > > > *From:* Szilveszter Nadas <Szilveszter.Nadas=40ericsson.com@dmarc.ietf.org> > > *Sent:* den 24 juli 2024 22:34 > *To:* tcpprague@ietf.org > *Subject:* [tcpPrague] Reno fallback > > > > Hi, > > > > I asked this question at ANRW yesterday, and would like to repeat this > here: > > > > -Why Prague is based on Reno, and uses Reno for loss response, as opposed > to Cubic? > > --Is it just historic reason, as DCTCP is also based on Reno? > > --Is there any fundamental issues to base it on Cubic? > > --Is there a Prague or Prague-like CC based on Cubic? I heard rumors about > Apple having such a CC implementation. > > > > I think it would be important to use Cubic, because Prague is supposed to > work well in environments, where the congestion signal is loss, and Cubic > is more efficient in those cases. > > > > Cheers, > > Szilveszter > > När du skickar e-post till Karlstads universitet behandlar vi dina > personuppgifter <https://www.kau.se/gdpr>. > When you send an e-mail to Karlstad University, we will process your > personal data <https://www.kau.se/en/gdpr>. > _______________________________________________ > tcpPrague mailing list -- tcpprague@ietf.org > To unsubscribe send an email to tcpprague-leave@ietf.org >
- [tcpPrague] Reno fallback Szilveszter Nadas
- [tcpPrague] Re: Reno fallback Anna Brunström
- [tcpPrague] Re: Reno fallback Koen De Schepper (Nokia)
- [tcpPrague] Re: Reno fallback Greg White
- [tcpPrague] Re: Reno fallback Neal Cardwell
- [tcpPrague] Re: Reno fallback Koen De Schepper (Nokia)
- [tcpPrague] Re: Reno fallback Neal Cardwell
- [tcpPrague] Re: Reno fallback Koen De Schepper (Nokia)
- [tcpPrague] Re: Reno fallback Szilveszter Nadas
- [tcpPrague] Re: Reno fallback Koen De Schepper (Nokia)
- [tcpPrague] Re: Reno fallback Ingemar Johansson S