From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id AEC8345882; Wed, 28 Aug 2024 08:56:58 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7E5B640285; Wed, 28 Aug 2024 08:56:58 +0200 (CEST) Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) by mails.dpdk.org (Postfix) with ESMTP id 44E9040E1B for ; Tue, 27 Aug 2024 17:57:15 +0200 (CEST) Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-5befd2f35bfso6247288a12.2 for ; Tue, 27 Aug 2024 08:57:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724774235; x=1725379035; darn=dpdk.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=EuY+rAXa3RwlSYF89tlG77nx4JTo+TEob55v+ghtf+8=; b=ZVqrn+hgQ/ohnE4DWlpwnQ3t3bTS+80ZxeRhpYr6o6Ugli4D22cbXiZyQspWGe1yRd AAdJnF6heFxT9wdTxg0jCHd5c+YWDjDaJ7q+pyulKJYvi0AQ9dcW5a9Qxg7mw4dO1R0F C2/yT1pt3vq+cvllApfYRwW2EzN6GwD7DcukCARhW3X7GncZO/K2vk1O1eWYqy90Hryf 3o+HIIBO7yfGWU94ujTFyceFci5TgMjMsxT2FTDoQKsSU8yiIAmN14UAPI32YCSuTZVD YbDzS+XFT9NcL3KgTFyrDioQvExxBjQIZk70VjRqJ/FsWSV8N0XkJIOgA08LNAGencBW JVMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724774235; x=1725379035; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EuY+rAXa3RwlSYF89tlG77nx4JTo+TEob55v+ghtf+8=; b=KiKQDpgTQE8lkhq8LKV2o7uCLV1aVp4NpYHRMPf3iQSAr+ZlKkRQE/NuoUXJ0Kllgw tbpCqbK/OWxr/NG+r7PCzCgoTfVOkHsEw5WVtoFuzswhkM8H6EAZF0jaVM6fgvh+VyDB oxWgPa9d5DrW0L9hMf2yl4EmvTXlED9r5OYoTZakG6Y3zQqm4nfQ3PR79eVAW4mjy6cw xmb+eJ4HsbOoIva0mvYkIpTjPD2V6GCmg/WSbP7ZY8fF0n9U0tzOxjto3ZTNgTnsdSrN rJNikCi2z0PRHCMH7iGhfCrDg8tD2+sNjgrWGgI7ZxSWxToXfXYL68MBxKesHZkqPAfw SBMA== X-Forwarded-Encrypted: i=1; AJvYcCX/4Dvyin7J9uhVs6NZKwhfqNr2sJkS62nt0E0UyY9+SnPSfE43P78Mann4UWbvINrToEY=@dpdk.org X-Gm-Message-State: AOJu0YzjI84gfBhrhyo8EKSz5MRKnnzmsvp5qrsk1iVrBw1bJiJOx/ZM 0EnKf/CMR0XCyhT8obH7r2jwewgPFIjcM2eexqWpIrY0GqNBU7OTrzL6J/PeCrr6i/KrPPY2/4B vJGebh9NqlBg6Hy5Bk72WawDDQoT+YAcC X-Google-Smtp-Source: AGHT+IEGc750Mdhq+8MyYxF893bqyY4M6JOJ+ut6zlbrfAvhnJnNsdTDUv0+144TmMnezSksYTSE7GgkDcNIGIw4Rp0= X-Received: by 2002:a05:6402:1d49:b0:5c0:ad76:f70e with SMTP id 4fb4d7f45d1cf-5c0ad76f96dmr4812065a12.6.1724774234328; Tue, 27 Aug 2024 08:57:14 -0700 (PDT) MIME-Version: 1.0 References: <18c7afe0-3fc0-4d4d-807f-57870197c32d@amd.com> In-Reply-To: From: rajesh goel Date: Tue, 27 Aug 2024 21:27:01 +0530 Message-ID: Subject: Re: Bihash Support in DPDK To: "Medvedkin, Vladimir" Cc: Ferruh Yigit , "Wang, Yipeng1" , "Gobriel, Sameh" , "Richardson, Bruce" , dev@dpdk.org Content-Type: multipart/alternative; boundary="0000000000008e16a30620ac4b55" X-Mailman-Approved-At: Wed, 28 Aug 2024 08:56:56 +0200 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --0000000000008e16a30620ac4b55 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Tue, 27 Aug, 2024, 14:44 Medvedkin, Vladimir, < vladimir.medvedkin@intel.com> wrote: > Hi Rajesh, > > > > Please clarify what do you mean by =E2=80=9Cbihash=E2=80=9D? Bidirectiona= l? Bounded index? > > > > As for concurrent lookup/updates, yes, DPDK hash table supports > multi-process/multi-thread, please see the documentation: > > https://doc.dpdk.org/guides/prog_guide/hash_lib.html#multi-process-suppor= t > > > > > > *From:* rajesh goel > *Sent:* Tuesday, August 27, 2024 7:04 AM > *To:* Ferruh Yigit > *Cc:* Wang, Yipeng1 ; Gobriel, Sameh < > sameh.gobriel@intel.com>; Richardson, Bruce ; > Medvedkin, Vladimir ; dev@dpdk.org > *Subject:* Re: Bihash Support in DPDK > > > > Hi All, > > Can we get some reply. > > > > Thanks > > Rajesh > > > > On Thu, Aug 22, 2024 at 9:32=E2=80=AFPM Ferruh Yigit wrote: > > On 8/22/2024 8:51 AM, rajesh goel wrote: > > Hi All, > > Need info if DPDK hash library supports bihash table where for multi- > > thread and multi-process we can update/del/lookup entries per bucket > level. > > > > > > + hash library maintainers. > > --0000000000008e16a30620ac4b55 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks for the reply.

