<div><p style="font-size:1rem;word-spacing:1px;margin:0in;border-color:rgb(49,49,49);color:rgb(49,49,49)" dir="auto">Hi,</p><p style="font-size:1rem;word-spacing:1px;margin:0in;border-color:rgb(49,49,49);color:rgb(49,49,49)" dir="auto"><br></p><p style="font-size:1rem;word-spacing:1px;margin:0in;border-color:rgb(49,49,49);color:rgb(49,49,49)">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).<u style="border-color:rgb(49,49,49)"></u><u style="border-color:rgb(49,49,49)"></u></p><p style="word-spacing:1px;margin:0in;border-color:rgb(49,49,49);color:rgb(49,49,49)"> <u style="border-color:rgb(49,49,49)"></u><u style="border-color:rgb(49,49,49)"></u></p><p style="font-size:1rem;word-spacing:1px;margin:0in;border-color:rgb(49,49,49);color:rgb(49,49,49)">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.<u style="border-color:rgb(49,49,49)"></u><u style="border-color:rgb(49,49,49)"></u></p><p style="word-spacing:1px;margin:0in;border-color:rgb(49,49,49);color:rgb(49,49,49)"><u style="border-color:rgb(49,49,49)"></u> <u style="border-color:rgb(49,49,49)"></u></p><p style="font-size:1rem;word-spacing:1px;margin:0in;border-color:rgb(49,49,49);color:rgb(49,49,49)">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. <u style="border-color:rgb(49,49,49)"></u><u style="border-color:rgb(49,49,49)"></u></p><p style="font-size:1rem;word-spacing:1px;margin:0in;border-color:rgb(49,49,49);color:rgb(49,49,49)">Do you have any comments about memif performance ? Are there better options over memif to share memory between two primaries ?</p><p style="font-size:1rem;word-spacing:1px;margin:0in;border-color:rgb(49,49,49);color:rgb(49,49,49)"><br></p><p style="font-size:1rem;word-spacing:1px;margin:0in;border-color:rgb(49,49,49);color:rgb(49,49,49)" dir="auto">Thanks ,</p><p style="font-size:1rem;word-spacing:1px;margin:0in;border-color:rgb(49,49,49);color:rgb(49,49,49)" dir="auto">Kiran </p>
</div>