Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1814415pxb; Sat, 2 Apr 2022 04:42:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLOoPEj8caPshTdwDXP4ckNmDJfhA4g/45cuYM21Z4R6SSGfbJJqKFI9b7KmT+J3nlsESW X-Received: by 2002:a17:902:650e:b0:153:99d4:9151 with SMTP id b14-20020a170902650e00b0015399d49151mr15052979plk.20.1648899773822; Sat, 02 Apr 2022 04:42:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648899773; cv=none; d=google.com; s=arc-20160816; b=fEqjK6pxh2lsSEdZ7k1XnvOsxt3O8apNCVh3ZBQzEJdNw1CYAEekMXwZ0uxo8EV//w SIUFJpHl1G594xrc9nGrLFRnzm2cVDgNyO3dZ9zdAV0xI+Zm9+Qk81CH2DUn0XPJ/0M0 z2PGztoREN8Ago/DTzjf+KTp2pZIIRFsJQ2eva+q5a8mi6bi57BAn+aIySJApOm2OjNw lZRIUUrIzsGB47ki4RQ8IBPVMlF43HyoLBXps/sICQISwKW/2DK9q0005tnhAwNi8IYi f31aPRMUoR/hBVSR3KirjzAqaHg2VPdafSDSP+IL8wDlehpI7KuH4m82SpphKpLjjLB5 7igQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=RTRXw+jgIWbLNHXOv9v+56Mv+zUPD6iW+b0omSppcHw=; b=MeBN2C7iXPlhPEa3b+Fs0a8gFoe5WEmWZVKbhykTM685lP+4b5h/SN/bt9V9T+nXxm VHJLXVpgdcz/dIzK0ETJFcAEycjjn4JNQ+IxAfpJc99TgBQ4ZJtpYVms4B94zV+m8VIF kBVUVghzZOE/9a4d05HPpJ70mIEBQ7ZlKJcN9IgiOcTiVgZuSoOBysV8BORPII+/Onva cynHKFl96dYtx9gsSJfpTd58qkwMh3JBpLTo+3xpRbZtozBdev/cg2ExpW6kf7jK2R1G VYogB8EesBXGwsonnA4eDSZmlfMeBn549L9OsoPJ0CQkd+ge8TQr37x+i6fRy1H78RGn YArQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=FZ3K9XHm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w22-20020a056a0014d600b004fa3a8dff55si5885739pfu.12.2022.04.02.04.42.41; Sat, 02 Apr 2022 04:42:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=FZ3K9XHm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346563AbiDAN4t (ORCPT + 99 others); Fri, 1 Apr 2022 09:56:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346559AbiDAN4s (ORCPT ); Fri, 1 Apr 2022 09:56:48 -0400 Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F8081DE6D7 for ; Fri, 1 Apr 2022 06:54:59 -0700 (PDT) Received: by mail-yb1-xb35.google.com with SMTP id y142so5097012ybe.11 for ; Fri, 01 Apr 2022 06:54:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RTRXw+jgIWbLNHXOv9v+56Mv+zUPD6iW+b0omSppcHw=; b=FZ3K9XHmNes7RLB8Fkt+C0d0UO301AbdRo3mNmfLXK4LI5+Zm/7L7Z6iUg3RVJTEer iCVvoYnwcEQaFFx80WkeJ/q7xNQpiqMV+LZ/gQ0UuQgC/jCql9UGB4TYP1LYYQCtbC2O NvE5O1UTzh5i1Ce8w02ymOL2AZx/B00AUQf3F9tJ0MoaDKt2pSRC+SYkMcQu9l7fcOjD kC1wk6BAaBDvcntpfgq+QSoPBhx3vI1QO4oJs3ZkdiXZST458O1Bm7soAGjQy+mRACN2 nBqafY1ExTSxCzTnLD9m5MMfU6DFbv3kXZePCQQGCSzTV0ScOeLRPcgjS/x/DfcjSBxK 3Kyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RTRXw+jgIWbLNHXOv9v+56Mv+zUPD6iW+b0omSppcHw=; b=c5/8zEK7gpD210ZxZeZ1R4fgFFqM9e9dkybwh9t20LFmbtFYbcKOWj0lSrs1oPewy9 KtNqYXKaTRdLg3paT7SF3fMZaRgcYEKdzOfjcfH9clQC0tza9tW1F9s0oUmI3Wfjy6R+ rop+47LqhvNkf22j7YJ0xQWpNK+zGC/9jwNTQd+DFv621HQG+0fRLjDKg0Fql0s9OWHy l3dZz0xnNSux6PgUU3gCXr9M/Jo6PLZ6iHTlsQkMQuHbhquhw1ji1J/rxc3TDsQcMLvm HIhMuMnyBWN/bhIYcbXzjSzIV1VMuYpL+dtBKuE4xPYyonq4wuQYo/zF8gOO8vOjE1kU JI1w== X-Gm-Message-State: AOAM530+ECm41tv6jyaPEpMF5a2toCTCiIoEqt7YzTUMuCbcdedmeKRS LGIah76F19DGB3c5nz5X520soT0Z3ztkJm3/CtpX8g== X-Received: by 2002:a25:4003:0:b0:633:8ab5:b93e with SMTP id n3-20020a254003000000b006338ab5b93emr8738001yba.387.1648821298015; Fri, 01 Apr 2022 06:54:58 -0700 (PDT) MIME-Version: 1.0 References: <10c1e561-8f01-784f-c4f4-a7c551de0644@uls.co.za> <5f1bbeb2-efe4-0b10-bc76-37eff30ea905@uls.co.za> <4b4ff443-f8a9-26a8-8342-ae78b999335b@uls.co.za> <628a909d-1090-dc62-a730-fd9514079218@uls.co.za> In-Reply-To: <628a909d-1090-dc62-a730-fd9514079218@uls.co.za> From: Eric Dumazet Date: Fri, 1 Apr 2022 06:54:46 -0700 Message-ID: Subject: Re: linux 5.17.1 disregarding ACK values resulting in stalled TCP connections To: Jaco Kroon Cc: Neal Cardwell , LKML , Netdev , Yuchung Cheng Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 1, 2022 at 4:36 AM Jaco Kroon wrote: > > Hi Eric, > > On 2022/04/01 02:54, Eric Dumazet wrote: > > On Thu, Mar 31, 2022 at 5:41 PM Eric Dumazet wrote: > >> On Thu, Mar 31, 2022 at 5:33 PM Jaco Kroon wrote: > >> > >>> I'll deploy same on a dev host we've got in the coming week and start a > >>> bisect process. > >> Thanks, this will definitely help. > > One thing I noticed in your pcap is a good amount of drops, as if > > Hystart was not able to stop slow-start before the drops are > > happening. > > > > TFO with one less RTT at connection establishment could be the trigger. > > > > If you are still using cubic, please try to revert. > Sorry, I understand TCP itself a bit, but I've given up trying to > understand the various schedulers a long time ago and am just using the > defaults that the kernel provides. How do I check what I'm using, and > how can I change that? What is recommended at this stage? How to check: cat /proc/sys/net/ipv4/tcp_congestion_control" This is of course orthogonal to the buf we are tracking here, but given your long RTT, I would recommend using fq packet scheduler and bbr. tc qd replace dev eth0 root fq # or use mq+fq if your NIC is multi queue and you need a good amount of throughput insmod tcp_bbr # (after enabling CONFIG_TCP_CONG_BBR=m) echo bbr >/proc/sys/net/ipv4/tcp_congestion_control > > > > > > commit 4e1fddc98d2585ddd4792b5e44433dcee7ece001 > > Author: Eric Dumazet > > Date: Tue Nov 23 12:25:35 2021 -0800 > > > > tcp_cubic: fix spurious Hystart ACK train detections for > > not-cwnd-limited flows > Ok, instead of starting with bisect, if I can reproduce in dev I'll use > this one first. Thanks ! (again this won't fix the bug, this is really a shoot in the dark)