Re: [tsvwg] The state of l4s, bbrv2, sce?

Neal Cardwell <ncardwell@google.com> Fri, 26 July 2019 15:37 UTC

Return-Path: <ncardwell@google.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 F2DA812015E for <tsvwg@ietfa.amsl.com>; Fri, 26 Jul 2019 08:37:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.5
X-Spam-Level:
X-Spam-Status: No, score=-17.5 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, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m6OedFTVFOk1 for <tsvwg@ietfa.amsl.com>; Fri, 26 Jul 2019 08:37:31 -0700 (PDT)
Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D403F120161 for <tsvwg@ietf.org>; Fri, 26 Jul 2019 08:37:31 -0700 (PDT)
Received: by mail-ot1-x32c.google.com with SMTP id b7so5610079otl.11 for <tsvwg@ietf.org>; Fri, 26 Jul 2019 08:37:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=p2wHehMJrtRgYJYaa4/6XEq6BErL4+Kf/TDNsMxM+eA=; b=Z2TFOv66hZb6RyI2AmZH5EZwsW9IjfQra8VVyC97vMAsQgKH8qJ3ZXXxlYxfkjbjCm UaMxhu9msyoNDScGBrOo/ARX8vktGsJ4o3ANXd+Zl+wxCx/qBr3kpYslBh9/aZidjQDN bxnXpqcLdEbHAUfOHN38/TnM2gvbcFZ4xZ7tSijM5SbYLp9cPBB9wDQdzP4MTIItDAsg z5lm3zcRYjID4FVWHjfPsB9cWnaav4YuFzGpg10NCeIeNvmoRmobEb26dg0d5QYyeQ9i rWlydPn+XhHvr1aC5Te/XAQ+afc7HTNB0wReEuXzIGsdGq4rwfTr4RQDKCxQ5zYlTGMA ta1g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=p2wHehMJrtRgYJYaa4/6XEq6BErL4+Kf/TDNsMxM+eA=; b=udKWxG5SqqJI52b9dHnzcrBslJPUrIpoTD+HvnyY2M6cvN73m0V29HwCubbSFl0Azq NKKVISM381V8OyRAeTJ6XmzGL89hHqbFyGCpINfE4pBdV6TtC3bAhhYbK7ixnq49GTcw Djdd6jwiGFk8oDToe1yuA0layrcuWBizanW7FffHYXPUl1QshVbBzIS2f0CFPS+96xKU rJSkx40MoVLnjArqcJTsgbMM+tOvndChbcGcNGEVWwVpW2rS2QBLH39mcVHpdryWQ8VN 6n89MhfuSLMnJh3uqVQyLA4VpghY2AwnA4CfFTMRtVg7s4ZIt1rI3rCBFAiHfeLgvI0y Kt7g==
X-Gm-Message-State: APjAAAX1C7RSk60PtK97FtlErMPbSFqwagXcISGIEtd+zIND75mDd2O+ uhOI0PsBr8z9/T/sGNsToh6ulJ1yEJVp4KcYNXZwkQ==
X-Google-Smtp-Source: APXvYqyqtEcqmnZwH4E446zsyyPTr8Yx+2Qy0VY/CyzT6jvxeBelbwl+1XAnTdSSHh5qBWtYlEJ7Bl6uiV6BJIoyWsg=
X-Received: by 2002:a9d:5cc1:: with SMTP id r1mr64811747oti.341.1564155450666; Fri, 26 Jul 2019 08:37:30 -0700 (PDT)
MIME-Version: 1.0
References: <364514D5-07F2-4388-A2CD-35ED1AE38405@akamai.com> <1238A446-6E05-4A55-8B3B-878C8F39FC75@gmail.com> <AM4PR07MB3459B1173917DAFBCEB25511B9FA0@AM4PR07MB3459.eurprd07.prod.outlook.com> <17B33B39-D25A-432C-9037-3A4835CCC0E1@gmail.com> <AM4PR07MB345956F52D92759F24FFAA13B9F50@AM4PR07MB3459.eurprd07.prod.outlook.com> <52F85CFC-B7CF-4C7A-88B8-AE0879B3CCFE@gmail.com> <AM4PR07MB3459B471C4D7ADAE4CF713F3B9F60@AM4PR07MB3459.eurprd07.prod.outlook.com> <D231681B-1E57-44E1-992A-E8CC423926B6@akamai.com> <AM4PR07MB34592A10E2625C2C32B9893EB9F00@AM4PR07MB3459.eurprd07.prod.outlook.com> <A6F05DD3-D276-4893-9B15-F48E3018A129@gmx.de> <AM4PR07MB3459487C8A79B1152E132CE1B9CB0@AM4PR07MB3459.eurprd07.prod.outlook.com> <87ef2myqzv.fsf@taht.net> <a85d38ba-98ac-e43e-7610-658f4d03e0f4@mti-systems.com> <CE03DB3D7B45C245BCA0D243277949363062879C@MX307CL04.corp.emc.com> <803D9CA8-220E-4F98-9B8E-6CE2916C3100@gmail.com> <0079BC6B-4792-48ED-90D3-D9A69407F316@gmx.de> <22af0671-fdd0-0953-fc96-55b34beb0be9@bobbriscoe.net> <AC3C0A74-43C7-4351-B4FA-33AD2066B479@gmail.com> <VI1PR07MB34703F2998D9EE7B79BD4E60B9C40@VI1PR07MB3470.eurprd07.prod.outlook.com> <3EB0D59D-69A7-4730-BCDF-10E5C61EF987@heistp.net> <AM4PR07MB3459D891047B874E5AABB7D1B9C10@AM4PR07MB3459.eurprd07.prod.outlook.com> <B356F262-6047-4CA1-A6B8-B780C7981F63@heistp.net> <CAA93jw53+Cmt=c4ie9PZbOvq6fewor_nsQ65OuP1POWjmGErmg@mail.gmail.com>
In-Reply-To: <CAA93jw53+Cmt=c4ie9PZbOvq6fewor_nsQ65OuP1POWjmGErmg@mail.gmail.com>
From: Neal Cardwell <ncardwell@google.com>
Date: Fri, 26 Jul 2019 11:37:13 -0400
Message-ID: <CADVnQyn6H_6KnPZCw_4tQcRUopwfo3cpXvMdCLnF-y7RDtAFSQ@mail.gmail.com>
To: Dave Taht <dave.taht@gmail.com>
Cc: Pete Heist <pete@heistp.net>, "De Schepper, Koen (Nokia - BE/Antwerp)" <koen.de_schepper@nokia-bell-labs.com>, "ecn-sane@lists.bufferbloat.net" <ecn-sane@lists.bufferbloat.net>, "tsvwg@ietf.org" <tsvwg@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000033b37058e975229"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/1RUbKXyQyqWnnxIwLk-LItmduaY>
Subject: Re: [tsvwg] The state of l4s, bbrv2, sce?
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 26 Jul 2019 15:37:34 -0000

