Bihash Support in DPDK
rajesh goel
rgoel.bangalore at gmail.com
Thu Aug 29 07:48:35 CEST 2024
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 at networkplumber.org> wrote:
> On Wed, 28 Aug 2024 15:54:27 +0000
> "Medvedkin, Vladimir" <vladimir.medvedkin at 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20240829/e27ff29d/attachment.htm>
More information about the dev
mailing list