Hi Honnappa,

> -----Original Message-----
> From: Honnappa Nagarahalli <honnappa.nagaraha...@arm.com>
> Sent: Thursday, January 3, 2019 2:23
> To: Ruifeng Wang (Arm Technology China) <ruifeng.w...@arm.com>;
> dev@dpdk.org
> Cc: tho...@monjalon.net; jer...@marvell.com; hemant.agra...@nxp.com;
> bruce.richard...@intel.com; chao...@linux.vnet.ibm.com; nd
> <n...@arm.com>; Ruifeng Wang (Arm Technology China)
> <ruifeng.w...@arm.com>; tomaszx.kula...@intel.com; nd <n...@arm.com>
> Subject: RE: [PATCH v1] examples/l3fwd: enable hash multi lookup for ARM
> 
> Thanks Ruifeng for the patch. I have one question inline.
> 
> Jerin/Hemant,
>       It would be good if you could test this on your platforms, since this is
> being made default.
> 
> Thanks,
> Honnappa
> 
> > -----Original Message-----
> > From: Ruifeng Wang <ruifeng.w...@arm.com>
> > Sent: Tuesday, January 1, 2019 11:28 PM
> > To: dev@dpdk.org
> > Cc: tho...@monjalon.net; jer...@marvell.com;
> hemant.agra...@nxp.com;
> > bruce.richard...@intel.com; chao...@linux.vnet.ibm.com; Honnappa
> > Nagarahalli <honnappa.nagaraha...@arm.com>; nd <n...@arm.com>;
> Ruifeng
> > Wang (Arm Technology China) <ruifeng.w...@arm.com>;
> > tomaszx.kula...@intel.com
> > Subject: [PATCH v1] examples/l3fwd: enable hash multi lookup for ARM
> >
> > Compile option for hash_multi_lookup was broken, and caused feature
> > cannot be enabled on Arm.
> > This patch sets hash_multi_lookup method as default, and sequential
> > lookup becomes optional.
> >
> > In test of 8192 flows with 128-byte packets, throughput increased by
> > 25.6% after enabling hash_multi_lookup.
> >
> I assume these are lookup-hit numbers. Do you have look-up miss numbers?
> 
Yes, lookup-hit had 25.6% gain.
In lookup-miss tests, throughput had over 33% gain.

> > Fixes: 52c97adc1f0f ("examples/l3fwd: fix exact match performance")
> > Cc: tomaszx.kula...@intel.com
> >
> > Signed-off-by: Ruifeng Wang <ruifeng.w...@arm.com>
> > Reviewed-by: Gavin Hu <gavin...@arm.com>
> > Reviewed-by: Phil Yang <phil.y...@arm.com>
> > Tested-by: Ruifeng Wang <ruifeng.w...@arm.com>
> > ---
> >  examples/l3fwd/l3fwd.h | 4 ----
> >  1 file changed, 4 deletions(-)
> >
> > diff --git a/examples/l3fwd/l3fwd.h b/examples/l3fwd/l3fwd.h index
> > c962deac3..063b80018 100644
> > --- a/examples/l3fwd/l3fwd.h
> > +++ b/examples/l3fwd/l3fwd.h
> > @@ -11,10 +11,6 @@
> >
> >  #define RTE_LOGTYPE_L3FWD RTE_LOGTYPE_USER1
> >
> > -#if !defined(NO_HASH_MULTI_LOOKUP) &&
> > defined(RTE_MACHINE_CPUFLAG_NEON) -#define
> NO_HASH_MULTI_LOOKUP 1
> > -#endif
> > -
> >  #define MAX_PKT_BURST     32
> >  #define BURST_TX_DRAIN_US 100 /* TX drain every ~100us */
> >
> > --
> > 2.17.1

Reply via email to