[dpdk-users] Multiple DPDK application instances on the same machine?
Trahe, Fiona
fiona.trahe at intel.com
Wed Oct 9 19:49:09 CEST 2019
Hi Fred,
There may be other ways, but this is what I do:
I use --file-prefix <some_unique_name> and -m <some usubset of the total huge pages>
so I can run multiple instances of the tests in parallel.
e.g.
./dpdk/app/test --file-prefix myProcess1 -m 128 (plus some other options)
./dpdk/app/test --file-prefix myProcess2 -m 128
The prefix is used to mark separate memory allocations and the -m limits the amount of memory used by the process so there's some available for other processes.
Hope this helps
Fiona
> -----Original Message-----
> From: users [mailto:users-bounces at dpdk.org] On Behalf Of Templin (US), Fred L
> Sent: Wednesday, October 9, 2019 6:07 PM
> To: users <users at dpdk.org>
> Subject: [dpdk-users] Multiple DPDK application instances on the same machine?
>
> Hi, we have a need to run multiple instances of applications that use the DPDK library on the
> same machine. We are currently working with only two instances, but can't even get that to
> work because the two seem to interfere with each other in terms of mempool creation. In
> the future, we are going to want to have many more instances of the app all running in the
> same physical/virtual machine. Is there a way to run multiple DPDK-using applications on
> the same machine?
>
> We note that there is only one /sys/kernel/mm/hugepages/ area per machine, and our
> instructions were for *each application* to set the number of hugepages. Could it be that
> there needs to be a way for the application instances to cooperatively share this area
> instead of interfering with one another?
>
> Thanks - Fred
More information about the users
mailing list