[dpdk-dev] [PATCH v1] hash: add tsx support for cuckoo hash

2016-06-16 Thread Shen, Wei1
Thanks Pablo for reviewing the patch. I just sent out v2 patch. It fixed those problems you found and also removed the RTE_HASH_KEY_FLAG_MOVED flag used in v1, which would cause problem when key deletion happens (current key deletion doesn?t restore keys back to its primary bucket). Now it just

[dpdk-dev] [PATCH v1] hash: add tsx support for cuckoo hash

2016-06-15 Thread De Lara Guarch, Pablo
Hi Wei, > -Original Message- > From: Shen, Wei1 > Sent: Friday, May 06, 2016 9:05 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo; Maciocco, Christian; Shen, Wei1; Gobriel, Sameh > Subject: [PATCH v1] hash: add tsx support for cuckoo hash > > Introduced Intel TSX-enabled scalable mul

[dpdk-dev] [PATCH v1] hash: add tsx support for cuckoo hash

2016-06-10 Thread De Lara Guarch, Pablo
> -Original Message- > From: Shen, Wei1 > Sent: Monday, May 09, 2016 5:52 PM > To: Stephen Hemminger > Cc: dev at dpdk.org; De Lara Guarch, Pablo; Maciocco, Christian; Gobriel, > Sameh > Subject: Re: [dpdk-dev] [PATCH v1] hash: add tsx support for cuckoo

[dpdk-dev] [PATCH v1] hash: add tsx support for cuckoo hash

2016-05-09 Thread Shen, Wei1
Hi Stephen, Greetings. Thanks for your great feedback. Let?s me address your concern here. 1) It changes ABI, so it breaks old programs The patch uses the extra_flag field in the rte_hash_parameters struct to set the default insertion behavior. Today there is only one bit used by this flag (RTE

[dpdk-dev] [PATCH v1] hash: add tsx support for cuckoo hash

2016-05-06 Thread Stephen Hemminger
On Fri, 6 May 2016 21:05:02 +0100 Shen Wei wrote: > --- a/lib/librte_hash/rte_cuckoo_hash.c > +++ b/lib/librte_hash/rte_cuckoo_hash.c > @@ -1,7 +1,7 @@ > /*- > * BSD LICENSE > * > - * Copyright(c) 2010-2015 Intel Corporation. All rights reserved. > + * Copyright(c) 2010-2016 Intel Cor

[dpdk-dev] [PATCH v1] hash: add tsx support for cuckoo hash

2016-05-06 Thread Shen Wei
Introduced Intel TSX-enabled scalable multi-writer Cuckoo hash insertion. This patch introduced scalable multi-writer Cuckoo Hash insertion based on a split Cuckoo Search and Move operation using Intel TSX. It can do scalable hash insertion with 22 cores with little performance loss and negligible