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 384FBA0C41 for ; Wed, 17 Nov 2021 14:48:10 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 109FA426EA; Wed, 17 Nov 2021 14:48:10 +0100 (CET) Received: from mail-ua1-f42.google.com (mail-ua1-f42.google.com [209.85.222.42]) by mails.dpdk.org (Postfix) with ESMTP id 28E0D41226 for ; Wed, 17 Nov 2021 14:48:09 +0100 (CET) Received: by mail-ua1-f42.google.com with SMTP id o1so6075468uap.4 for ; Wed, 17 Nov 2021 05:48:09 -0800 (PST) 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=tBBBrA+Qaj8FeSnZvfTP/XP+MlDywVpgm1lY7pRYvZ8=; b=QexQZ76CXEaCvefeqf0UPvseaVGMR+hKUZtNhO0dCeRvJFAlzZh9xoKsIxQnOzxsd6 OQwtWhvr2NR3anhkhgkL13H1s3FEDPn4ApXK3RnajK/Gri7lUnlSfaUwF98dZBkyuVUK 6pCX9ERZKZdbYFxdUOcKDKDzShyTyWc+xqbUubaUNnxmm/PZS2ZuHDZbOjFsAVPoViqM tOzaVQpfrfs9Vvo9RrTvLCIyarruAM9rKWnLP32nxf2C2FVRzW68ZGCR2lSrxtepqaG9 jix/E29ih39IulrlC1552or2ROUmQLSc6l1COX0QhVup00fxr87UIWs+o8gqhl/r1lKo LZgg== 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=tBBBrA+Qaj8FeSnZvfTP/XP+MlDywVpgm1lY7pRYvZ8=; b=ioDso3Bl5EkDnlYmmUcJkhIhsijAjiVAt6jFKLU6foVXlepNmlSoXvj0wCBfIirshN fQVtnJjAT1n86mmadYCIVKpIz3Yf1E2GmYnVS1n6j00UwZuD+iD7VihpmdzTBT8kK3bV XlysNkteNrocLV8Z+3L/FWxI31cM2eRrYDP9K5WIAzIxzOQH8lBMAPm2KvE6BKiJpQcf YEyNf9LFbHAF10P/3DyTcD6bPC82vnT3CBqCoGthgBdsi6sLooktUUluUkau7FbQox2+ gsOdtXnwqcxmrlsoytB+/j5881hVw8CICnMaKf8TMaSLAP0Wq/gu9WlSCMJr5+Fs8uWx 8cgQ== X-Gm-Message-State: AOAM5339kCXRyRGaS6afXi7l3sNjGpo5QCs0srQwVgC/vBc+0rp0As9k zC8+ZAz39KsiXy5tD7zRjthcxeQRz+JOEwS17nkFSfIAJUDkvA== X-Google-Smtp-Source: ABdhPJwES7hLUj0kv1u5rz6d1R45Fp81AmeP89TQ74RKrUWNUXpoEiiB3R7tmFibOYvT7maLKiqSdj+sE9OYd6jyuvg= X-Received: by 2002:ab0:44e:: with SMTP id 72mr23832920uav.121.1637156888351; Wed, 17 Nov 2021 05:48:08 -0800 (PST) MIME-Version: 1.0 From: Staffan Wiklund Date: Wed, 17 Nov 2021 14:47:57 +0100 Message-ID: Subject: Can the DPDK multi-process feature be used in Docker containers? To: users@dpdk.org Content-Type: multipart/alternative; boundary="000000000000c598d205d0fc4a00" 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 --000000000000c598d205d0fc4a00 Content-Type: text/plain; charset="UTF-8" Hello I wonder if it is possible to use the DPDK multi-process feature in Docker containers? That is, can a DPDK application execute in a Docker container and share its DPDK memory with another DPDK application executing in another Docker container using the DPDK multi-process feature? For example if the DPDK example mp_server executes in one Docker container: /examples/dpdk-mp_server -l 1-2 -n 4 -- -p 3 -n 2 and the DPDK example mp_client executes in another Docker container: /examples/dpdk-mp_client -l 3 -n 4 --proc-type=auto -- -n 0 Is this possible to implement? Thanks Staffan --000000000000c598d205d0fc4a00 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello

=
I wonder if it is p= ossible to use the DPDK multi-process feature in Docker containers?<= /div>

That is, can a DPDK applicat= ion execute in a Docker container and share its
DPDK memory with another DPDK applicatio= n executing in another Docker container
using the DPDK multi-process feature?
=

For example if the DPDK exa= mple mp_server executes in one Docker container:
<build_dir>/examples/dpdk-mp_server -l 1-2 -n 4 -- -p 3 -n 2

=
and the DPDK example mp_client executes in another Docke= r container:
<build_dir>/examples/dpdk-mp_client -l 3 -n 4 --proc-type=3Dauto -- -n 0

Is this =
possible to implement?

Thanks
Staffan

--000000000000c598d205d0fc4a00--