I tried to run two applications on one server, when I run the second application, the following error will be reported:
Cannot create lock on 'var/run/dpdk/rte/config'.
How should I solve this problem so that I can run multiple DPDK programs at the same time?
That's done with the EAL parameter --file-prefix
.
You'd run one program with --file-prefix <prefix 1>
and the second one with --file-prefix <prefix 2>
(any unique names will do). Since it's an EAL parameter, make sure that it gets passed to the program before the --
parameter separator.