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 33B54A0542 for ; Mon, 6 Jun 2022 08:26:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0123E40A81; Mon, 6 Jun 2022 08:26:36 +0200 (CEST) Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) by mails.dpdk.org (Postfix) with ESMTP id 1697640A7F for ; Mon, 6 Jun 2022 08:26:35 +0200 (CEST) Received: by mail-qk1-f174.google.com with SMTP id br33so8518326qkb.0 for ; Sun, 05 Jun 2022 23:26:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=MWDSphTg3B3LoWWfq+ctGqoXp9e6AeRX8xtyCiV5S+w=; b=Ps0yExESxyxORVgFw9W85FewANxOorlgauGwl5i3BoIH9JoLe0tV0sE4exWrPWHUGz 8iESlAzaZQJ6vdOjxim4BkONV9MgqkIwb+jwFdBQpiA5qUPoI1f9x1WgmUyzNC9oohBQ T6HqYXQFFPYBzdeKcAkBcwVIKsz2MIpJfqHP+vpjXpy23XR8zt3UnAjcDDpmhGiydcWc xzzUBfPFAA7m5ZSlNaJV9vwzYYPcQdtuwqbReYAlsAeO5uS8bdNyDs2N91VhI5vGdQUj Srcc4/RmjUgsy++SCoqBi4GCNpdgNe8zW6C6372xcYo7ffODBNEmGZjQRxZVV0giRNt/ G3kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=MWDSphTg3B3LoWWfq+ctGqoXp9e6AeRX8xtyCiV5S+w=; b=vbMy50D69Xwj6XwwpOlm10fs87xBbuA17A2KCGInigWSXpjKQoZ3gn+eWfJXh4qitx RX2P1d7vAVTHCveUV2XSfZmDXPTp13aHrNX3P4mw3e71pzv/4FLp50yP7YC8YxMsYEF+ W2JhCfw+rkRVGlG3IXJ3EZBK9lVRARQ5jkyPpcVxJn98Lc8sqmu+7dwsMKZdT3xcO4o4 qbcWjZOzISvQwWyrXmZ+/TZ5IFBGTm3fIdr4hQdHT0QbJz90r8GZ2rJg+JooJNC/lGHn 2FLUue2S+uYDQBDJeCFRdRoquqEpQkmOeuKR/sTA+q3w1Ne60zsRzRASJyv+uCv9vM+n 7Ilw== X-Gm-Message-State: AOAM53326CI7V+WM2tQK9jg6bYg9AxHrpDEyQc3yNQaXT1m1oNVSnLkv kQs7dIuKtyyANsNDPMqVBwnuXApxqfXnx+OzYS6b5F2Q X-Google-Smtp-Source: ABdhPJyKtOKlYwpJaeE+lBdXx1Ukd2AAvWRBEY5vUCK92AIW3GRQyNFl2bfdRRPX5i0VxsGooySxhqdJpEuQRbV7M/8= X-Received: by 2002:a05:620a:1792:b0:6a6:c734:d983 with SMTP id ay18-20020a05620a179200b006a6c734d983mr462983qkb.682.1654496794224; Sun, 05 Jun 2022 23:26:34 -0700 (PDT) MIME-Version: 1.0 From: Kiran Khatke Date: Sun, 5 Jun 2022 23:26:23 -0700 Message-ID: Subject: Memory sharing between two primary processes To: users@dpdk.org Content-Type: multipart/alternative; boundary="000000000000b3abdb05e0c18d5d" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --000000000000b3abdb05e0c18d5d Content-Type: text/plain; charset="UTF-8" Hi, Per DPDK Multiprocess, we know that, it is possible to share memory(hugepages) between a primary and secondary Process. Primary process allocates the memory and that is accessible by the secondary (both are using same "--file-prefix=" parameter). There is a need in our application, to have two primary processes (started with different file-prefix) and would like to know the options - To share memory (hugepage) between two primaries and which can give us better throughputs. During exploration, got to know about memif PMD, which allows for DPDK and any other client using memif (DPDK, libmemif) to communicate over shared memory. Do you have any comments about memif performance ? Are there better options over memif to share memory between two primaries ? Thanks , Kiran --000000000000b3abdb05e0c18d5d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi,


Per DPDK Multiproces= s, we know that, it is possible to share memory(hugepages) between a primar= y and secondary Process.=C2=A0 Primary process allocates the memory and tha= t is accessible by the secondary (both are using same=C2=A0 "--file-pr= efix=3D" parameter).

=C2=A0<= /p>

There is a need in our application, to have = two primary processes (started with different file-prefix) and would like t= o know the options - To share memory (hugepage) between two primaries and w= hich can give us better throughputs.

=C2=A0

During exploration, got to know = about memif PMD, which allows for DPDK and any other client using memif (DP= DK, libmemif) to communicate over shared memory.=C2=A0

Do you have any comments about memif performance ? = Are there better options over memif to share memory between two primaries ?=


Thanks ,

Kiran=C2=A0

--000000000000b3abdb05e0c18d5d--