Re: [dpdk-dev] [PATCH 0/4] Address reader-writer concurrency in rte_hash

2018-10-01 Thread Wang, Yipeng1
>> >> Another comment is as you know we also have a new extension to rte_hash >> to enable extendable buckets and partial-key hashing. Thanks for the >> comments btw. Could you check if your lockless scheme also applies to >> those extensions? >Thank you for reminding me on this. I thought I had co

Re: [dpdk-dev] [PATCH 0/4] Address reader-writer concurrency in rte_hash

2018-09-28 Thread Honnappa Nagarahalli
> > Hi Honnappa, > > Reply inlined: Hi Yipeng, Thank you so much for reviewing. > > >-Original Message- > > > >Currently, reader-writer concurrency problems in rte_hash are > >addressed using reader-writer locks. Use of reader-writer locks > >results in following issues: > >

Re: [dpdk-dev] [PATCH 0/4] Address reader-writer concurrency in rte_hash

2018-09-27 Thread Wang, Yipeng1
Hi Honnappa, Reply inlined: >-Original Message- > >Currently, reader-writer concurrency problems in rte_hash are >addressed using reader-writer locks. Use of reader-writer locks >results in following issues: > >1) In many of the use cases for the hash table, writer threads

Re: [dpdk-dev] [PATCH 0/4] Address reader-writer concurrency in rte_hash

2018-09-26 Thread Honnappa Nagarahalli
Hi Bruce/Pablo, I need to get this into 18.11, appreciate any review/feedback soon. Thank you, Honnappa > -Original Message- > From: Honnappa Nagarahalli > Sent: Friday, September 14, 2018 4:19 PM > To: Honnappa Nagarahalli ; > bruce.richard...@intel.com; pablo.de.lara.gua...@intel.co

Re: [dpdk-dev] [PATCH 0/4] Address reader-writer concurrency in rte_hash

2018-09-14 Thread Honnappa Nagarahalli
I have added the memory ordering ladder diagrams to the DPDK summit slides to help understand the changes. The slides are available at: https://dpdkuserspace2018.sched.com/event/G44w/lock-free-read-write-concurrency-in-rtehash. Please look at the backup slides. Thank you, Honnappa -Origina

[dpdk-dev] [PATCH 0/4] Address reader-writer concurrency in rte_hash

2018-09-06 Thread Honnappa Nagarahalli
Currently, reader-writer concurrency problems in rte_hash are addressed using reader-writer locks. Use of reader-writer locks results in following issues: 1) In many of the use cases for the hash table, writer threads are running on control plane. If the writer is preemp