Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4117507rwb; Fri, 30 Sep 2022 13:08:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6piRxeKwWyqxQXPCxPoN54XlsFdOcXOHEPw0AnwSMbzjAydrg64sYdnu5tAn1gcwOqLOxC X-Received: by 2002:a17:906:9b91:b0:783:12ec:2724 with SMTP id dd17-20020a1709069b9100b0078312ec2724mr7605164ejc.198.1664568510929; Fri, 30 Sep 2022 13:08:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664568510; cv=none; d=google.com; s=arc-20160816; b=E7rHaPvPVH+aGYnGKLKvKP4TtQHLfaAaOJKbgbgwP9eHqUL5B2VYS2D6ioTSUEzM7S k/U+NJLFmgnozSptxov/moYRE4EVoWThkeWVdTu4WkQ38XACvFwZ7rL8EKSfk+k/XgfT Oa6TvxjwysNhY2UA0wuQKnuNGixxXItTSdLHoloAm4lF4sTrhHPJktsiB+1Fm5nmWNPD CnjvUUoeKJr2sQzCx9v5WzXS1goub782WyamfLPZgXFa9Qx014NbSKg5q1k/qJ9vKQ5l q8/vDbT4iBA0YKWvMAT/DyRFdTkXzs0xKcXh/CI+ekzRQFARz9gVUZ70Y6DuhJSLLLeR GHgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=aF9+uItERNccajHQE2aAtbJOSbU1gykm8UjqQQZOh3A=; b=UEQpYPzS0AUa7Gt4tIk1BdQKh+ghupQDuQbsDviqmt1QVK5w7IkZ1E+D8U1IuOPcAN kiNKgZ7USLLe9J87eTUNHrmg1ux14rVSMmTo0bacBxhjbp7nuAGpoHAbta438KDPoCJw qLBP0hdhvfjJMvsiXDzxTmV5EN3exgRw4riXn7qZlTC0weDCoHvtILKrQp+goPXWOm8/ fVU/KKaKzZyuzX2Bgxj8IrCqJoefM1rbfeFpm8Ewt7j2jySmCZkp2NQgYPcvE62CpZ3A 0corRpJB3mnHH3sNqJ/mzjYBEQ1igXANxw86Q75WL7xb9EAm3mnL9DNFX8TaWTUA837+ KAsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=YJevxK5l; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qw41-20020a1709066a2900b00783023bb7b9si2244223ejc.72.2022.09.30.13.07.35; Fri, 30 Sep 2022 13:08:30 -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=@lunn.ch header.s=20171124 header.b=YJevxK5l; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232129AbiI3UBv (ORCPT + 99 others); Fri, 30 Sep 2022 16:01:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230008AbiI3UBs (ORCPT ); Fri, 30 Sep 2022 16:01:48 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 284ED15C58B; Fri, 30 Sep 2022 13:01:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding:Content-Disposition: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Content-Disposition: In-Reply-To:References; bh=aF9+uItERNccajHQE2aAtbJOSbU1gykm8UjqQQZOh3A=; b=YJ evxK5lECKx5gfiEC68kmrxacjP6GaJZWydtWgHksKhQlqh4N8tnvnDV8/uATPa5R0tUHaQrr9lUvn FLZ4LwfJXcfjTPBMSeHxPQ+Wwn02bD5o9egFJeZZ02Vh3Gs8cTpBkEqXJRYM6oovWCoztFfz5mYWa 9YetEHWG3zeKkRw=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1oeMCV-000js0-RL; Fri, 30 Sep 2022 22:01:35 +0200 Date: Fri, 30 Sep 2022 22:01:35 +0200 From: Andrew Lunn To: Shenwei Wang Cc: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , Wei Fang , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "imx@lists.linux.dev" Subject: Re: [EXT] Re: [PATCH 1/1] net: fec: using page pool to manage RX buffers Message-ID: References: <20220930193751.1249054-1-shenwei.wang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS 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 > The testing above was on the imx8 platform. The following are the testing result > On the imx6sx board: > > ######### Original implementation ###### > > shenwei@5810:~/pktgen$ iperf -c 10.81.16.245 -w 2m -i 1 > ------------------------------------------------------------ > Client connecting to 10.81.16.245, TCP port 5001 > TCP window size: 416 KByte (WARNING: requested 1.91 MByte) > ------------------------------------------------------------ > [ 1] local 10.81.17.20 port 36486 connected with 10.81.16.245 port 5001 > [ ID] Interval Transfer Bandwidth > [ 1] 0.0000-1.0000 sec 70.5 MBytes 591 Mbits/sec > [ 1] 1.0000-2.0000 sec 64.5 MBytes 541 Mbits/sec > [ 1] 2.0000-3.0000 sec 73.6 MBytes 618 Mbits/sec > [ 1] 3.0000-4.0000 sec 73.6 MBytes 618 Mbits/sec > [ 1] 4.0000-5.0000 sec 72.9 MBytes 611 Mbits/sec > [ 1] 5.0000-6.0000 sec 73.4 MBytes 616 Mbits/sec > [ 1] 6.0000-7.0000 sec 73.5 MBytes 617 Mbits/sec > [ 1] 7.0000-8.0000 sec 73.4 MBytes 616 Mbits/sec > [ 1] 8.0000-9.0000 sec 73.4 MBytes 616 Mbits/sec > [ 1] 9.0000-10.0000 sec 73.9 MBytes 620 Mbits/sec > [ 1] 0.0000-10.0174 sec 723 MBytes 605 Mbits/sec > > > ###### Page Pool impl?mentation ######## > > shenwei@5810:~/pktgen$ iperf -c 10.81.16.245 -w 2m -i 1 > ------------------------------------------------------------ > Client connecting to 10.81.16.245, TCP port 5001 > TCP window size: 416 KByte (WARNING: requested 1.91 MByte) > ------------------------------------------------------------ > [ 1] local 10.81.17.20 port 57288 connected with 10.81.16.245 port 5001 > [ ID] Interval Transfer Bandwidth > [ 1] 0.0000-1.0000 sec 78.8 MBytes 661 Mbits/sec > [ 1] 1.0000-2.0000 sec 82.5 MBytes 692 Mbits/sec > [ 1] 2.0000-3.0000 sec 82.4 MBytes 691 Mbits/sec > [ 1] 3.0000-4.0000 sec 82.4 MBytes 691 Mbits/sec > [ 1] 4.0000-5.0000 sec 82.5 MBytes 692 Mbits/sec > [ 1] 5.0000-6.0000 sec 82.4 MBytes 691 Mbits/sec > [ 1] 6.0000-7.0000 sec 82.5 MBytes 692 Mbits/sec > [ 1] 7.0000-8.0000 sec 82.4 MBytes 691 Mbits/sec > [ 1] 8.0000-9.0000 sec 82.4 MBytes 691 Mbits/sec > ^C[ 1] 9.0000-9.5506 sec 45.0 MBytes 686 Mbits/sec > [ 1] 0.0000-9.5506 sec 783 MBytes 688 Mbits/sec Cool, so it helps there as well. But you knew i was interested in these numbers. So you should of made them part of the commit message so i didn't have to ask... Andrew