Re: [dpdk-dev] [PATCH v7 4/5] hash: add lock-free read-write concurrency

2018-11-09 Thread Honnappa Nagarahalli
> > > > Agree. There are multiple micro-architectures in Arm eco-system. > > > > We > > > should establish few simple rules to make sure algorithms perform > > > well on all the available platforms. I established few rules in VPP > > > and they are working fine so far. > > > > > > Can you share tha

Re: [dpdk-dev] [PATCH v7 4/5] hash: add lock-free read-write concurrency

2018-11-09 Thread Jerin Jacob
> , Dharmik Thakkar , > "Gavin Hu (Arm Technology China)" , nd , > "tho...@monjalon.net" , "ferruh.yi...@intel.com" > , "hemant.agra...@nxp.com" > , "chao...@linux.vnet.ibm.com" > , "Kapoor, Prasun" , > nd > Subj

Re: [dpdk-dev] [PATCH v7 4/5] hash: add lock-free read-write concurrency

2018-11-08 Thread Honnappa Nagarahalli
> > > > Agree. There are multiple micro-architectures in Arm eco-system. We > > should establish few simple rules to make sure algorithms perform well > > on all the available platforms. I established few rules in VPP and > > they are working fine so far. > > > > Can you share that rules for every

Re: [dpdk-dev] [PATCH v7 4/5] hash: add lock-free read-write concurrency

2018-11-08 Thread Honnappa Nagarahalli
> > Agree. There are multiple micro-architectures in Arm eco-system. We > should establish few simple rules to make sure algorithms perform well on all > the available platforms. I established few rules in VPP and they are working > fine so far. > > Can you share that rules for everyone's benefi

Re: [dpdk-dev] [PATCH v7 4/5] hash: add lock-free read-write concurrency

2018-11-08 Thread Honnappa Nagarahalli
> >> > > >> > 9) Does anyone else facing this problem? > >Any data on x86? > > > [Wang, Yipeng] > I tried Jerin's tests on x86. So by default l3fwd on x86 will use lookup_bulk > and SIMD instruction so there is no obvious throughput drop on both hit > and miss cases (for hit case, there is about 2.

Re: [dpdk-dev] [PATCH v7 4/5] hash: add lock-free read-write concurrency

2018-11-06 Thread Wang, Yipeng1
ology China) >; nd ; tho...@monjalon.net; Yigit, Ferruh >; >hemant.agra...@nxp.com; chao...@linux.vnet.ibm.com; nd >Subject: RE: [dpdk-dev] [PATCH v7 4/5] hash: add lock-free read-write >concurrency >> > >> > 9) Does anyone else facing this problem? >Any data o

Re: [dpdk-dev] [PATCH v7 4/5] hash: add lock-free read-write concurrency

2018-11-06 Thread Jerin Jacob
w...@intel.com" > , Dharmik Thakkar , > "Gavin Hu (Arm Technology China)" , nd , > "ferruh.yi...@intel.com" , > "hemant.agra...@nxp.com" , > "chao...@linux.vnet.ibm.com" , "Kapoor, > Prasun" > Subject: Re: [dpdk-

Re: [dpdk-dev] [PATCH v7 4/5] hash: add lock-free read-write concurrency

2018-11-06 Thread Thomas Monjalon
06/11/2018 10:10, Jerin Jacob: > From: Honnappa Nagarahalli > > Jerin, thank you for running this test and all the analysis. I have not run > > this test. I was focused on simultaneous reads and writes. You can look at > > file test_hash_readwrite_lf.c to look for the kind of the use cases. > >

Re: [dpdk-dev] [PATCH v7 4/5] hash: add lock-free read-write concurrency

2018-11-06 Thread Jerin Jacob
> , Dharmik Thakkar , > "Gavin Hu (Arm Technology China)" , nd , > "tho...@monjalon.net" , "ferruh.yi...@intel.com" > , "hemant.agra...@nxp.com" > , "chao...@linux.vnet.ibm.com" > , nd > Subject: RE: [dpdk-dev] [PATCH v7 4/5]

Re: [dpdk-dev] [PATCH v7 4/5] hash: add lock-free read-write concurrency

2018-11-05 Thread Honnappa Nagarahalli
> > > > > > Add lock-free read-write concurrency. This is achieved by the > > > following changes. > > > > > > 1) Add memory ordering to avoid race conditions. The only race > > > condition that can occur is - using the key store element before > > > the key write is completed. Hence, while insert

Re: [dpdk-dev] [PATCH v7 4/5] hash: add lock-free read-write concurrency

2018-11-03 Thread Jerin Jacob
, "dharmik.thak...@arm.com" > , "gavin...@arm.com" , > "n...@arm.com" , "tho...@monjalon.net" , > "ferruh.yi...@intel.com" , > "hemant.agra...@nxp.com" > Subject: Re: [dpdk-dev] [PATCH v7 4/5] hash: add lock-free re

Re: [dpdk-dev] [PATCH v7 4/5] hash: add lock-free read-write concurrency

2018-11-03 Thread Jerin Jacob
-Original Message- > Date: Fri, 26 Oct 2018 00:37:32 -0500 > From: Honnappa Nagarahalli > To: bruce.richard...@intel.com, pablo.de.lara.gua...@intel.com > CC: dev@dpdk.org, yipeng1.w...@intel.com, honnappa.nagaraha...@arm.com, > dharmik.thak...@arm.com, gavin...@arm.com, n...@arm.com > Su