On Wed, 28 Aug 2024 15:54:27 +0000
"Medvedkin, Vladimir" <vladimir.medved...@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.

Reply via email to