Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1437441rwl; Fri, 24 Mar 2023 10:27:50 -0700 (PDT) X-Google-Smtp-Source: AKy350aA6rBMk31512huTc5q87P+m3s0W93B+1y96K3iinycliWYSmErGqHCsliWjujM5cvVKjPv X-Received: by 2002:a62:582:0:b0:625:14cb:8b7c with SMTP id 124-20020a620582000000b0062514cb8b7cmr3509307pff.0.1679678870455; Fri, 24 Mar 2023 10:27:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679678870; cv=none; d=google.com; s=arc-20160816; b=bITnhpYAbrAaFYDBeue9wQS/XFit4v0ZcmB/6V+CBMEafdjh7jE23RLGLWq3o1+pBa eD8aWKHTcPgBpkBZlHfXXRETA1CWxGN3ldKIbgDPHzI56BpI+jJC8pfrKGsAMcq5PZjS IQJrTf/920x5T3AsWAjb1c2CL/Qbj1KXBhB4/ing8SGOT5Ko+6mbzR5eg4W81x0fMl6u ujOTCwsDCndX/Jp4yVJqdX/aRbF3vzLky1xcsfxsmIqcI3F61gFFhCDDunceDE0sCkS9 FfRB58GQLspmAhRchjshw+5vNW2SlGnz/N98WekYozv0tep97ayBZip3rvMlyS8lyD9Q Wtbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=r3PzR5IITn8iM3hReDFwFchJAFCpyZocVJYzF2d+kNM=; b=0V8xWZ2h1oVstyoh5XzqWJ7qxADpKn2N7yjsSJe7EIE2EcFoA5VgqKZZKLN9087uG0 P7YmSLnpdDHxxu/rQrdIDbKiD6rNgsNiW0K3SxKHslOThpmSydVnN7J2iXSBE1nKPkXq j6NXgWFKiXuXQ5D0WLBMAZkjla5dIyq4TRMiHlhQ99BEhFYH/cxtNkZi6hkizaUvtWDH x1NYZx8PwOHemOPxnv+rGaPL62i6IMoGAoGmd45EF9nKasJiKso0C/U3HZPjd0LTzUgo XeycxArag30vnm7FyQojjtLaAQqUjLINbrcR8HfXj/nh1cFmO1YUU69qXh9MeTftO2dT PKgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=h4wpnfBd; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b16-20020a056a00115000b006259608b2d0si7906219pfm.151.2023.03.24.10.27.38; Fri, 24 Mar 2023 10:27:50 -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=@kernel.org header.s=k20201202 header.b=h4wpnfBd; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230369AbjCXRUo (ORCPT + 99 others); Fri, 24 Mar 2023 13:20:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230021AbjCXRUn (ORCPT ); Fri, 24 Mar 2023 13:20:43 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84965E075; Fri, 24 Mar 2023 10:20:42 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3A92CB825B5; Fri, 24 Mar 2023 17:20:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7312CC433EF; Fri, 24 Mar 2023 17:20:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679678439; bh=r3PzR5IITn8iM3hReDFwFchJAFCpyZocVJYzF2d+kNM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=h4wpnfBdtKvrDki7BZnHTobGMgqrJbTi6joX0wBsf0UDB0FzTJljw6noFhaojjcEm eM8YylHPsJFUnGuuOquK2AV4617aGUkdwfrG4GTNtxv1QRlIvoUaJi0x/y+I9kE0BX OC7rTljvKmoJFjt0q2uo8125DR88onQ1Ga+EM4icOaKKEPhQabB02TLk4f7erefPAj LF02bOC2hw159GLt3Ts7AF/LrYL4+rk0rnVd2/DiiplBNIDn3wIp5R7ht/Rawu6Be6 yHZ+A5pBHPgrIOSZ4f7ZmfIPEJuU4AQzMUFj2HDLIOKM+5jYFgsQ0Ym+vcnLJ9w5NX V5LBfHoYoq94Q== Date: Fri, 24 Mar 2023 10:20:38 -0700 From: Jakub Kicinski To: Felix Fietkau Cc: netdev@vger.kernel.org, Jonathan Corbet , "David S. Miller" , Eric Dumazet , Paolo Abeni , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] net/core: add optional threading for backlog processing Message-ID: <20230324102038.7d91355c@kernel.org> In-Reply-To: <20230324171314.73537-1-nbd@nbd.name> References: <20230324171314.73537-1-nbd@nbd.name> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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, 24 Mar 2023 18:13:14 +0100 Felix Fietkau wrote: > When dealing with few flows or an imbalance on CPU utilization, static RPS > CPU assignment can be too inflexible. Add support for enabling threaded NAPI > for backlog processing in order to allow the scheduler to better balance > processing. This helps better spread the load across idle CPUs. Can you explain the use case a little bit more?