Bihash I mean bounded index what Vpp supports.
<= br>
Iam looking for the bucket level lock support. Current= ly 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 mul= tiple cores to read the value wrote in this hash table. Multiple readers ar= e getting blocked due to this. I want to avoid this to increase performance= .=C2=A0

Let=C2=A0me know= your thoughts on this.

= Regards=C2=A0
Rajesh

On Tue, 27 Aug= , 2024, 14:44 Medvedkin, Vladimir, <vladimir.medvedkin@intel.com> wrote:

Hi Rajesh,

=C2=A0

Please clarify what= do you mean by =E2=80=9Cbihash=E2=80=9D? Bidirectional? Bounded index?<= /u>

=C2=A0

As for concurrent l= ookup/updates, yes, DPDK hash table supports multi-process/multi-thread, pl= ease see the documentation:

https://doc.dpdk.org/guides/prog_guide/hash_= lib.html#multi-process-support

=C2=A0

=C2=A0

From: = rajesh goel <rgoel.bangalore@gmail.com>
Sent: Tuesday, August 27, 2024 7:04 AM
To: Ferruh Yigit <ferruh.yigit@amd.com>
Cc: Wang, Yipeng1 <yipeng1.wang@intel.com>; Gobriel, S= ameh <sameh.gobriel@intel.com>; Richardson, Bruce <bruce.richardson@intel.com>; Medvedkin, Vladimir <v= ladimir.medvedkin@intel.com>; dev@dpdk.org
Subject: Re: Bihash Support in DPDK

=C2=A0

Hi All,

Can we get some reply.

=C2=A0

Thanks

Rajesh

=C2=A0

On Thu, Aug 22, 2024 at 9:32=E2=80=AFPM Ferruh Yigit <ferr= uh.yigit@amd.com> wrote:

On 8/22/2024 8:51 AM, rajesh goel wrote:
> Hi All,
> Need info if DPDK hash library supports bihash table where for multi-<= br> > thread and multi-process we can update/del/lookup entries per bucket l= evel.
>
>

+ hash library maintainers.

--0000000000008e16a30620ac4b55--