On Fri, Jul 26, 2019 at 11:05 AM Dave Taht <dave.taht@gmail.com> wrote:

> 1) BBRv2 is now available for public hacking. I had a good readthrough
> last night.
>
> The published tree applies cleanly (with a small patch) to net-next.
> I've had a chance to read through the code (lots of good changes to
> bbr!).
>
> Although neal was careful to say in iccrg the optional ecn mode uses
> "dctcp/l4s-style signalling", he did not identify how that was
> actually applied
> at the middleboxes, and the supplied test scripts
> (gtests/net/tcp/bbr/nsperf) don't do that. All we know is that it's
> set to kick in at 20 packets. Is it fq_codel's ce_threshold? red? pie?
> dualpi? Does it revert to drop on overload?
>

As mentioned in the ICCRG session, the TCP source tree includes the scripts
used to run the tests and generate the graphs in the slide deck. Here is
the commit I was mentioning:


https://github.com/google/bbr/commit/e76d4f89b0c42d5409d34c48ee6f8d32407d4b8d

So you can look at exactly how each test was run, and re-run those tests
yourself, with the v2alpha code or any experimental tweaks you might make
beyond that.

To answer your particular question, the ECN marks were from a bottleneck
qdisc configured as:

  codel ce_threshold 242us limit 1000 target 100ms

I'm not claiming that's necessarily the best mechanism or set of parameters
to set ECN marks. The 20-packet number comes from the DCTCP SIGCOMM 2010
paper's recommendation for 1Gbps bottlenecks. I just picked this kind of
approach because the bare metal router/switch hardware varies, so this is a
simple and easy way for everyone to experiment with the exact same ECN
settings.

Is it running on bare metal? 260us is at the bare bottom of what linux
> can schedule reliably, vms are much worse.


I have tried both VMs and bare metal with those scripts, and of course the
VMs are quite noisy and the bare metal results much less noisy. So the
graphs are from runs on bare metal x86 server-class machines.

neal