DPDK usage discussions
 help / color / mirror / Atom feed
* Best practice to share memory between two DPDK processes in different docker containers
@ 2022-04-14 19:56 Antonio Di Bacco
  2022-04-15 14:52 ` Cliff Burdick
  0 siblings, 1 reply; 2+ messages in thread
From: Antonio Di Bacco @ 2022-04-14 19:56 UTC (permalink / raw)
  To: users

[-- Attachment #1: Type: text/plain, Size: 369 bytes --]

I imagine that there should be a way of sharing memory between two DPDK
processes running in different docker containers. Probably the two DPDK
processes could mmap the same hugepage? Probably we could pass pid and fd
from one process to the other and (bypassing pid namespaces) be able to
mmap the same memory?
I wonder if DPDK architects thought about this scenario.

[-- Attachment #2: Type: text/html, Size: 436 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Best practice to share memory between two DPDK processes in different docker containers
  2022-04-14 19:56 Best practice to share memory between two DPDK processes in different docker containers Antonio Di Bacco
@ 2022-04-15 14:52 ` Cliff Burdick
  0 siblings, 0 replies; 2+ messages in thread
From: Cliff Burdick @ 2022-04-15 14:52 UTC (permalink / raw)
  To: Antonio Di Bacco; +Cc: users

[-- Attachment #1: Type: text/plain, Size: 568 bytes --]

Hi Antonio, see this discussion:

http://mails.dpdk.org/archives/users/2021-November/006014.html

On Thu, Apr 14, 2022 at 12:57 PM Antonio Di Bacco <a.dibacco.ks@gmail.com>
wrote:

> I imagine that there should be a way of sharing memory between two DPDK
> processes running in different docker containers. Probably the two DPDK
> processes could mmap the same hugepage? Probably we could pass pid and fd
> from one process to the other and (bypassing pid namespaces) be able to
> mmap the same memory?
> I wonder if DPDK architects thought about this scenario.
>
>
>

[-- Attachment #2: Type: text/html, Size: 1020 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-15 14:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-14 19:56 Best practice to share memory between two DPDK processes in different docker containers Antonio Di Bacco
2022-04-15 14:52 ` Cliff Burdick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).