Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C670C433EF for ; Mon, 29 Nov 2021 20:04:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378487AbhK2UIA (ORCPT ); Mon, 29 Nov 2021 15:08:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238661AbhK2UF5 (ORCPT ); Mon, 29 Nov 2021 15:05:57 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFDE5C08EB27 for ; Mon, 29 Nov 2021 08:38:03 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id d9so17276141wrw.4 for ; Mon, 29 Nov 2021 08:38:03 -0800 (PST) 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=QmtmQkFPYJHPPdnepu7o3vhcuFiBe2ruUGoH0R8YyvU=; b=nJbGFc+15VGUAtCRw9OIxNRndRHVhEqn12Il71SPZElKV5jWKNKikuQVZLUSKk8n1E I/7yLDamgTRVbh6WatknzZLiSrqRNf3kAAnDzMguSLCgKAMBZkIk0l8Jvd+zQeBXrkqc GGbB0q7snX7xS7ELnxZEOCX09Fo6NVXxDw/B1/mZcCK6xnLuRFZ8G6ZcPt4SJsoXcznM JzZ+MpWVzhcFXlBU1IsvCGjKrTfwt3aFu1o4nVGBgWdM2/GSzUJRMm5EWgJRRKdf1IlO Re1vJXkdUvqY6CJAEOq4GEyvuTu38DBmqUBDQbYTPwWx9UEEMdat0DDv2MKh68GzjT4M 8xuw== 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=QmtmQkFPYJHPPdnepu7o3vhcuFiBe2ruUGoH0R8YyvU=; b=DF9m3sNPNOJZUk6alqZWmm5yRhYkiwdOCK1YE66iWZ2t/smeunJvt4DriWuKtMkoXl ulD/mu7GBatt8qdjPanVZEG8JdvIHE911Pi0CDntQlHnYHP9ysWvgI+pqjbq+JHBaKgq nRaKhuXszmuLhL9NAw8YnwcXibG2YyZzoAXMg+HrDdX4I04pAJUy+7BAT10sNhmz/BVX +kdsBQtvpwsvEDRBeXk9KEQPVr/XfUFN2uCy27H8ZvxgdbfxVZwwAlkqsOn/cLkJk9Nx 2ZfXM2buT1dPD8SoYdccZeWTpgR0XYKccP/7LMh8zAbp819fRaOzKLMB66Al10tVtaqR +s9w== X-Gm-Message-State: AOAM533Gv8qC8xCVE5EDCOCd3Xuz7auQ3eYbU362MQmJHMSAuH1DaWB7 /hgVN6kLmtN0P4kZOjzYenz2J9M3QLjIYH85szIETQ== X-Google-Smtp-Source: ABdhPJz9IZl4Ovh9fliNsxw/MncvCR3SAGrUbnaNi2F3onqiDaE88AN4a65ka6fxwQOhAkgetJCvSP6GiL4iXl6GjDg= X-Received: by 2002:adf:9b95:: with SMTP id d21mr35218346wrc.527.1638203882121; Mon, 29 Nov 2021 08:38:02 -0800 (PST) MIME-Version: 1.0 References: <20211128060102.6504-1-imagedong@tencent.com> <20211129075707.47ab0ffe@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20211129075707.47ab0ffe@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> From: Eric Dumazet Date: Mon, 29 Nov 2021 08:37:50 -0800 Message-ID: Subject: Re: [PATCH v2 net-next] net: snmp: add statistics for tcp small queue check To: Jakub Kicinski Cc: menglong8.dong@gmail.com, davem@davemloft.net, yoshfuji@linux-ipv6.org, dsahern@kernel.org, imagedong@tencent.com, ycheng@google.com, kuniyu@amazon.co.jp, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 29, 2021 at 7:57 AM Jakub Kicinski wrote: > > On Sun, 28 Nov 2021 14:01:02 +0800 menglong8.dong@gmail.com wrote: > > Once tcp small queue check failed in tcp_small_queue_check(), the > > throughput of tcp will be limited, and it's hard to distinguish > > whether it is out of tcp congestion control. > > > > Add statistics of LINUX_MIB_TCPSMALLQUEUEFAILURE for this scene. > > Isn't this going to trigger all the time and alarm users because of the > "Failure" in the TCPSmallQueueFailure name? Isn't it perfectly fine > for TCP to bake full TSQ amount of data and have it paced out onto the > wire? What's your link speed? Yes, I would be curious to have some instructions on how this new SNMP variable can be used, in a concrete case. Like, how getting these SNMP values can translate to an action, giving more throughput ?