Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6811279rwb; Mon, 5 Dec 2022 18:48:47 -0800 (PST) X-Google-Smtp-Source: AA0mqf5vSk9ylmb7ezYBB/EQe9KGJ3Nw9Pqjt9snaTu9vcJ7ztcg1owaI8j8hpXuq1qYBPVIOcGB X-Received: by 2002:a17:906:4c98:b0:7ad:b9f3:a66a with SMTP id q24-20020a1709064c9800b007adb9f3a66amr57686697eju.282.1670294927119; Mon, 05 Dec 2022 18:48:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670294927; cv=none; d=google.com; s=arc-20160816; b=YOucnPipcm8vUi7LUVOeLI+Fn79vY5UKARI1rvRrTJbZiEDk5PYF/hk/IjFSc3RWw/ BL+irpHLn7XoLzJpo/M0uTRzxJi6u1qBVgi0z3O3LJ+1xvImNdkNJQ7OqDPqqCcWCEbB LCA9KEQ6OpWvVJCbM1NX301/LbYtvZIBEbig0nYoDankjQGIV3ZexnwM/LHmy46wJyld 0mjcp/TZ6M38e5klEPUzalxzoAS1x7qwes49BKtPTyQzjfffevir1xSmhFl+INoSucZc l5XV9HcrqaDHPmKTyhNWy/d5/g+5H+iXPnLoLFDyAg9AN/TRuc81YcfuGOz9etu9W8O0 jNqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:mime-version:references :in-reply-to:message-id:date; bh=72FVT0WxQyM1H9I+3Sd0X971xjFrkICcnM59ATKBBOE=; b=C7OxiyImkfKYat4bnvC0J8ulrMyAjt+HidOCHp7Rml6uScQmiGx3Oe+/UONtl9Ndma v71lGaxG2lsyYwXIUeNrhRgnWf+4MJV7hwg2olmTmj7ut6PzY7/+xQDQ+qEUcy/oo4Rg 0CIChn5AfWhe/MLL6GhFeIbp1cO9M7/JKPNUSlfXKwfrufqcrzKOCgnSP0EwF4dT1mPu KI6HJaqcEaA2dcS/rjlbtPyPHeEmAi48N0DUhKmx+ZoxTXt/TwTNZh6UX0Q3VrydqI1L FLh2dlbRRLN72BCEQwj0YlFnMsf5zTaULFoI69pJ7E+FoRqLkcwgCp81UWlv0uxuG7Wm KKaA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=zte.com.cn Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v10-20020a056402184a00b0046ada79b960si824631edy.615.2022.12.05.18.48.27; Mon, 05 Dec 2022 18:48:47 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=zte.com.cn Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233799AbiLFCf2 (ORCPT + 79 others); Mon, 5 Dec 2022 21:35:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231387AbiLFCf0 (ORCPT ); Mon, 5 Dec 2022 21:35:26 -0500 Received: from mxhk.zte.com.cn (mxhk.zte.com.cn [63.216.63.35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EEA3D1DDF3; Mon, 5 Dec 2022 18:35:20 -0800 (PST) Received: from mse-fl2.zte.com.cn (unknown [10.5.228.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mxhk.zte.com.cn (FangMail) with ESMTPS id 4NR4Jj5q33z4xVnZ; Tue, 6 Dec 2022 10:35:17 +0800 (CST) Received: from szxlzmapp01.zte.com.cn ([10.5.231.85]) by mse-fl2.zte.com.cn with SMTP id 2B62Z6gN001419; Tue, 6 Dec 2022 10:35:06 +0800 (+08) (envelope-from yang.yang29@zte.com.cn) Received: from mapi (szxlzmapp02[null]) by mapi (Zmail) with MAPI id mid14; Tue, 6 Dec 2022 10:35:07 +0800 (CST) Date: Tue, 6 Dec 2022 10:35:07 +0800 (CST) X-Zmail-TransId: 2b04638eaa5bffffffffd04e9db0 X-Mailer: Zmail v1.0 Message-ID: <202212061035074041030@zte.com.cn> In-Reply-To: <20221205175314.0487527a@kernel.org> References: 202212031612057505056@zte.com.cn,20221205175314.0487527a@kernel.org Mime-Version: 1.0 From: To: Cc: , , , , , , , , , , , Subject: =?UTF-8?B?UmU6IFtQQVRDSCBsaW51eC1uZXh0XSBuZXQ6IHJlY29yZCB0aW1lcyBvZiBuZXRkZXZfYnVkZ2V0IGV4aGF1c3RlZA==?= Content-Type: text/plain; charset="UTF-8" X-MAIL: mse-fl2.zte.com.cn 2B62Z6gN001419 X-Fangmail-Gw-Spam-Type: 0 X-FangMail-Miltered: at cgslv5.04-192.168.250.138.novalocal with ID 638EAA65.001 by FangMail milter! X-FangMail-Envelope: 1670294118/4NR4Jj5q33z4xVnZ/638EAA65.001/10.5.228.133/[10.5.228.133]/mse-fl2.zte.com.cn/ X-Fangmail-Anti-Spam-Filtered: true X-Fangmail-MID-QID: 638EAA65.001/4NR4Jj5q33z4xVnZ X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY 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 Tue, 6 Dec 2022 09:53:05 +0800 (CST) kuba@kernel.org wrote: > time_squeeze is extremely noisy and annoyingly useless, > we need to understand exactly what you're doing before > we accept any changes to this core piece of code. The author of "Replace 2 jiffies with sysctl netdev_budget_usecs to enable softirq tuning" is Matthew Whitehead, he said this in git log: Constants used for tuning are generally a bad idea, especially as hardware changes over time...For example, a very fast machine might tune this to 1000 microseconds, while my regression testing 486DX-25 needs it to be 4000 microseconds on a nearly idle network to prevent time_squeeze from being incremented. And on my systems there are huge packets on the intranet, and we came accross with lots of time_squeeze. The idea is that, netdev_budget* are selections between throughput and real-time. If we care throughput and not care real-time so much, we may want bigger netdev_budget*. In this scenario, we want to tune netdev_budget* and see their effect separately. By the way, if netdev_budget* are useless, should they be deleted? Thanks.