From mboxrd@z Thu Jan 1 00:00:00 1970 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 C3D6DC7618E for ; Fri, 21 Apr 2023 02:13:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233174AbjDUCNW (ORCPT ); Thu, 20 Apr 2023 22:13:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231563AbjDUCNV (ORCPT ); Thu, 20 Apr 2023 22:13:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E71C6138 for ; Thu, 20 Apr 2023 19:13:20 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 82CD264CF7 for ; Fri, 21 Apr 2023 02:13:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8FE5EC433D2; Fri, 21 Apr 2023 02:13:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682043199; bh=041QFz2IHlxmjNwmjC3ljK4Y1TRhFKpOl+B/WRMWMCU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=TxMnRTtbDcMYQ2RzI88ZsZ47uxNcWtEp6pw0d9d9lltVyED5FGxf9ZnlncoCkI2jm PaNzNWjfK7g8gVKNonbhj/gxTc2Fr8y+lUytn/PGLKjIiOJus6sGYMv/wDromeErcb cF/92id73T97pygd/VEA6wvf3s8qelhTUgAjRZjo3wXON8XlIejUwCgxOvcvuIWXDV vNJE8g9aN4fNjHPNe9BVXcxlmKq8emCmzWTIObqr7cOHDNmaBJZk+4nWKfXxA8W6Qa mY8LRFNXJL0IkQmDIBxRuEaNmrwxcJgerNKEgqBl4Jtvlm/rFz2sigFaTVuwOvHB97 J2UFX4NQtufEw== Date: Thu, 20 Apr 2023 19:13:18 -0700 From: Jakub Kicinski To: Saeed Mahameed Cc: "David S. Miller" , Paolo Abeni , Eric Dumazet , Saeed Mahameed , netdev@vger.kernel.org, Tariq Toukan , Dragos Tatulea Subject: Re: [net-next 11/15] net/mlx5e: RX, Hook NAPIs to page pools Message-ID: <20230420191318.1d332ebb@kernel.org> In-Reply-To: <20230421013850.349646-12-saeed@kernel.org> References: <20230421013850.349646-1-saeed@kernel.org> <20230421013850.349646-12-saeed@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Thu, 20 Apr 2023 18:38:46 -0700 Saeed Mahameed wrote: > From: Dragos Tatulea > > Linking the NAPI to the rq page_pool to improve page_pool cache > usage during skb recycling. > > Here are the observed improvements for a iperf single stream > test case: > > - For 1500 MTU and legacy rq, seeing a 20% improvement of cache usage. > > - For 9K MTU, seeing 33-40 % page_pool cache usage improvements for > both striding and legacy rq (depending if the application is running on > the same core as the rq or not). I think you'll need a strategically placed page_pool_unlink_napi() once https://lore.kernel.org/all/20230419182006.719923-1-kuba@kernel.org/ gets merged (which should me in minutes). Would you be able to follow up on this tomorrow?