Fastest and easiest method to share mem between two DPDK processes

Antonio Di Bacco a.dibacco.ks at gmail.com
Mon Apr 4 21:48:44 CEST 2022


Il giorno lun 4 apr 2022 alle ore 18:10 Dmitry Kozlyuk <
dmitry.kozliuk at gmail.com> ha scritto:

> 2022-04-04 16:04 (UTC+0200), Antonio Di Bacco:
> > I have a Primary (Pa) and a secondary (Sa). Pa allocates memory that
> shares
> > with Sa.
> > Now I also have another Primary (Pb). I need to allocate some memory in
> Pa
> > or Sa that has to be shared with (Pb) or the reverse. Is this a feasible
> > configuration?
>
> Please tell more about the use case.
> Do you want to share an arbitrary block or part of DPDK memory?
> What the shared memory contains and how it will be used w.r.t. DPDK?
>

The memory will contain some signal samples, we would like the samples to
be on a hugepage (1GB) shared between Sa and Pb.
Sa will write and Pb will read.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/users/attachments/20220404/dff4dc6b/attachment.htm>


More information about the users mailing list