Thanks Stephen , Vladimir,
Let me explore DPDK RCU more, if it helps my application.

Will get back with my results.

Regards.
Rajesh

On Wed, Aug 28, 2024 at 10:53 PM Stephen Hemminger <stephen@networkplumber.org> wrote:
On Wed, 28 Aug 2024 15:54:27 +0000
"Medvedkin, Vladimir" <vladimir.medvedkin@intel.com> wrote:

> Thanks for the reply.
>
> Bihash I mean bounded index what Vpp supports.
>
> Iam looking for the bucket level lock support. Currently Iam using hash table shared by multiple process or multiple core/threads. So I have to take the write lock by single core and then read lock by multiple cores to read the value wrote in this hash table. Multiple readers are getting blocked due to this. I want to avoid this to increase performance.
>
> Let me know your thoughts on this.
>
> Regards
> Rajesh

RCU is always faster than reader/writer locks.
Reader/Writer locks are slower than simple spin lock unless reader holds for a long time.