Memory sharing between two primary processes
Kiran Khatke
kirankhatke23may at gmail.com
Mon Jun 6 15:24:28 CEST 2022
Hi Pravin,
Both are DPDK application, so want to use DPDK Share memory i.e hugepages.
How to share memory between two independent (Primary) application? Does
memif PMD allows that ?
Thanks,
Kiran
On Mon, Jun 6, 2022 at 5:58 AM Pathak, Pravin <pravin.pathak at intel.com>
wrote:
> Hi Kiran –
>
> Can your application create and manage shared memory on it own without
> using DPDK support ?
>
> Regards
>
> Pravin
>
>
>
> *From:* Kiran Khatke <kirankhatke23may at gmail.com>
> *Sent:* Monday, June 6, 2022 2:26 AM
> *To:* users at dpdk.org
> *Subject:* Memory sharing between two primary processes
>
>
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/users/attachments/20220606/57105114/attachment.htm>
More information about the users
mailing list