Message ID | 20210318102550.59265-1-ruifeng.wang@arm.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C661CA0561; Thu, 18 Mar 2021 11:26:16 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 49AF9406B4; Thu, 18 Mar 2021 11:26:16 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 16E3040698 for <dev@dpdk.org>; Thu, 18 Mar 2021 11:26:14 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6818831B; Thu, 18 Mar 2021 03:26:13 -0700 (PDT) Received: from net-arm-n1amp-01.shanghai.arm.com (net-arm-n1amp-01.shanghai.arm.com [10.169.210.137]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 825D33F792; Thu, 18 Mar 2021 03:26:10 -0700 (PDT) From: Ruifeng Wang <ruifeng.wang@arm.com> To: jerinj@marvell.com, hemant.agrawal@nxp.com, ferruh.yigit@intel.com, thomas@monjalon.net, david.marchand@redhat.com Cc: dev@dpdk.org, nd@arm.com, honnappa.nagarahalli@arm.com, Ruifeng Wang <ruifeng.wang@arm.com> Date: Thu, 18 Mar 2021 10:25:46 +0000 Message-Id: <20210318102550.59265-1-ruifeng.wang@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 0/4] l3fwd improvements X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series | l3fwd improvements | |
Message
Ruifeng Wang
March 18, 2021, 10:25 a.m. UTC
This series of patches include changes to l3fwd example application. Some improvements are made for better usage of CPU cycles and memory. Ruifeng Wang (4): examples/l3fwd: tune prefetch for better performance examples/l3fwd: eliminate unnecessary calculations examples/l3fwd: eliminate unnecessary reloads in loop examples/l3fwd: make data struct to be memory efficient examples/l3fwd/l3fwd.h | 12 ++++++------ examples/l3fwd/l3fwd_common.h | 4 ++-- examples/l3fwd/l3fwd_em.c | 6 +++--- examples/l3fwd/l3fwd_lpm.c | 16 +++++++++------- examples/l3fwd/l3fwd_lpm_neon.h | 20 ++++++++++---------- 5 files changed, 30 insertions(+), 28 deletions(-)
Comments
Hello, This patch series targeted to improve L3fwd example. Performance gain was observed on N1SDP platform. It would be good if you can run this series on your platforms and see if there is any performance impact. Thanks, Ruifeng > -----Original Message----- > From: Ruifeng Wang <ruifeng.wang@arm.com> > Sent: Thursday, March 18, 2021 6:26 PM > To: jerinj@marvell.com; hemant.agrawal@nxp.com; ferruh.yigit@intel.com; > thomas@monjalon.net; david.marchand@redhat.com > Cc: dev@dpdk.org; nd <nd@arm.com>; Honnappa Nagarahalli > <Honnappa.Nagarahalli@arm.com>; Ruifeng Wang > <Ruifeng.Wang@arm.com> > Subject: [PATCH 0/4] l3fwd improvements > > This series of patches include changes to l3fwd example application. > Some improvements are made for better usage of CPU cycles and memory. > > Ruifeng Wang (4): > examples/l3fwd: tune prefetch for better performance > examples/l3fwd: eliminate unnecessary calculations > examples/l3fwd: eliminate unnecessary reloads in loop > examples/l3fwd: make data struct to be memory efficient > > examples/l3fwd/l3fwd.h | 12 ++++++------ > examples/l3fwd/l3fwd_common.h | 4 ++-- > examples/l3fwd/l3fwd_em.c | 6 +++--- > examples/l3fwd/l3fwd_lpm.c | 16 +++++++++------- > examples/l3fwd/l3fwd_lpm_neon.h | 20 ++++++++++---------- > 5 files changed, 30 insertions(+), 28 deletions(-) > > -- > 2.25.1
On Tue, Apr 13, 2021 at 1:54 PM Ruifeng Wang <Ruifeng.Wang@arm.com> wrote: > > Hello, > > This patch series targeted to improve L3fwd example. Performance gain was observed on N1SDP platform. > > It would be good if you can run this series on your platforms and see if there is any performance impact. I will test and update and update in the respective patches. > > Thanks, > Ruifeng > > > -----Original Message----- > > From: Ruifeng Wang <ruifeng.wang@arm.com> > > Sent: Thursday, March 18, 2021 6:26 PM > > To: jerinj@marvell.com; hemant.agrawal@nxp.com; ferruh.yigit@intel.com; > > thomas@monjalon.net; david.marchand@redhat.com > > Cc: dev@dpdk.org; nd <nd@arm.com>; Honnappa Nagarahalli > > <Honnappa.Nagarahalli@arm.com>; Ruifeng Wang > > <Ruifeng.Wang@arm.com> > > Subject: [PATCH 0/4] l3fwd improvements > > > > This series of patches include changes to l3fwd example application. > > Some improvements are made for better usage of CPU cycles and memory. > > > > Ruifeng Wang (4): > > examples/l3fwd: tune prefetch for better performance > > examples/l3fwd: eliminate unnecessary calculations > > examples/l3fwd: eliminate unnecessary reloads in loop > > examples/l3fwd: make data struct to be memory efficient > > > > examples/l3fwd/l3fwd.h | 12 ++++++------ > > examples/l3fwd/l3fwd_common.h | 4 ++-- > > examples/l3fwd/l3fwd_em.c | 6 +++--- > > examples/l3fwd/l3fwd_lpm.c | 16 +++++++++------- > > examples/l3fwd/l3fwd_lpm_neon.h | 20 ++++++++++---------- > > 5 files changed, 30 insertions(+), 28 deletions(-) > > > > -- > > 2.25.1 >
> -----Original Message----- > From: dev <dev-bounces@dpdk.org> On Behalf Of Ruifeng Wang > Sent: Thursday, March 18, 2021 06:26 PM > To: jerinj@marvell.com; hemant.agrawal@nxp.com; Yigit, Ferruh > <ferruh.yigit@intel.com>; thomas@monjalon.net; > david.marchand@redhat.com > Cc: dev@dpdk.org; nd@arm.com; honnappa.nagarahalli@arm.com; Ruifeng > Wang <ruifeng.wang@arm.com> > Subject: [dpdk-dev] [PATCH 0/4] l3fwd improvements > Tested-by: Wei Ling <weix.ling@intel.com>